root@filmobserve:/opt/observium# ./discovery.php -h filmblade01-a -m storage -d DEBUG! CMD[/usr/bin/svn info /opt/observium] CMD EXITCODE[0] CMD RUNTIME[0.0094s] STDOUT[ Path: . Working Copy Root Path: /opt/observium URL: http://svn.observium.org/svn/observium/trunk Relative URL: ^/observium/trunk Repository Root: http://svn.observium.org/svn Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8 Revision: 9360 Node Kind: directory Schedule: normal Last Changed Author: mike Last Changed Rev: 9360 Last Changed Date: 2018-08-03 10:53:03 +0200 (Fri, 03 Aug 2018) ] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00003815s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00005317s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00002193s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00002599s] CMD[/bin/hostname -f] CMD EXITCODE[0] CMD RUNTIME[0.0028s] STDOUT[ filmobserve ] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 18.8.9360 http://www.observium.org CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.1005s] STDOUT[ Linux|3.16.0-4-amd64|amd64|Debian|8.2|vmware| ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0024s] STDOUT[ Python 2.7.9 ] SQL[SELECT version();] SQL RUNTIME[0.00336599s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0023s] CMD EXITDELAY[10ms] STDOUT[ NET-SNMP version: 5.7.2.1 ] CMD[/usr/bin/rrdtool --version | head -n1] CMD EXITCODE[0] CMD RUNTIME[0.0123s] STDOUT[ RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker ] CMD[/usr/bin/fping -v 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0019s] CMD EXITDELAY[10ms] STDOUT[ /usr/bin/fping: Version 3.10 /usr/bin/fping: comments to david@schweikert.ch ] CMD[/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.0241s] STDOUT[ Apache/2.4.10 ] CMD[date "+%:z"] CMD EXITCODE[0] CMD RUNTIME[0.0021s] CMD EXITDELAY[10ms] STDOUT[ +02:00 ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00027800s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00016904s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00878906s] ##### Software versions ##### o OS Linux 3.16.0-4-amd64 [amd64] (Debian 8.2) o Apache 2.4.10 o PHP 5.6.30-0+deb8u1 (OPcache: DISABLED) o Python 2.7.9 o MySQL 5.5.46-0+deb8u1 (extension: mysqli 5.5.46) o SNMP NET-SNMP 5.7.2.1 o RRDtool 1.4.8 o Fping 3.10 (IPv4 and IPv6) ##### Memory Limit ##### o PHP Unlimited ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8 ##### Timezones info ##### o Date Tuesday, 23-Oct-18 19:09:17 CEST o PHP +02:00 o MySQL +02:00 SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00016379s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00007510s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';] SQL RUNTIME[0.00019193s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';] SQL RUNTIME[0.00010800s] There is a newer revision of Observium available! Version 18.10.9471 (23rd October 2018) is 111 revisions ahead. ##### Starting discovery run at 2018-10-23 19:09:17 ##### SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'filmblade01-a' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00053406s] CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'filmblade01-a':'161' sysObjectID.0 sysUpTime.0] CMD EXITCODE[0] CMD RUNTIME[0.0055s] STDOUT[ sysObjectID.0 = enterprises.311.1.1.3.1.2 sysUpTime.0 = 69:0:10:04.73 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '21'] SQL RUNTIME[0.00007606s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '21'] SQL RUNTIME[0.00018001s] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('118433','discovery.php','118337','0','php ./discovery.php -h filmblade01-a -m storage -d','1540314557','21')] SQL RUNTIME[0.00813508s] ##### filmblade01-a [21] ##### o OS Type windows o SNMP Version v2c o Last discovery 2018-10-23 18:34:33 o Last duration 4.01 seconds ##### Module Start: storage ##### SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '21' AND `attrib_type` = 'sysORID'] SQL RUNTIME[0.00005317s] SQL[SELECT * FROM `observium_attribs`] SQL RUNTIME[0.00013590s] o UCD-SNMP-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'filmblade01-a':'161' dskEntry] CMD EXITCODE[0] CMD RUNTIME[2.5308s] STDOUT[ dskEntry = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o HOST-RESOURCES-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'filmblade01-a':'161' hrStorageEntry] CMD EXITCODE[0] CMD RUNTIME[0.2196s] STDOUT[ hrStorageIndex.1 = 1 hrStorageIndex.2 = 2 hrStorageIndex.3 = 3 hrStorageIndex.4 = 4 hrStorageType.1 = hrStorageFixedDisk hrStorageType.2 = hrStorageFixedDisk hrStorageType.3 = hrStorageVirtualMemory hrStorageType.4 = hrStorageRam hrStorageDescr.1 = C:\\ Label:Windows Serial Number b4b9804d hrStorageDescr.2 = P:\\ Label:ddnnas0 Serial Number 55ba0e60 hrStorageDescr.3 = Virtual Memory hrStorageDescr.4 = Physical Memory hrStorageAllocationUnits.1 = 4096 hrStorageAllocationUnits.2 = 262144 hrStorageAllocationUnits.3 = 65536 hrStorageAllocationUnits.4 = 65536 hrStorageSize.1 = 116797951 hrStorageSize.2 = -1 hrStorageSize.3 = 600378 hrStorageSize.4 = 522554 hrStorageUsed.1 = 16975406 hrStorageUsed.2 = 1081666367 hrStorageUsed.3 = 186048 hrStorageUsed.4 = 164350 hrStorageAllocationFailures.1 = 0 hrStorageAllocationFailures.2 = 0 hrStorageAllocationFailures.3 = 0 hrStorageAllocationFailures.4 = 0 ] SNMP STATUS[TRUE] 21 -> 1, hrStorageFixedDisk, HOST-RESOURCES-MIB, C:\\ Label:Windows Serial Number b4b9804d, 4096, 478404407296, 69531262976, 0 SQL[SELECT * FROM `storage` WHERE `device_id` = '21' AND `storage_index` = '1' AND `storage_mib` = 'host-resources-mib'] SQL RUNTIME[0.00030708s] 21 -> 2, hrStorageFixedDisk, HOST-RESOURCES-MIB, P:\\ Label:ddnnas0 Serial Number 55ba0e60, 262144, 1125899906580480, 283552348110848, 0 SQL[SELECT * FROM `storage` WHERE `device_id` = '21' AND `storage_index` = '2' AND `storage_mib` = 'host-resources-mib'] SQL RUNTIME[0.00020003s] > $valid['storage'] /opt/observium/includes/discovery/storage.inc.php:19 array( [host-resources-mib] => array( [1] => string(42) "C:\\ Label:Windows Serial Number b4b9804d" [2] => string(42) "P:\\ Label:ddnnas0 Serial Number 55ba0e60" ) ) SQL[SELECT * FROM `storage` WHERE `device_id` = '21'] SQL RUNTIME[0.00023985s] 1 -> host-resources-mib 2 -> host-resources-mib > $valid[$module] /opt/observium/includes/discovery/storage.inc.php:40 array( [host-resources-mib] => array( [1] => string(42) "C:\\ Label:Windows Serial Number b4b9804d" [2] => string(42) "P:\\ Label:ddnnas0 Serial Number 55ba0e60" ) ) o Changes 2 unchanged o Duration 2.7599s SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='2.7709',`force_discovery` ='0' WHERE `device_id` = '21'] SQL RUNTIME[0.00597811s] ##### filmblade01-a [21] completed discovery modules at 2018-10-23 19:09:20 ##### o Discovery time 2.7709 seconds SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '118433' AND `process_name` = 'discovery.php' AND `device_id` = '21'] SQL RUNTIME[0.00086403s] ##### Finished discovery run at 2018-10-23 19:09:20 ##### ./discovery.php: filmblade01-a - 1 devices discovered in 3.001 secs SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1540300157'] SQL RUNTIME[0.00017691s] 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 3.001 secs o Memory usage 15MB (peak: 15MB) o MySQL Usage Cell[4/0.005s] Row[9/0.003s] Rows[8/0.013s] Column[0/0s] Update[1/0.006s] Insert[1/0.009s] Delete[1/0.001s] o RRDTool Usage root@filmobserve:/opt/observium#