Here you go. There should be 2 active wan ports and 6 active lan ports. Thanks for the help.
root@tcgobs /opt/observium# ./discovery.php -h 10.130.18.243 -m ports -d MIB search path: /opt/observium/mibs Cannot find module (LM-SENSORS-MIB): At line 0 in (none) DEBUG!
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00033617s]
SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00010300s]
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00016403s]
SQL[SELECT * FROM `config`] SQL RUNTIME[0.00006700s]
CMD[/bin/hostname -f]
CMD EXITCODE[0] CMD RUNTIME[0.0018s] STDOUT[ tcgobs ]
___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_| Observium Community Edition 17.9.0 http://www.observium.org
CMD[/opt/observium/scripts/distro]
CMD EXITCODE[0] CMD RUNTIME[0.7796s] STDOUT[ Linux|4.9.0-8-amd64|amd64|Debian|9.4|vmware ]
CMD[/usr/bin/env python --version 2>&1]
CMD EXITCODE[0] CMD RUNTIME[0.0336s] STDOUT[ Python 2.7.13 ]
SQL[SELECT version();] SQL RUNTIME[0.01483703s]
CMD[/usr/bin/snmpget --version 2>&1]
CMD EXITCODE[0] CMD RUNTIME[0.0025s] STDOUT[ NET-SNMP version: 5.7.3 ]
CMD[/usr/bin/rrdtool --version | head -n1]
CMD EXITCODE[0] CMD RUNTIME[0.0091s] STDOUT[ RRDtool 1.6.0 Copyright by Tobias Oetiker tobi@oetiker.ch ]
CMD[/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}']
CMD EXITCODE[0] CMD RUNTIME[0.0868s] STDOUT[ Apache/2.4.25 ]
CMD[date "+%:z"]
CMD EXITCODE[0] CMD RUNTIME[0.0015s] STDOUT[ -05:00 ]
SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00026488s]
SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00011492s]
SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.16797900s]
##### Software versions #####
o OS Linux 4.9.0-8-amd64 [amd64] (Debian 9.4) o Apache 2.4.25 o PHP 7.0.30-0+deb9u1 (OPcache: DISABLED) o Python 2.7.13 o MySQL 10.1.26-MariaDB-0+deb9u1 (extension: mysqli 5.0.12-dev) o SNMP NET-SNMP 5.7.3 o RRDtool 1.6.0
##### Memory Limit #####
o PHP 128B
##### MySQL mode #####
o MySQL NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
##### Charset info #####
o PHP UTF-8 o MySQL utf8
##### Timezones info #####
o Date Friday, 09-Nov-18 08:26:54 EST o PHP -05:00 o MySQL +00:00
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00023699s]
SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00015402s] ##### Starting discovery run at 2018-11-09 08:26:54 #####
SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE '10.130.18.243' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.05328798s]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' sysObjectID.0 sysUpTime.0]
CMD EXITCODE[0] CMD RUNTIME[0.0056s] STDOUT[ sysObjectID.0 = enterprises.23695 sysUpTime.0 = 79167547 ] SNMP STATUS[TRUE]
SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '1'] SQL RUNTIME[0.00008512s]
SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '1'] SQL RUNTIME[0.00024390s]
CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 14491]
CMD EXITCODE[0] CMD RUNTIME[0.0083s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 14491 12148 0 0 pts/0 S+ 00:00:00 Fri Nov 9 08:26:53 2018 php ./discovery.php -h 10.130.18.243 -m ports -d ]
SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('14491','discovery.php','12148','0','php ./discovery.php -h 10.130.18.243 -m ports -d','1541770013','1')] SQL RUNTIME[0.00176311s] ##### 10.130.18.243 [1] #####
CMD[/usr/bin/snmpget -v2c -c *** -Pu -Ovq -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' sysDescr.0]
CMD EXITCODE[0] CMD RUNTIME[0.0051s] STDOUT[ Peplink Balance Series ] SNMP STATUS[TRUE]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -Ovqn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' sysObjectID.0]
CMD EXITCODE[0] CMD RUNTIME[0.005s] STDOUT[ .1.3.6.1.4.1.23695 ] SNMP STATUS[TRUE] +-------------+------------------------+ | OID | | +-------------+------------------------+ | sysDescr | Peplink Balance Series | | sysObjectID | .1.3.6.1.4.1.23695 | +-------------+------------------------+
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUvs -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'10.130.18.243':'161' deviceType.0]
CMD EXITCODE[0] CMD RUNTIME[0.0236s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUvs -m WOWZA-STREAMING-ENGINE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/wowza 'udp':'10.130.18.243':'161' serverCounterGetVersion.1]
CMD EXITCODE[0] CMD RUNTIME[0.0505s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUvs -m BETTER-NETWORKS-ETHERNETBOX-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/messpc 'udp':'10.130.18.243':'161' version.0]
CMD EXITCODE[0] CMD RUNTIME[0.0299s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUvs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' prtGeneralServicePerson.1]
CMD EXITCODE[0] CMD RUNTIME[0.0646s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUvs -m NSCRTV-ROOT -M /opt/observium/mibs 'udp':'10.130.18.243':'161' commonDeviceVendorInfo.1]
CMD EXITCODE[0] CMD RUNTIME[0.0138s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] Including freebsd.inc.php Including linux.inc.php Including solaris.inc.php Including nxp-mqx-rtcs.inc.php Including broadcom.inc.php o OS Type generic o OS Group unix o SNMP Version v2c o Last discovery 2018-11-09 12:33:07 o Last duration 0.55 seconds
##### Module Start: ports #####
o Caching OIDs ifDescr CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' ifDescr]
CMD EXITCODE[0] CMD RUNTIME[0.0069s] STDOUT[ ifDescr.1 = LAN ifDescr.2 = WAN 1 ifDescr.3 = WAN 2 ifDescr.4 = WAN 3 ifDescr.7 = CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE - CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE ] SNMP STATUS[TRUE] ifAlias CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' ifAlias]
CMD EXITCODE[0] CMD RUNTIME[0.0067s] STDOUT[ ifAlias.1 = ifAlias.2 = ifAlias.3 = ifAlias.4 = ifAlias.7 = ] SNMP STATUS[TRUE] ifName CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' ifName]
CMD EXITCODE[0] CMD RUNTIME[0.0067s] STDOUT[ ifName.1 = LAN ifName.2 = WAN 1 ifName.3 = WAN 2 ifName.4 = WAN 3 ifName.7 = CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE - CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE ] SNMP STATUS[TRUE] ifType CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' ifType]
CMD EXITCODE[0] CMD RUNTIME[0.0066s] STDOUT[ ifType.1 = ethernetCsmacd ifType.2 = ethernetCsmacd ifType.3 = ethernetCsmacd ifType.4 = ethernetCsmacd ifType.7 = other ] SNMP STATUS[TRUE] ifOperStatus CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.130.18.243':'161' ifOperStatus]
CMD EXITCODE[0] CMD RUNTIME[0.0066s] STDOUT[ ifOperStatus.1 = up ifOperStatus.2 = up ifOperStatus.3 = up ifOperStatus.4 = down ifOperStatus.7 = up ] SNMP STATUS[TRUE]
SQL[SELECT * FROM `observium_attribs`] SQL RUNTIME[0.00030208s]
/opt/observium/includes/discovery/ports.inc.php:36 array( [1] => array( [ifDescr] => string(3) "LAN" [ifAlias] => string(0) "" [ifName] => string(3) "LAN" [ifType] => string(14) "ethernetCsmacd" [ifOperStatus] => string(2) "up" ) [2] => array( [ifDescr] => string(5) "WAN 1" [ifAlias] => string(0) "" [ifName] => string(5) "WAN 1" [ifType] => string(14) "ethernetCsmacd" [ifOperStatus] => string(2) "up" ) [3] => array( [ifDescr] => string(5) "WAN 2" [ifAlias] => string(0) "" [ifName] => string(5) "WAN 2" [ifType] => string(14) "ethernetCsmacd" [ifOperStatus] => string(2) "up" ) [4] => array( [ifDescr] => string(5) "WAN 3" [ifAlias] => string(0) "" [ifName] => string(5) "WAN 3" [ifType] => string(14) "ethernetCsmacd" [ifOperStatus] => string(4) "down" ) [7] => array( [ifDescr] => string(99) "CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE - CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE" [ifAlias] => string(0) "" [ifName] => string(99) "CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE - CD-Balance-20---IL---Champaign-IL-1925-6A13-ADDE" [ifType] => string(5) "other" [ifOperStatus] => string(2) "up" ) ) o Caching DB SQL[SELECT * FROM `ports` WHERE `device_id` = '1'] SQL RUNTIME[0.00049400s] 6 ports o Discovering ports ..... +---------+----------+----------+---------+----------+-------------+---------+ | ifIndex | ifDescr | ifName | ifAlias | ifType | Oper Status | Ignored | +---------+----------+----------+---------+----------+-------------+---------+ | 1 | LAN | LAN | ... | ethernet | up | no | | | | | | Csmacd | | | | 2 | WAN 1 | WAN 1 | ... | ethernet | up | no | | | | | | Csmacd | | | | 3 | WAN 2 | WAN 2 | ... | ethernet | up | no | | | | | | Csmacd | | | | 4 | WAN 3 | WAN 3 | ... | ethernet | down | no | | | | | | Csmacd | | | | 7 | CD-Balan | CD-Balan | ... | other | up | no | | | ce-20--- | ce-20--- | | | | | | | IL---Cha | IL---Cha | | | | | | | mpa... | mpaign-I | | | | | | | | L-1925-6 | | | | | | | | A13-ADDE | | | | | | | | - CD-Ba | | | | | | | | lance-20 | | | | | | | | ---IL--- | | | | | | | | Champaig | | | | | | | | n-IL-192 | | | | | | | | 5-6A13-A | | | | | | | | DDE | | | | | +---------+----------+----------+---------+----------+-------------+---------+
o Duration 0.0725s
SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='firewall',`last_discovered_timetaken` ='0.395',`force_discovery` ='0' WHERE `device_id` = '1'] SQL RUNTIME[0.00175500s]
SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`) VALUES ('1','discover','1541770014.6594','0.39561200141907')] SQL RUNTIME[0.00058293s] ##### 10.130.18.243 [1] completed discovery modules at 2018-11-09 08:26:55 #####
o Discovery time 0.395 seconds
SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '14491' AND `process_name` = 'discovery.php' AND `device_id` = '1'] SQL RUNTIME[0.00067496s] ##### Finished discovery run at 2018-11-09 08:26:55 #####
SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('discover','10.130.18.243','1541770013.4639','1.596','1')] SQL RUNTIME[0.02404213s] ./discovery.php: 10.130.18.243 - 1 devices discovered in 1.596 secs
SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1541755613'] SQL RUNTIME[0.00015712s] NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output. o Devices Discovered 1 o Discovery Time 1.596 secs o Memory usage 12MB (peak: 14MB) o MySQL Usage Cell[4/0.017s] Row[4/0.022s] Rows[8/0.226s] Column[0/0s] Update[1/0.002s] Insert[3/0.028s] Delete[1/0.001s] o RRDTool Usage
[The Collins Group, Inc.]http://www.thecollinsgroup.us/
From: Markus Klock markus@best-practice.se Sent: Friday, November 9, 2018 8:01 AM To: Observium Network Observation System observium@observium.org Cc: Tim Schmidt tim.schmidt@thecollinsgroup.us Subject: Re: [Observium] Missing Ports
Hi Tim, can you please run ./discovery.php -h <device> -m ports -d and show us the output? /Markus
Den fre 9 nov. 2018 kl 13:38 skrev Tim Schmidt via observium <observium@observium.orgmailto:observium@observium.org>: I’ve got a Peplink Balance 310 that I’ve put into Observium. It reads the device and picks up processor, memory, etc. For the ports though, it is only picking up 2 wan ports and one lan port. There are another 3 lan ports that it is not picking up. Peplink is a newer product for me so I’m not sure if I’m missing something or what. I’m guessing it’s something to do with the EtherLike-MIB that is being used. Any help would be appreciated. Thanks!
Tim Schmidt
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttps://linkprotect.cudasvc.com/url?a=http%3a%2f%2fpostman.memetic.org%2fcgi-bin%2fmailman%2flistinfo%2fobservium&c=E,1,JryX1GHXdhriG65QGB4426AQC1EwITrpJaHpVXlzNveI8hx-lEZnAE2z-98P3r6BlHBRSPWkhBSiWbPibjmvYiKDpxCluATou6Ua9V1xrrwDYq6Uc35upQ,,&typo=1