root@observium:/opt/observium# ./discovery.php -h gau-zyx2108-tracksavadheim -m ports-stack -d DEBUG! SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00080705s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00006604s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00007296s] CMD[/bin/hostname -f] CMD EXITCODE[0] CMD RUNTIME[0.0075s] STDOUT[ observium.Enivest.local ] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 0.16.3.7670 http://www.observium.org CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.0569s] STDOUT[ Linux|3.13.0-24-generic|amd64|Ubuntu|14.04 ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0075s] STDOUT[ Python 2.7.6 ] SQL[SELECT version();] SQL RUNTIME[0.81982088s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0018s] STDOUT[ NET-SNMP version: 5.7.2 ] CMD[/usr/bin/rrdtool --version |head -n1] CMD EXITCODE[0] CMD RUNTIME[0.0051s] CMD EXITDELAY[10ms] STDOUT[ RRDtool 1.4.7 Copyright 1997-2012 by Tobias Oetiker ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00012207s] CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.0312s] STDOUT[ Apache/2.4.7 ] SQL[SELECT @@sql_mode;] SQL RUNTIME[0.89204288s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00389409s] ##### Software versions ##### o OS Linux 3.13.0-24-generic [amd64] (Ubuntu 14.04) o Apache 2.4.7 o PHP 5.5.9-1ubuntu4.13 o Python 2.7.6 o MySQL 5.5.44-0ubuntu0.14.04.1-log (extension: mysqli 5.5.44) o SNMP NET-SNMP 5.7.2 o RRDtool 1.4.7 ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8 ##### Timezones info ##### o Date Monday, 14-Mar-16 09:36:22 CET o PHP +01:00 o MySQL +01:00 SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00014615s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00011492s] ##### Starting discovery run at 2016-03-14 09:36:22 ##### SQL[SELECT * FROM `devices` WHERE `status` = 1 AND `disabled` = 0 AND `hostname` LIKE 'gau-zyx2108-tracksavadheim' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00028086s] CMD[/usr/bin/snmpget -t '1' -r '5' -v2c -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'gau-zyx2108-tracksavadheim':'161' sysObjectID.0 sysUpTime.0] CMD EXITCODE[0] CMD RUNTIME[0.0119s] STDOUT[ sysObjectID.0 = enterprises.890.1.5.8.19 sysUpTime.0 = 137070900 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '319'] SQL RUNTIME[0.00017214s] ##### gau-zyx2108-tracksavadheim [319] ##### o OS Type zyxeles o SNMP Version v2c o Last discovery 2016-03-14 09:36:09 o Last duration 1.55 seconds ##### Module Start: ports-stack ##### Port Stacks: SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '319'] SQL RUNTIME[0.00014281s] CMD[/usr/bin/snmpbulkwalk -t '1' -r '5' -v2c -c *** -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'gau-zyx2108-tracksavadheim':'161' ifStackStatus] CMD EXITCODE[0] CMD RUNTIME[0.0252s] STDOUT[ ifStackStatus.1 = active ifStackStatus.2 = active ifStackStatus.3 = active ifStackStatus.4 = active ifStackStatus.5 = active ifStackStatus.6 = active ifStackStatus.7 = active ifStackStatus.8 = active ifStackStatus.9 = active ] SNMP STATUS[TRUE] SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '1' LIMIT 1] SQL RUNTIME[0.00020099s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27962'] SQL RUNTIME[0.00024986s] SQL[SELECT * FROM `devices` WHERE `device_id` = '319'] SQL RUNTIME[0.00069809s] SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '319'] SQL RUNTIME[0.00017715s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00012302s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','1','','active')] SQL RUNTIME[0.00400901s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '2' LIMIT 1] SQL RUNTIME[0.00016618s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27963'] SQL RUNTIME[0.00022101s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00005507s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','2','','active')] SQL RUNTIME[0.00061083s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '3' LIMIT 1] SQL RUNTIME[0.00016785s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27964'] SQL RUNTIME[0.00019002s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00005889s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','3','','active')] SQL RUNTIME[0.00373697s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '4' LIMIT 1] SQL RUNTIME[0.00019407s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27965'] SQL RUNTIME[0.00021911s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00005507s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','4','','active')] SQL RUNTIME[0.00168610s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '5' LIMIT 1] SQL RUNTIME[0.00021100s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27966'] SQL RUNTIME[0.00021696s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00005507s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','5','','active')] SQL RUNTIME[0.00142789s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '6' LIMIT 1] SQL RUNTIME[0.00014997s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27967'] SQL RUNTIME[0.00020599s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00005412s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','6','','active')] SQL RUNTIME[0.00155997s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '7' LIMIT 1] SQL RUNTIME[0.00013709s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27968'] SQL RUNTIME[0.00020790s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00010991s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','7','','active')] SQL RUNTIME[0.00146103s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '8' LIMIT 1] SQL RUNTIME[0.00012803s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27969'] SQL RUNTIME[0.00022197s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00011587s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','8','','active')] SQL RUNTIME[0.00047779s] + SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '9' LIMIT 1] SQL RUNTIME[0.00015688s] SQL[SELECT * FROM `ports` LEFT JOIN `ports-state` ON `ports`.`port_id` = `ports-state`.`port_id` WHERE `ports`.`port_id` = '27970'] SQL RUNTIME[0.00024080s] Invalid arguments passed into function get_port_by_index_cache(). Please report to developers. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '319' AND `ifIndex` = '' LIMIT 1] SQL RUNTIME[0.00006604s] SQL[INSERT INTO `ports_stack` (`device_id`,`port_id_high`,`port_id_low`,`ifStackStatus`) VALUES ('319','9','','active')] SQL RUNTIME[0.00144696s] + o Duration 0.0598s SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.061',`force_discovery` ='0' WHERE `device_id` = '319'] SQL RUNTIME[0.00069404s] SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`) VALUES ('319','discover','1457944582.3487','0.061301946640015')] SQL RUNTIME[0.00154400s] ##### gau-zyx2108-tracksavadheim [319] completed discovery modules at 2016-03-14 09:36:22 ##### o Discovery time 0.061 seconds ##### Finished discovery run at 2016-03-14 09:36:22 ##### SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('discover','gau-zyx2108-tracksavadheim','1457944580.4885','1.924','1')] SQL RUNTIME[0.00055790s] ./discovery.php: gau-zyx2108-tracksavadheim - 1 devices discovered in 1.924 secs 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.924 secs o Memory usage 6.75MB (peak: 7MB) o MySQL Usage Cell[21/1.719s] Row[14/0.008s] Rows[6/0.006s] Column[0/0s] Update[1/0.001s] Insert[11/0.021s] Delete[0/0s] o RRDTool Usage root@observium:/opt/observium#