DEBUG!

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
SQL RUNTIME[0.00009394s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
SQL RUNTIME[0.00005507s]

SQL[SELECT * FROM `config`]
SQL RUNTIME[0.00005794s]

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0044s]
STDOUT[
OBSERVIUS.cdc.local
]

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                         Observium Professional 0.16.3.7662
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0588s]
STDOUT[
Linux|3.19.0-41-generic|amd64|Ubuntu|14.04
]

CMD[/usr/bin/env python --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0046s]
STDOUT[
Python 2.7.6
]

SQL[SELECT version();]
SQL RUNTIME[0.00013995s]

CMD[/usr/bin/snmpget --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0036s]
STDOUT[
NET-SNMP version: 5.7.2
]

CMD[/opt/rrdtool/bin/rrdtool --version |head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.005s]
STDOUT[
RRDtool 1.4.9  Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
SQL RUNTIME[0.00021815s]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.0265s]
STDOUT[
Apache/2.4.7
]

SQL[SELECT @@sql_mode;]
SQL RUNTIME[0.00024796s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
SQL RUNTIME[0.00053596s]

#####  Software versions  #####

 o OS                   Linux 3.19.0-41-generic [amd64] (Ubuntu 14.04)
 o Apache               2.4.7
 o PHP                  5.5.9-1ubuntu4.14
 o Python               2.7.6
 o MySQL                5.5.47-0ubuntu0.14.04.1 (extension: mysqli 5.5.47)
 o SNMP                 NET-SNMP 5.7.2
 o RRDtool              1.4.9 (rrdcached: unix:/var/run/rrdcached.sock)

#####  MySQL mode  #####

 o MySQL                

#####  Charset info  #####

 o PHP                  UTF-8
 o MySQL                utf8

#####  Timezones info  #####

 o Date                 Friday, 11-Mar-16 17:12:33 UTC
 o PHP                  +00:00
 o MySQL                +00:00


SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
SQL RUNTIME[0.00029707s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00010109s]
#####  Starting discovery run at 2016-03-11 17:12:33  #####


SQL[SELECT * FROM `devices` WHERE `status` = 1 AND `disabled` = 0 AND `hostname` LIKE 'svr-iscsi-05.cdc.local' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00051498s]

CMD[/usr/bin/snmpget -v2c -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'svr-iscsi-05.cdc.local':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.009s]
STDOUT[
sysObjectID.0 = enterprises.8072.3.2.10
sysUpTime.0 = 1002581334
]
SNMP STATUS[TRUE]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '519']
SQL RUNTIME[0.00010896s]
#####  svr-iscsi-05.cdc.local [519]  #####

 o OS Type              linux
 o OS Group             unix
 o SNMP Version         v2c
 o Last discovery       2016-03-11 17:10:07
 o Last duration        1.34 seconds

#####  Module Start: unix-agent  #####


 o Duration             0.0002s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.002',`force_discovery` ='0' WHERE `device_id` = '519']
SQL RUNTIME[0.00078511s]

SQL[INSERT INTO `devices_perftimes` (`device_id`,`operation`,`start`,`duration`)  VALUES ('519','discover','1457716353.0516','0.002694845199585')]
SQL RUNTIME[0.00057888s]
#####  svr-iscsi-05.cdc.local [519] completed discovery modules at 2016-03-11 17:12:33  #####

 o Discovery time       0.002 seconds

#####  Finished discovery run at 2016-03-11 17:12:33  #####


SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`)  VALUES ('discover','svr-iscsi-05.cdc.local','1457716352.9237','0.133','1')]
SQL RUNTIME[0.00057793s]
./discovery.php: svr-iscsi-05.cdc.local - 1 devices discovered in 0.133 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       0.133 secs
 o Memory usage         6.75MB (peak: 7MB)
 o MySQL Usage          Cell[3/0.002s] Row[4/0.002s] Rows[4/0.002s] Column[0/0s] Update[1/0.001s] Insert[2/0.002s] Delete[0/0s] 
 o RRDTool Usage