root@observium:/opt/observium# ./discovery.php -d -m os -h FRA02RTE01
DEBUG!

CMD[/usr/bin/svn info /opt/observium]

CMD EXITCODE[0]
CMD RUNTIME[0.0079s]
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: 9861
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 9861
Last Changed Date: 2019-05-02 16:12:15 +0200 (Thu, 02 May 2019)

]

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

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00015187s]

SQL[SET SESSION `sql_mode` = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION']
SQL RUNTIME[0.00012398s]
DB mode(s) disabled: STRICT_TRANS_TABLES, ONLY_FULL_GROUP_BY

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

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

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0029s]
STDOUT[
observium
]

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0308s]
STDOUT[
Linux|4.4.0-146-generic|amd64|Ubuntu|16.04|vmware|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0025s]
STDOUT[
Python 2.7.12
]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0017s]
STDOUT[
NET-SNMP version: 5.7.3
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0121s]
STDOUT[
RRDtool 1.5.5  Copyright by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[/usr/bin/fping -v 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0016s]
STDOUT[
/usr/bin/fping: Version 3.13
/usr/bin/fping: comments to david@schweikert.ch
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0618s]
STDOUT[
Apache/2.4.18
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
+02:00
]

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

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00021505s]

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

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

 o OS                   Linux 4.4.0-146-generic [amd64] (Ubuntu 16.04)
 o Apache               2.4.18
 o PHP                  7.0.33-0ubuntu0.16.04.4 (OPcache: DISABLED)
 o Python               2.7.12
 o MySQL                5.7.26-0ubuntu0.16.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.5.5
 o Fping                3.13 (IPv4 and IPv6)

#####  Memory Limit  #####

 o PHP                  Unlimited

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

 o MySQL                NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION 

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

 o PHP                  UTF-8
 o MySQL                utf8

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

 o Date                 Thursday, 02-May-19 17:44:58 CEST
 o PHP                  +02:00
 o MySQL                +02:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00025010s]
#####  Starting discovery run at 2019-05-02 17:44:58  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'FRA02RTE01' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00115895s]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fra02rte01':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0199s]
STDOUT[
sysObjectID.0 = enterprises.1916.2.306
sysUpTime.0 = 4:21:11:45.00
]
SNMP STATUS[TRUE]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '475']
SQL RUNTIME[0.00072098s]

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '475']
SQL RUNTIME[0.00040197s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('9401','discovery.php','7160','0','php ./discovery.php -d -m os -h FRA02RTE01','1556811898','475')]
SQL RUNTIME[0.00492287s]
#####  fra02rte01 [475]  #####

 o OS Type              extremeware
 o OS Group             extremeware
 o SNMP Version         v2c
 o Last discovery       2019-05-02 12:40:32
 o Last duration        5.78 seconds

#####  Module Start: os  #####


CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fra02rte01':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0167s]
STDOUT[
Extreme SLX9640 Switch/Router, SLX Operating System Version 18r.2.00.
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fra02rte01':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.015s]
STDOUT[
.1.3.6.1.4.1.1916.2.306
]
SNMP STATUS[TRUE]
+-------------+-----------------------------------------------------------------------+
| OID         |                                                                       |
+-------------+-----------------------------------------------------------------------+
| sysDescr    | Extreme SLX9640 Switch/Router, SLX Operating System Version 18r.2.00. |
| sysObjectID | .1.3.6.1.4.1.1916.2.306                                               |
+-------------+-----------------------------------------------------------------------+

 o Detect OS matched (extremeware: Extremeware): 
+-------------+---------------------+-------------------------+
| OID         | Matched definition  |                         |
+-------------+---------------------+-------------------------+
| sysObjectID | .1.3.6.1.4.1.1916.2 | .1.3.6.1.4.1.1916.2.306 |
+-------------+---------------------+-------------------------+

 o sysORID table        
CMD[/usr/bin/snmptranslate -On -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'SNMPv2-MIB::sysORID']

CMD EXITCODE[0]
CMD RUNTIME[0.0088s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2
]
SNMP TRANSLATE (CMD): 'SNMPv2-MIB::sysORID' -> '.1.3.6.1.2.1.1.9.1.2'

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fra02rte01':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0395s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2 = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'fra02rte01':'161' sysORDescr]

CMD EXITCODE[0]
CMD RUNTIME[0.0454s]
STDOUT[
sysORDescr = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
<empty>

SQL[DELETE FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '475' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00060701s]

 o Duration             0.2544s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.262',`force_discovery` ='0' WHERE `device_id` = '475']
SQL RUNTIME[0.00435615s]
#####  fra02rte01 [475] completed discovery modules at 2019-05-02 17:44:59  #####

 o Discovery time       0.262 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '9401' AND `process_name` = 'discovery.php' AND `device_id` = '475']
SQL RUNTIME[0.00531006s]
#####  Finished discovery run at 2019-05-02 17:44:59  #####

./discovery.php: FRA02RTE01 - 1 devices discovered in 0.440 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1556797498']
SQL RUNTIME[0.00029802s]
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.440 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[4/0.002s] Row[4/0.002s] Rows[6/0.011s] Column[0/0s] Update[1/0.005s] Insert[1/0.005s] Delete[2/0.006s] 
 o RRDTool Usage        
root@observium:/opt/observium#