DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0064s]
CMD EXITDELAY[10ms]
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: 9965
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 9965
Last Changed Date: 2019-07-11 14:15:20 +0200 (Thu, 11 Jul 2019)

]

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

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

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.00009894s]
SQL WARNINGS[
 3135: 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
]
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.00014091s]

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

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0019s]
STDOUT[
obsrv
]

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0083s]
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.0015s]
STDOUT[
Python 2.7.12
]

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0055s]
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.001s]
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.0268s]
STDOUT[
Apache/2.4.18
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0008s]
CMD EXITDELAY[10ms]
STDOUT[
+02:00
]

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

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

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

#####  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.5 (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                 Friday, 12-Jul-19 02:19:55 CEST
 o PHP                  +02:00
 o MySQL                +02:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00012994s]
#####  Starting discovery run at 2019-07-12 02:19:55  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `device_id` = '9' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00038505s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0061s]
STDOUT[
sysObjectID.0 = enterprises.27282.3.2.10
sysUpTime.0 = 1:12:38:41.00
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('6337','discovery.php','3484','0','php ./discovery.php -d -m os -h 9','1562890795','9')]
SQL RUNTIME[0.00078511s]
#####  sw3.xbone [9]  #####


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

CMD EXITCODE[0]
CMD RUNTIME[0.0068s]
STDOUT[
RTL8380-8GE-2GEF
]
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':'sw3.xbone':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0094s]
STDOUT[
.1.3.6.1.4.1.27282.3.2.10
]
SNMP STATUS[TRUE]
+-------------+---------------------------+
| OID         |                           |
+-------------+---------------------------+
| sysDescr    | RTL8380-8GE-2GEF          |
| sysObjectID | .1.3.6.1.4.1.27282.3.2.10 |
+-------------+---------------------------+


CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'sw3.xbone':'161' deviceType.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0064s]
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 *** -Pud -OQUv -m WOWZA-STREAMING-ENGINE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/wowza 'udp':'sw3.xbone':'161' serverCounterGetVersion.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0088s]
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 *** -Pud -OQUv -m BETTER-NETWORKS-ETHERNETBOX-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/messpc 'udp':'sw3.xbone':'161' version.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0048s]
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 *** -Pud -OQUv -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw3.xbone':'161' prtGeneralServicePerson.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0133s]
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 *** -Pud -OQUv -m NSCRTV-HFCEMS-COMMON-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/nscrtv 'udp':'sw3.xbone':'161' commonDeviceVendorInfo.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0089s]
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 *** -Pud -OQUv -m SP2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'sw3.xbone':'161' powerSystemStatus.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0117s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Including linux.inc.php
Including freebsd.inc.php
Including broadcom.inc.php
Including nxp-mqx-rtcs.inc.php
Including solaris.inc.php
 o OS Type              generic
 o OS Group             unix
 o SNMP Version         v2c
 o Last discovery       2019-07-12 02:10:50
 o Last duration        1.25 seconds

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

 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.0036s]
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':'sw3.xbone':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0112s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2.1 = .1.3.6.1.6.3.11.2.3.1.1
.1.3.6.1.2.1.1.9.1.2.2 = .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.6.3.10.3.1.1
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.6.3.13.3.1.3
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.6.3.16.2.2.1
.1.3.6.1.2.1.1.9.1.2.6 = .1.3.6.1.2.1.49
.1.3.6.1.2.1.1.9.1.2.7 = .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.8 = .1.3.6.1.2.1.4
.1.3.6.1.2.1.1.9.1.2.9 = .1.3.6.1.2.1.50
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0099s]
STDOUT[
sysORDescr.1 = The MIB for Message Processing and Dispatching.
sysORDescr.2 = The MIB for Message Processing and Dispatching.
sysORDescr.3 = The SNMP Management Architecture MIB.
sysORDescr.4 = The MIB modules for managing SNMP Notification, plus filtering.
sysORDescr.5 = View-based Access Control Model for SNMP.
sysORDescr.6 = The MIB module for managing TCP implementations
sysORDescr.7 = The MIB module for SNMPv2 entities
sysORDescr.8 = The MIB module for managing IP and ICMP implementations
sysORDescr.9 = The MIB module for managing UDP implementations
]
SNMP STATUS[TRUE]
SNMPv2-MIB IP-MIB TCP-MIB UDP-MIB SNMP-FRAMEWORK-MIB 

SQL[SELECT EXISTS (SELECT 1 FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '9' AND `attrib_type` = 'sysORID')]
SQL RUNTIME[0.00049090s]

SQL[UPDATE `entity_attribs` set `attrib_value` ='[\"TCP-MIB\",\"UDP-MIB\"]' WHERE `entity_type` = 'device' AND `entity_id` = '9' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00023007s]

+-------------------------+--------------------+---------------------------------------------+
| OID                     | MIB                | Status                                      |
+-------------------------+--------------------+---------------------------------------------+
| .1.3.6.1.6.3.1          | SNMPv2-MIB         | MIB already known through device mapping    |
| .1.3.6.1.2.1.4          | IP-MIB             | MIB already known through device mapping    |
| .1.3.6.1.2.1.49         | TCP-MIB            | MIB added through sysORID (MODULE-IDENTITY) |
| .1.3.6.1.2.1.50         | UDP-MIB            | MIB added through sysORID (MODULE-IDENTITY) |
| .1.3.6.1.6.3.10.3.1.1   | SNMP-FRAMEWORK-MIB | MIB already known through device mapping    |
| .1.3.6.1.6.3.11.2.3.1.1 |                    | MIB unused                                  |
| .1.3.6.1.6.3.15.2.1.1   |                    | MIB unused                                  |
| .1.3.6.1.6.3.13.3.1.3   |                    | MIB unused                                  |
| .1.3.6.1.6.3.16.2.2.1   |                    | MIB unused                                  |
+-------------------------+--------------------+---------------------------------------------+


 o Duration             0.0352s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.1482',`force_discovery` ='0' WHERE `device_id` = '9']
SQL RUNTIME[0.00081897s]
#####  sw3.xbone [9] completed discovery modules at 2019-07-12 02:19:55  #####

 o Discovery time       0.1482 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '6337' AND `process_name` = 'discovery.php' AND `device_id` = '9']
SQL RUNTIME[0.00042987s]
#####  Finished discovery run at 2019-07-12 02:19:55  #####

./discovery.php: sw3.xbone - 1 devices discovered in 0.227 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1562876395']
SQL RUNTIME[0.00018191s]
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.227 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[5/0.002s] Row[4/0.001s] Rows[6/0.004s] Column[0/0s] Update[2/0.001s] Insert[1/0.001s] Delete[1/0.001s] 
 o RRDTool Usage