Re: [Observium] VLANs and fdb-table on Cisco devices
![](https://secure.gravatar.com/avatar/58fe1006a3a31a1045bad4db389dc366.jpg?s=120&d=mm&r=g)
Hi,
Please find it in attached file. With this debug on vlans module, i think there is my error :
STDERR[ add_mibdir: strings scanned in from /var/www/observium/mibs/cisco/.index are too large. count = 703 MIB search path: /var/www/observium/mibs/rfc:/var/www/observium/mibs/net-snmp:/var/www/observium/mibs/cisco Cannot find module (CISCO-VTP-MIB): At line 0 in (none) vtpVersion.0: Unknown Object Identifier (Sub-id not found: (top) -> vtpVersion) ] SNMP STATUS[FALSE] SNMP ERROR[#997 - Wrong .index in mibs dir] Don't really know how to solve this....
Thanks in advance for your help.
Rds,
Tarik. 28 juillet 2018 07:51 "Mike Stupalov" <mike@stupalov.ru (mailto:%22Mike%20Stupalov%22%20mike@stupalov.ru)> a écrit: Hi,
please attach debug for discovery:
./discovery.php -d -m ports,vlans -h <device> todevnull@free.fr (mailto:todevnull@free.fr) 27 July 2018 at 15:13
Hello,
Since the last svn update 9352 i loose the VLANs button and fdb-table content on every of my Cisco Catalyst switches :-/ More of that, the Dot1q tag disappear on switch ports :(
Version Information Observium 18.7.9337 (18th July 2018) OS Linux 4.9.0-6-amd64 [amd64] (Debian 9.5) Apache 2.4.25 (Debian) PHP 7.0.30-0+deb9u1 (OPcache: ENABLED) Python 2.7.13 MySQL 10.1.26-MariaDB-0+deb9u1 (extension: mysqli 5.0.12-dev) SNMP NET-SNMP 5.7.3 RRDtool 1.6.0 Fping 3.15 (IPv4 and IPv6) See below some debug lines :
##### Cisco configuration ages #####
o sysUptime 2017-10-19 16:29:18 | 280 days, 21h 41m 24s o Running 2018-05-03 15:24:42 | 84 days, 22h 46m o Saved 2018-07-25 09:02:04 | 2 days, 5h 8m 38s o Startup 2018-05-03 14:43:02 | 84 days, 23h 27m 40s
o Module time 0.0446s including: includes/polling/fdb-table.inc.php ##### Module Start: fdb-table ##### SQL[SELECT `ifIndex`,`port_id`,`port_label_short` FROM `ports` WHERE `device_id` = '174'] SQL RUNTIME[0.00056696s]
SQL[SELECT * FROM `vlans_fdb` WHERE `device_id` = '174'] SQL RUNTIME[0.00038600s]
CMD[/usr/bin/snmpbulkwalk -Cr'100' -t '3' -r '3' -v2c -c *** -Pu -OQUs -m BRIDGE-MIB -M /var/www/observium/mibs/rfc:/var/www/observium/mibs/net-snmp 'udp':'2.100.79.11':'161' dot1dBasePortIfIndex]
CMD EXITCODE[0] CMD RUNTIME[0.0906s] STDOUT[ dot1dBasePortIfIndex.1 = 10001 dot1dBasePortIfIndex.2 = 10002 dot1dBasePortIfIndex.3 = 10003 dot1dBasePortIfIndex.4 = 10004 dot1dBasePortIfIndex.5 = 10005 dot1dBasePortIfIndex.6 = 10006 dot1dBasePortIfIndex.7 = 10007 dot1dBasePortIfIndex.8 = 10008 dot1dBasePortIfIndex.9 = 10009 dot1dBasePortIfIndex.10 = 10010 dot1dBasePortIfIndex.11 = 10011 dot1dBasePortIfIndex.12 = 10012 dot1dBasePortIfIndex.13 = 10013 dot1dBasePortIfIndex.14 = 10014 dot1dBasePortIfIndex.15 = 10015 dot1dBasePortIfIndex.16 = 10016 dot1dBasePortIfIndex.17 = 10017 dot1dBasePortIfIndex.18 = 10018 dot1dBasePortIfIndex.19 = 10019 dot1dBasePortIfIndex.20 = 10020 dot1dBasePortIfIndex.21 = 10021 dot1dBasePortIfIndex.22 = 10022 dot1dBasePortIfIndex.25 = 10101 dot1dBasePortIfIndex.26 = 10102 ] SNMP STATUS[TRUE]
SQL[SELECT `vlan_vlan` FROM `vlans` WHERE (`vlan_status` = 'active' OR `vlan_status` = 'operational') AND `device_id` = '174'] SQL RUNTIME[0.00066495s]
o Module time 0.0955s
##### 2.100.79.11 [174] completed poller modules at 2018-07-27 14:10:43 #####
o Graphs [checked] availability, ping, ping_snmp, uptime, fdb_count o Poller time 0.3765 seconds Updating 2.100.79.11 -
$update_array /var/www/observium/includes/polling/functions.inc.php:792
array( [uptime] => int(110170029) [last_polled] => array( [0] => string(5) "NOW()" ) [last_polled_timetaken] => double(0.3765) ) SQL[UPDATE `devices` set `uptime` ='110170029',`last_polled` =NOW(),`last_polled_timetaken` ='0.3765' WHERE `device_id` = '174'] SQL RUNTIME[0.00097919s] o Updated Data uptime, last_polled, last_polled_timetaken SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '10969' AND `process_name` = 'poller.php' AND `device_id` = '174'] SQL RUNTIME[0.00824499s] ./poller.php: 2.100.79.11 - 1 devices polled in 0.557 secs ##### Completed polling run at 2018-07-27 14:10:43 #####
NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output. o Devices Polled 1 o Poller Time 0.557 secs o Memory usage 14MB (peak: 14MB) o MySQL Usage Insert[1/0.001s] Update[1/0.001s] Delete[1/0.009s] Cell[4/0.002s] Row[8/0.005s] Rows[13/0.008s] Col[0/0s] (0.025s 4.512%) o RRDTool Usage update[4/0.005s] (0.005s 0.891%) o SNMP Usage snmpget[7/0.209s] snmpwalk[1/0.091s] (0.3s 53.803%) _______________________________________________ observium mailing list observium@observium.org (mailto:observium@observium.org) http://postman.memetic.org/cgi-bin/mailman/listinfo/observium (http://postman.memetic.org/cgi-bin/mailman/listinfo/observium) -- Mike Stupalov https://stupalov.com (https://stupalov.com)
participants (1)
-
todevnull@free.fr