DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0087s]
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: 9073
Node Kind: directory
Schedule: normal
Last Changed Author: sid3windr
Last Changed Rev: 9072
Last Changed Date: 2018-03-01 10:05:25 +0000 (Thu, 01 Mar 2018)

]

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

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

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.00009799s]
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.00014210s]

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.015s]
CMD EXITDELAY[10ms]
STDOUT[
Linux|4.4.0|amd64|Ubuntu|16.04|none
]

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

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

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

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

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

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

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

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

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

CMD[date "+%:z"]

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

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

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

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

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

 o OS                   Linux 4.4.0 [amd64] (Ubuntu 16.04)
 o Apache               2.4.18
 o PHP                  7.0.25-0ubuntu0.16.04.1 (OPcache: DISABLED)
 o Python               2.7.12
 o MySQL                5.7.21-0ubuntu0.16.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.5.5

#####  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                 Monday, 05-Mar-18 10:04:45 UTC
 o PHP                  +00:00
 o MySQL                +00:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00023699s]
#####  Starting discovery run at 2018-03-05 10:04:45  #####


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

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0157s]
STDOUT[
sysObjectID.0 = enterprises.10002.1
sysUpTime.0 = 39399500
]
SNMP STATUS[TRUE]

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

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

CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 6523]

CMD EXITCODE[0]
CMD RUNTIME[0.0057s]
STDOUT[
  PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
 6523  6181     0     0 pts/0    S+   00:00:00 Sun Mar 11 10:00:58 2018 php /opt/observium/discovery.php -d -m os -h 40
]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('6523','discovery.php','6181','0','php /opt/observium/discovery.php -d -m os -h 40','1520762458','40')]
SQL RUNTIME[0.03348494s]
#####  theatre.fth [40]  #####

 o OS Type              airos
 o SNMP Version         v1
 o Last discovery       2018-03-05 10:04:29
 o Last duration        0.81 seconds

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


CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0123s]
STDOUT[
Linux 2.6.32.49 #1 Wed Feb 14 10:27:18 EET 2018 mips
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovqn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0117s]
STDOUT[
.1.3.6.1.4.1.10002.1
]
SNMP STATUS[TRUE]
+-------------+------------------------------------------------------+
| OID     |                                                      |
+-------------+------------------------------------------------------+
| sysDescr    | Linux 2.6.32.49 #1 Wed Feb 14 10:27:18 EET 2018 mips |
| sysObjectID | .1.3.6.1.4.1.10002.1                                 |
+-------------+------------------------------------------------------+


CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0119s]
STDOUT[
EdgeSwitch 8XP
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' upsIdentManufacturer.0]

CMD EXITCODE[2]
CMD RUNTIME[0.0121s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: upsIdentManufacturer.0
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m SP2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'theatre.fth':'161' powerSystemStatus.0]

CMD EXITCODE[2]
CMD RUNTIME[0.0193s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: powerSystemStatus.0
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'theatre.fth':'161' deviceType.0]

CMD EXITCODE[2]
CMD RUNTIME[0.0114s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: deviceType.0
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m WOWZA-STREAMING-ENGINE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/wowza 'udp':'theatre.fth':'161' serverCounterGetVersion.1]

CMD EXITCODE[2]
CMD RUNTIME[0.0154s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: serverCounterGetVersion.1
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m BETTER-NETWORKS-ETHERNETBOX-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/messpc 'udp':'theatre.fth':'161' version.0]

CMD EXITCODE[2]
CMD RUNTIME[0.0116s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: version.0
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' prtGeneralServicePerson.1]

CMD EXITCODE[2]
CMD RUNTIME[0.0165s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: prtGeneralServicePerson.1
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUvs -m NSCRTV-ROOT -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/nscrtv 'udp':'theatre.fth':'161' commonDeviceVendorInfo.1]

CMD EXITCODE[2]
CMD RUNTIME[0.0114s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: commonDeviceVendorInfo.1
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Including /opt/observium/includes/discovery/os/linux.inc.php

CMD[/usr/bin/snmpwalk -v1 -c *** -Pu -OQUs -m IEEE802dot11-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' dot11manufacturerProductName]

CMD EXITCODE[0]
CMD RUNTIME[0.0231s]
STDOUT[

]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQv -m UBNT-AirFIBER-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/ubiquiti 'udp':'theatre.fth':'161' fwVersion.1]

CMD EXITCODE[2]
CMD RUNTIME[0.0125s]
STDOUT[

]
STDERR[
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UBNT-AirFIBER-MIB::fwVersion.1
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
 o Detect OS matched (airos: Ubiquiti AirOS): 
+------+--------------------+--+
| OID | Matched definition |  |
+------+--------------------+--+
| file |                    |  |
+------+--------------------+--+

 o sysORID table        
CMD[/usr/bin/snmpwalk -v1 -c *** -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysORID]

CMD EXITCODE[0]
CMD RUNTIME[0.0355s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2.1 = .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.2 = .1.3.6.1.2.1.31
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.4.1.10002.1.1.1.31
]
SNMP STATUS[TRUE]

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.0052s]
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/snmpwalk -v1 -c *** -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'theatre.fth':'161' sysORDescr]

CMD EXITCODE[0]
CMD RUNTIME[0.0355s]
STDOUT[
sysORDescr.1 = The MIB module for SNMP entities
sysORDescr.2 = The MIB module to describe generic objects for network interface sub-layers
sysORDescr.3 = The MIB module to describe system resources
]
SNMP STATUS[TRUE]
SNMPv2-MIB IF-MIB FROGFOOT-RESOURCES-MIB 

SQL[SELECT COUNT(*) FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '40' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00052691s]

SQL[UPDATE `entity_attribs` set `attrib_value` ='[\"IF-MIB\"]' WHERE `entity_type` = 'device' AND `entity_id` = '40' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00029087s]

OID	MIB	Status
.1.3.6.1.6.3.1	SNMPv2-MIB	MIB already known through device mapping
.1.3.6.1.2.1.31	IF-MIB	MIB added through sysORID (MODULE-IDENTITY)
.1.3.6.1.4.1.10002.1.1.1.31	FROGFOOT-RESOURCES-MIB	MIB already known through device mapping


 o Duration             0.3072s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='wireless',`last_discovered_timetaken` ='0.349',`force_discovery` ='0' WHERE `device_id` = '40']
SQL RUNTIME[0.03344488s]
#####  theatre.fth [40] completed discovery modules at 2018-03-05 10:04:45  #####

 o Discovery time       0.349 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '6523' AND `process_name` = 'discovery.php' AND `device_id` = '40']
SQL RUNTIME[0.03204298s]
#####  Finished discovery run at 2018-03-05 10:04:46  #####

/opt/observium/discovery.php: theatre.fth - 1 devices discovered in 0.516 secs

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