done I received:
root@VRTVW26078:/opt/observium# rm mibs/*/.index rm: cannot remove 'mibs/*/.index': No such file or directory
st 21. 11. 2018 v 19:06 odesílatel Adam Armstrong via observium < observium@observium.org> napsal:
This is a very annoying net-snmp bug.
do :
rm mibs/*/.index
adam.
On 2018-11-21 18:01:12, Jan Horacek via observium observium@observium.org wrote: DEBUG!
CMD[/usr/bin/svn info /opt/observium]
CMD EXITCODE[0] CMD RUNTIME[0.0061s] CMD EXITDELAY[10ms] STDOUT[ Path: . Working Copy Root Path: /opt/observium URL: http://svn.observium.org/svn/observium/branches/stable Relative URL: ^/observium/branches/stable Repository Root: http://svn.observium.org/svn Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8 Revision: 9627 Node Kind: directory Schedule: normal Last Changed Author: adama Last Changed Rev: 9472 Last Changed Date: 2018-10-16 17:14:11 +0200 (Tue, 16 Oct 2018)
]
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00031877s]
SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00018477s]
SQL[SET SESSION `sql_mode` = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'] SQL RUNTIME[0.00017095s] DB mode(s) disabled: STRICT_TRANS_TABLES, ONLY_FULL_GROUP_BY
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00025916s]
SQL[SELECT * FROM `config`] SQL RUNTIME[0.00027990s]
/ _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_| Observium Professional 18.10.9472 http://www.observium.org
CMD[/opt/observium/scripts/distro]
CMD EXITCODE[0] CMD RUNTIME[0.0293s] STDOUT[ Linux|4.4.0-137-generic|amd64|Ubuntu|16.04|vmware| ]
CMD[/usr/bin/env python --version 2>&1]
CMD EXITCODE[0] CMD RUNTIME[0.0019s] STDOUT[ Python 2.7.12 ]
SQL[SELECT version();] SQL RUNTIME[0.00034499s]
CMD[/usr/bin/snmpget --version 2>&1]
CMD EXITCODE[0] CMD RUNTIME[0.0018s] STDOUT[ NET-SNMP version: 5.7.3 ]
CMD[/usr/bin/rrdtool --version | head -n1]
CMD EXITCODE[0] CMD RUNTIME[0.0102s] STDOUT[ RRDtool 1.5.5 Copyright by Tobias Oetiker tobi@oetiker.ch ]
CMD[/usr/bin/fping -v 2>&1]
CMD EXITCODE[0] CMD RUNTIME[0.0018s] STDOUT[ /usr/bin/fping: Version 3.13 /usr/bin/fping: comments to david@schweikert.ch ]
CMD[/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}']
CMD EXITCODE[0] CMD RUNTIME[0.0306s] STDOUT[ Apache/2.4.18 ]
CMD[date "+%:z"]
CMD EXITCODE[0] CMD RUNTIME[0.0063s] CMD EXITDELAY[10ms] STDOUT[ +01:00 ]
SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00054312s]
SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00023198s]
SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.07832909s]
##### Software versions #####
o OS Linux 4.4.0-137-generic [amd64] (Ubuntu 16.04) o Apache 2.4.18 o PHP 7.0.32-0ubuntu0.16.04.1 (OPcache: DISABLED) o Python 2.7.12 o MySQL 5.7.22-0ubuntu0.16.04.1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.3 o RRDtool 1.5.5 o Fping 3.13 (IPv4 and IPv6)
##### Memory Limit #####
o PHP Unlimited
##### MySQL mode #####
o MySQL NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
##### Charset info #####
o PHP UTF-8 o MySQL utf8
##### Timezones info #####
o Date Wednesday, 21-Nov-18 18:59:50 CET o PHP +01:00 o MySQL +01:00
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00031805s]
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00023293s] ##### Starting discovery run at 2018-11-21 18:59:50 #####
SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'bng-146-xxpe-002' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00067520s]
CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n ***AES' -X *** -a *** -A *** -u *** -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bng-146-xxpe-002':'161' sysObjectID.0 sysUpTime.0]
CMD EXITCODE[0] CMD RUNTIME[0.4681s] STDOUT[ sysObjectID.0 = enterprises.9.1.1018 sysUpTime.0 = 102:19:48:48.16 ] SNMP STATUS[TRUE]
SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '348'] SQL RUNTIME[0.00061393s]
SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '348'] SQL RUNTIME[0.00033307s]
SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('30440','discovery.php','52073','0','php ./discovery.php -h bng-146-xxpe-002 -m cisco-cbqos -d','1542823190','348')] SQL RUNTIME[0.00872397s] ##### bng-146-xxpe-002 [348] #####
o OS Type iosxr o OS Group cisco o SNMP Version v3 o Last discovery 2018-11-21 18:57:45 o Last duration 313.08 seconds
##### Module Start: cisco-cbqos #####
SQL[SELECT * FROM `ports_cbqos` WHERE `device_id` = '348'] SQL RUNTIME[0.00066710s]
CMD[/usr/bin/snmpbulkwalk -v3 -l 'authPriv' -n ***AES' -X *** -a *** -A *** -u *** -Pu -OQUs -m CISCO-CLASS-BASED-QOS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco 'udp':'bng-146-xxpe-002':'161' cbQosIfType]
CMD EXITCODE[1] CMD RUNTIME[0.0371s] STDOUT[
] STDERR[ add_mibdir: strings scanned in from /opt/observium/mibs/rfc/.index are too large. count = 403 add_mibdir: strings scanned in from /opt/observium/mibs/cisco/.index are too large. count = 870 MIB search path: /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco Cannot find module (CISCO-CLASS-BASED-QOS-MIB): At line 0 in (none) cbQosIfType: Unknown Object Identifier (Sub-id not found: (top) -> cbQosIfType) ] SNMP STATUS[FALSE] SNMP ERROR[#997 - Wrong .index in mibs dir] QoS not configured.
o Duration 0.0402s
SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.0504',`force_discovery` ='0' WHERE `device_id` = '348'] SQL RUNTIME[0.00410295s] ##### bng-146-xxpe-002 [348] completed discovery modules at 2018-11-21 18:59:51 #####
o Discovery time 0.0504 seconds
SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '30440' AND `process_name` = 'discovery.php' AND `device_id` = '348'] SQL RUNTIME[0.00544000s] ##### Finished discovery run at 2018-11-21 18:59:51 #####
./discovery.php: bng-146-xxpe-002 - 1 devices discovered in 0.714 secs
SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1542808790'] SQL RUNTIME[0.00029111s]
SQL[DELETE FROM `observium_processes` WHERE `process_id` = '13596607'] SQL RUNTIME[0.00557184s] Removed stale process entry from DB (cmd: 'php /opt/observium/discovery.php -h all', PID: '107155')
st 21. 11. 2018 v 18:58 odesílatel Adam Armstrong via observium < observium@observium.org> napsal:
That message is shown when cbQosIfType is empty.
Show the output of :
./discovery.php -h <host> -m cisco-cbqos -d
adam.
On 2018-11-21 17:40:59, Jan Horacek via observium < observium@observium.org> wrote: sure
[image: image.png]
and new error appear:
root@VRTVW26078:/opt/observium# ./discovery.php -m cisco-cbqos -h bng-146-xxpe-001
/ _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_| Observium Professional 18.10.9472 http://www.observium.org
##### Starting discovery run at 2018-11-21 18:36:41 #####
##### bng-146-xxpe-001 [78] #####
o OS Type iosxr o OS Group cisco o SNMP Version v3 o Last discovery 2018-11-21 13:52:25 o Last duration 275.86 seconds
##### Module Start: cisco-cbqos #####
QoS not configured.
o Duration 0.0391s
##### bng-146-xxpe-001 [78] completed discovery modules at 2018-11-21 18:36:41 #####
o Discovery time 0.043 seconds
##### Finished discovery run at 2018-11-21 18:36:41 #####
o Devices Discovered 1 o Discovery Time 0.523 secs o Memory usage 12MB (peak: 14MB) o MySQL Usage Cell[1/0s] Row[4/0.001s] Rows[6/0.003s] Column[0/0s] Update[1/0.003s] Insert[1/0.003s] Delete[1/0.003s] o RRDTool Usage root@VRTVW26078:/opt/observium# ./discovery.php -m cisco-cbqos -h ams-066-xxpe-001
/ _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_| Observium Professional 18.10.9472 http://www.observium.org
##### Starting discovery run at 2018-11-21 18:38:07 #####
##### ams-066-xxpe-001 [77] #####
o OS Type iosxr o OS Group cisco o SNMP Version v3 o Last discovery 2018-11-21 18:34:25 o Last duration 18.58 seconds
##### Module Start: cisco-cbqos #####
QoS not configured.
o Duration 0.0394s
##### ams-066-xxpe-001 [77] completed discovery modules at 2018-11-21 18:38:08 #####
o Discovery time 0.0458 seconds
I already updated observium to the newest version, but is still stuck on the 9472 even svn update is telling me that revision 9627, but observium shows 9472.
Thanks
Jan
st 21. 11. 2018 v 18:28 odesílatel Adam Armstrong via observium < observium@observium.org> napsal:
A screenshot would be useful :)
adam.
On 2018-11-21 17:25:04, Jan Horacek via observium < observium@observium.org> wrote: Hi guys,
I don`t know what`s happened but observium stopped shows flags like CBQOS and if I search for it I don`t see any port marked as CBQOS. nor IPv4, etc...
If I`ll do discovery or poller for module cisco-cbqos I`m receiving data from device, just webinterface doesn`t show them.
Do you know where could be an issue and how to fix?
Thanks
Jan _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium