Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-55-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Sep 19 18:01:09 EDT 2019

  System load:  0.28               Processes:           130
  Usage of /:   36.8% of 39.12GB   Users logged in:     0
  Memory usage: 35%                IP address for ens3: 10.5.5.217
  Swap usage:   1%

 * Congrats to the Kubernetes community on 1.16 beta 1! Now available
   in MicroK8s for evaluation and testing, with upgrades to RC and GA

     snap info microk8s

 * Canonical Livepatch is enabled.
   - All available patches applied.

1 package can be updated.
0 updates are security updates.


*** System restart required ***
Last login: Thu Sep 19 17:57:21 2019 from 10.5.5.187
tyshawn@observium:~$ cd /opt/observium/
tyshawn@observium:/opt/observium$ ./discovery.php -d -m os -h 10.5.5.10
DEBUG!

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

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

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.00008106s]
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.00013113s]

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

CMD[/bin/hostname -f]

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

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                      Observium Community Edition 18.9.9420
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0126s]
STDOUT[
Linux|4.15.0-55-generic|amd64|Ubuntu|18.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
Python 2.7.15+
]

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

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

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

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

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0279s]
STDOUT[
Apache/2.4.29
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0013s]
CMD EXITDELAY[10ms]
STDOUT[
-04:00
]

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

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

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

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

 o OS                   Linux 4.15.0-55-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.29
 o PHP                  7.2.19-0ubuntu0.18.04.2 (OPcache: DISABLED)
 o Python               2.7.15+
 o MySQL                5.7.27-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (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, 19-Sep-19 18:01:24 EDT
 o PHP                  -04:00
 o MySQL                -04:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00018501s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00017810s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00018001s]
There is a newer revision of Observium available!
Version 19.8 (19th September 2019) is 580 revisions ahead.

#####  Starting discovery run at 2019-09-19 18:01:24  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.012s]
STDOUT[
sysObjectID.0 = enterprises.4413
sysUpTime.0 = 9:23:38:20.00
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('1535','discovery.php','1460','1000','php ./discovery.php -d -m os -h 10.5.5.10','1568930484','5')]
SQL RUNTIME[0.00285387s]
#####  10.5.5.10 [5]  #####

 o OS Type              broadcom_fastpath
 o OS Group             fastpath
 o SNMP Version         v2c
 o Last discovery       2019-09-19 17:58:31
 o Last duration        0.26 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.01s]
STDOUT[
UBNT US48PRO - 48 GE POE + 4 XE, 4.0.59.10700, Linux 3.6.5
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0206s]
STDOUT[
.1.3.6.1.4.1.4413
]
SNMP STATUS[TRUE]
+-------------+------------------------------------------------------------+
| OID         |                                                            |
+-------------+------------------------------------------------------------+
| sysDescr    | UBNT US48PRO - 48 GE POE + 4 XE, 4.0.59.10700, Linux 3.6.5 |
| sysObjectID | .1.3.6.1.4.1.4413                                          |
+-------------+------------------------------------------------------------+


CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m FASTPATH-SWITCHING-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/broadcom 'udp':'10.5.5.10':'161' agentInventoryMachineType.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0221s]
STDOUT[
"UBNT US48PRO - 48 GE POE + 4 XE"
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m FASTPATH-SWITCHING-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/broadcom 'udp':'10.5.5.10':'161' agentInventoryMachineModel.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0217s]
STDOUT[
"UBNT-US48PRO-POE"
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m SP2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.5.5.10':'161' powerSystemStatus.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0153s]
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 ***@# -Pu -OQUv -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'10.5.5.10':'161' deviceType.0]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0091s]
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 ***@# -Pu -OQUv -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.10':'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 ***@# -Pu -OQUv -m NSCRTV-ROOT -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/nscrtv 'udp':'10.5.5.10':'161' commonDeviceVendorInfo.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0099s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Including /opt/observium/includes/discovery/os/broadcom.inc.php
 o Detect OS matched (broadcom_fastpath: Broadcom (FastPath)): 
+------+--------------------+--+
| OID  | Matched definition |  |
+------+--------------------+--+
| file |                    |  |
+------+--------------------+--+

 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.0085s]
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 ***@# -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.10':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0122s]
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.16.20.8
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.2.1.16.20.5
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.2.1.16.29
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.2.1.78
.1.3.6.1.2.1.1.9.1.2.6 = .1.3.6.1.4.1.4413
.1.3.6.1.2.1.1.9.1.2.7 = .1.3.6.1.6.3.18
.1.3.6.1.2.1.1.9.1.2.8 = .1.3.6.1.6.3.10
.1.3.6.1.2.1.1.9.1.2.9 = .1.3.6.1.6.3.11
.1.3.6.1.2.1.1.9.1.2.10 = .1.3.6.1.6.3.13
.1.3.6.1.2.1.1.9.1.2.11 = .1.3.6.1.6.3.12
.1.3.6.1.2.1.1.9.1.2.12 = .1.3.6.1.6.3.15
.1.3.6.1.2.1.1.9.1.2.13 = .1.3.6.1.6.3.16
.1.3.6.1.2.1.1.9.1.2.14 = .1.3.6.1.4.1.99.12.46
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0177s]
STDOUT[
sysORDescr.1 = The MIB module for SNMPv2 entities
sysORDescr.2 = Remote Network Monitoring Management Information Base
sysORDescr.3 = The original version of this MIB, published as RFC3273.
sysORDescr.4 = Initial version of the High Capacity Alarm MIB module. This version published as RFC 3434.
sysORDescr.5 = A MIB module containing textual conventions for high capacity data types.
sysORDescr.6 = Ubiquiti Reference
sysORDescr.7 = This MIB module defines objects to help support coexistence between SNMPv1, SNMPv2, and SNMPv3.
sysORDescr.8 = The SNMP Management Architecture MIB
sysORDescr.9 = The MIB for Message Processing and Dispatching
sysORDescr.10 = The Notification MIB Module
sysORDescr.11 = The Target MIB Module
sysORDescr.12 = The management information definitions for the SNMP User-based Security Model.
sysORDescr.13 = The management information definitions for the View-based Access Control Model for SNMP.
sysORDescr.14 = SNMP Research, Inc.
sysORDescr.15 = UnifiSwitch Power Ethernet Extensions MIB
sysORDescr.16 = Power Ethernet MIB
sysORDescr.17 = The Ubiquiti Private MIB for UnifiSwitch Box Services Feature.
sysORDescr.18 = The Textual Conventions defined in this module should be used whenever a Differentiated Services Code Point is used in a MIB.
sysORDescr.19 = The MIB module defines the AddressFamilyNumbers textual convention.
sysORDescr.20 = The Ubiquiti Private MIB for UnifiSwitch DHCP Server
sysORDescr.21 = The Ubiquiti Private MIB for UnifiSwitch DHCP Client
sysORDescr.22 = Defines a portion of the SNMP MIB under the Ubiquiti Corporation enterprise OID pertaining to DNS Client control configuration
sysORDescr.23 = The Ubiquiti Private MIB for UnifiSwitch Denial of Service.
sysORDescr.24 = The Ubiquiti Private MIB for UnifiSwitch Keying Utility
sysORDescr.25 = Management Information Base module for LLDP configuration, statistics, local system data and remote systems data components.
sysORDescr.26 = The LLDP Management Information Base extension module for IEEE 802.3 organizationally defined discovery information.
sysORDescr.27 = The LLDP Management Information Base extension module for TIA-TR41.4 Media Endpoint Discovery information.
sysORDescr.28 = The MIB module for entities implementing the server side of the Domain Name System (DNS) protocol.
sysORDescr.29 = The MIB module for entities implementing the client (resolver) side of the Domain Name System (DNS) protocol.
sysORDescr.30 = The MIB module for managing remote monitoring device implementations for Switched Networks
sysORDescr.31 = The Ubiquiti Private MIB for UnifiSwitch Time Ranges
sysORDescr.32 = The Ubiquiti Private MIB for UnifiSwitch for system time, timezone and summer-time settings
sysORDescr.33 = The Link Aggregation module for managing IEEE 802.3ad
sysORDescr.34 = Management Information Base for Network Management of TCP/IP-based internets: MIB-II
sysORDescr.35 = Definitions of Managed Objects for Bridges (dot1d)
sysORDescr.36 = The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998.
sysORDescr.37 = The VLAN Bridge MIB module for managing Virtual Bridged Local Area Networks
sysORDescr.38 = Entity MIB (Version 2)
sysORDescr.39 = The Interfaces Group MIB using SMIv2
sysORDescr.40 = Definitions of Managed Objects for the Ethernet-like Interface Types
sysORDescr.41 = UnifiSwitch Switching - Layer 2
sysORDescr.42 = Unit and Slot configuration.
sysORDescr.43 = Port Security MIB.
sysORDescr.44 = This MIB module defines textual conventions for representing Internet addresses.
sysORDescr.45 = This MIB module defines the IANAifType Textual Convention
sysORDescr.46 = This MIB provides objects to configure and display events logged on this system.
sysORDescr.47 = Management information for 802.3 MAUs.
sysORDescr.48 = This MIB module defines dot3MauType OBJECT-IDENTITIES and IANAifMauListBits, IANAifMauMediaAvailable, IANAifMauAutoNegCapBits,
sysORDescr.49 = Defines Ubiquiti Corporation enterprise OID pertaining to SNTP client configuration and statistical collection.
sysORDescr.50 = Port Access Entity module for managing IEEE 802.1X.
sysORDescr.51 = The Ubiquiti Private MIB for UnifiSwitch Dot1x Advanced Features
sysORDescr.52 = The Ubiquiti Private MIB for UnifiSwitch Dot1x Authentication Server
sysORDescr.53 = The Ubiquiti Private MIB for UnifiSwitch Radius Authentication Client.
sysORDescr.54 = RADIUS Accounting Client MIB
sysORDescr.55 = RADIUS Authentication Client MIB
sysORDescr.56 = Defines a portion of the SNMP MIB under the Ubiquiti Corporation enterprise OID pertaining to TACACS+ client configuration.
sysORDescr.57 = The Ubiquiti Private MIB for UnifiSwitch Mgmt Security
sysORDescr.58 = UnifiSwitch Routing - Layer 3
sysORDescr.59 = The MIB definitions for Route Policy system.
sysORDescr.60 = UnifiSwitch Flex QOS Support
sysORDescr.61 = UnifiSwitch Flex QOS ACL
sysORDescr.62 = UnifiSwitch Flex QOS COS
sysORDescr.63 = UnifiSwitch Flex QOS VOIP
sysORDescr.64 = UnifiSwitch Flex QOS DiffServ Private MIBs' definitions
]
SNMP STATUS[TRUE]
SNMPv2-MIB RMON-MIB SNMP-FRAMEWORK-MIB 

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

SQL[UPDATE `entity_attribs` set `attrib_value` ='[\"RMON-MIB\"]' WHERE `entity_type` = 'device' AND `entity_id` = '5' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00028205s]

+-----------------------+--------------------+---------------------------------------------+
| OID                   | MIB                | Status                                      |
+-----------------------+--------------------+---------------------------------------------+
| .1.3.6.1.6.3.1        | SNMPv2-MIB         | MIB already known through device mapping    |
| .1.3.6.1.2.1.16.20.8  | RMON-MIB           | MIB added through sysORID (MODULE-IDENTITY) |
| .1.3.6.1.6.3.10       | SNMP-FRAMEWORK-MIB | MIB already known through device mapping    |
| .1.3.6.1.2.1.16.20.5  |                    | MIB unused                                  |
| .1.3.6.1.2.1.16.29    |                    | MIB unused                                  |
| .1.3.6.1.2.1.78       |                    | MIB unused                                  |
| .1.3.6.1.4.1.4413     |                    | MIB unused                                  |
| .1.3.6.1.6.3.18       |                    | MIB unused                                  |
| .1.3.6.1.6.3.11       |                    | MIB unused                                  |
| .1.3.6.1.6.3.13       |                    | MIB unused                                  |
| .1.3.6.1.6.3.12       |                    | MIB unused                                  |
| .1.3.6.1.6.3.15       |                    | MIB unused                                  |
| .1.3.6.1.6.3.16       |                    | MIB unused                                  |
| .1.3.6.1.4.1.99.12.46 |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
+-----------------------+--------------------+---------------------------------------------+


 o Duration             0.2535s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.2582',`force_discovery` ='0' WHERE `device_id` = '5']
SQL RUNTIME[0.00161719s]
#####  10.5.5.10 [5] completed discovery modules at 2019-09-19 18:01:24  #####

 o Discovery time       0.2582 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '1535' AND `process_name` = 'discovery.php' AND `device_id` = '5']
SQL RUNTIME[0.00159287s]
#####  Finished discovery run at 2019-09-19 18:01:24  #####

./discovery.php: 10.5.5.10 - 1 devices discovered in 0.358 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1568916084']
SQL RUNTIME[0.00022292s]
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.358 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[5/0.002s] Row[6/0.003s] Rows[6/0.004s] Column[0/0s] Update[2/0.002s] Insert[1/0.003s] Delete[1/0.002s] 
 o RRDTool Usage        
tyshawn@observium:/opt/observium$ ./discovery.php -d -m os -h 10.5.5.13
DEBUG!

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

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

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.00011802s]
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.00023007s]

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

CMD[/bin/hostname -f]

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

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                      Observium Community Edition 18.9.9420
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0117s]
STDOUT[
Linux|4.15.0-55-generic|amd64|Ubuntu|18.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0024s]
STDOUT[
Python 2.7.15+
]

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0062s]
STDOUT[
RRDtool 1.7.0  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 4.0
/usr/bin/fping: comments to david@schweikert.ch
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0281s]
STDOUT[
Apache/2.4.29
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
CMD EXITDELAY[10ms]
STDOUT[
-04:00
]

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

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

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

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

 o OS                   Linux 4.15.0-55-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.29
 o PHP                  7.2.19-0ubuntu0.18.04.2 (OPcache: DISABLED)
 o Python               2.7.15+
 o MySQL                5.7.27-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (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, 19-Sep-19 18:01:40 EDT
 o PHP                  -04:00
 o MySQL                -04:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00013614s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00012398s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00012612s]
There is a newer revision of Observium available!
Version 19.8 (19th September 2019) is 580 revisions ahead.

#####  Starting discovery run at 2019-09-19 18:01:40  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0113s]
STDOUT[
sysObjectID.0 = enterprises.4413
sysUpTime.0 = 9:23:38:24.00
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('1617','discovery.php','1460','1000','php ./discovery.php -d -m os -h 10.5.5.13','1568930500','7')]
SQL RUNTIME[0.00408196s]
#####  10.5.5.13 [7]  #####

 o OS Type              broadcom_fastpath
 o OS Group             fastpath
 o SNMP Version         v2c
 o Last discovery       2019-09-19 12:33:13
 o Last duration        1.24 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.0095s]
STDOUT[
UBNT US6XG - 4XE POE + 2 SFP+, 4.0.59.10700, Linux 3.6.5
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0093s]
STDOUT[
.1.3.6.1.4.1.4413
]
SNMP STATUS[TRUE]
+-------------+----------------------------------------------------------+
| OID         |                                                          |
+-------------+----------------------------------------------------------+
| sysDescr    | UBNT US6XG - 4XE POE + 2 SFP+, 4.0.59.10700, Linux 3.6.5 |
| sysObjectID | .1.3.6.1.4.1.4413                                        |
+-------------+----------------------------------------------------------+


CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m FASTPATH-SWITCHING-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/broadcom 'udp':'10.5.5.13':'161' agentInventoryMachineType.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0216s]
STDOUT[
"UBNT US6XG - 4XE POE + 2 SFP+"
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m FASTPATH-SWITCHING-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/broadcom 'udp':'10.5.5.13':'161' agentInventoryMachineModel.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0218s]
STDOUT[
"UBNT-US6XG"
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m SP2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.5.5.13':'161' powerSystemStatus.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0154s]
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 ***@# -Pu -OQUv -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'10.5.5.13':'161' deviceType.0]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0092s]
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 ***@# -Pu -OQUv -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.13':'161' prtGeneralServicePerson.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0135s]
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 ***@# -Pu -OQUv -m NSCRTV-ROOT -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/nscrtv 'udp':'10.5.5.13':'161' commonDeviceVendorInfo.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Including /opt/observium/includes/discovery/os/broadcom.inc.php
 o Detect OS matched (broadcom_fastpath: Broadcom (FastPath)): 
+------+--------------------+--+
| OID  | Matched definition |  |
+------+--------------------+--+
| file |                    |  |
+------+--------------------+--+

 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.0086s]
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 ***@# -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.13':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0111s]
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.16.20.8
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.2.1.16.20.5
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.2.1.16.29
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.2.1.78
.1.3.6.1.2.1.1.9.1.2.6 = .1.3.6.1.4.1.4413
.1.3.6.1.2.1.1.9.1.2.7 = .1.3.6.1.6.3.18
.1.3.6.1.2.1.1.9.1.2.8 = .1.3.6.1.6.3.10
.1.3.6.1.2.1.1.9.1.2.9 = .1.3.6.1.6.3.11
.1.3.6.1.2.1.1.9.1.2.10 = .1.3.6.1.6.3.13
.1.3.6.1.2.1.1.9.1.2.11 = .1.3.6.1.6.3.12
.1.3.6.1.2.1.1.9.1.2.12 = .1.3.6.1.6.3.15
.1.3.6.1.2.1.1.9.1.2.13 = .1.3.6.1.6.3.16
.1.3.6.1.2.1.1.9.1.2.14 = .1.3.6.1.4.1.99.12.46
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0175s]
STDOUT[
sysORDescr.1 = The MIB module for SNMPv2 entities
sysORDescr.2 = Remote Network Monitoring Management Information Base
sysORDescr.3 = The original version of this MIB, published as RFC3273.
sysORDescr.4 = Initial version of the High Capacity Alarm MIB module. This version published as RFC 3434.
sysORDescr.5 = A MIB module containing textual conventions for high capacity data types.
sysORDescr.6 = Ubiquiti Reference
sysORDescr.7 = This MIB module defines objects to help support coexistence between SNMPv1, SNMPv2, and SNMPv3.
sysORDescr.8 = The SNMP Management Architecture MIB
sysORDescr.9 = The MIB for Message Processing and Dispatching
sysORDescr.10 = The Notification MIB Module
sysORDescr.11 = The Target MIB Module
sysORDescr.12 = The management information definitions for the SNMP User-based Security Model.
sysORDescr.13 = The management information definitions for the View-based Access Control Model for SNMP.
sysORDescr.14 = SNMP Research, Inc.
sysORDescr.15 = UnifiSwitch Power Ethernet Extensions MIB
sysORDescr.16 = Power Ethernet MIB
sysORDescr.17 = The Ubiquiti Private MIB for UnifiSwitch Box Services Feature.
sysORDescr.18 = The Textual Conventions defined in this module should be used whenever a Differentiated Services Code Point is used in a MIB.
sysORDescr.19 = The MIB module defines the AddressFamilyNumbers textual convention.
sysORDescr.20 = The Ubiquiti Private MIB for UnifiSwitch DHCP Server
sysORDescr.21 = The Ubiquiti Private MIB for UnifiSwitch DHCP Client
sysORDescr.22 = Defines a portion of the SNMP MIB under the Ubiquiti Corporation enterprise OID pertaining to DNS Client control configuration
sysORDescr.23 = The Ubiquiti Private MIB for UnifiSwitch Denial of Service.
sysORDescr.24 = The Ubiquiti Private MIB for UnifiSwitch Keying Utility
sysORDescr.25 = Management Information Base module for LLDP configuration, statistics, local system data and remote systems data components.
sysORDescr.26 = The LLDP Management Information Base extension module for IEEE 802.3 organizationally defined discovery information.
sysORDescr.27 = The LLDP Management Information Base extension module for TIA-TR41.4 Media Endpoint Discovery information.
sysORDescr.28 = The MIB module for entities implementing the server side of the Domain Name System (DNS) protocol.
sysORDescr.29 = The MIB module for entities implementing the client (resolver) side of the Domain Name System (DNS) protocol.
sysORDescr.30 = The MIB module for managing remote monitoring device implementations for Switched Networks
sysORDescr.31 = The Ubiquiti Private MIB for UnifiSwitch Time Ranges
sysORDescr.32 = The Ubiquiti Private MIB for UnifiSwitch for system time, timezone and summer-time settings
sysORDescr.33 = The Link Aggregation module for managing IEEE 802.3ad
sysORDescr.34 = Management Information Base for Network Management of TCP/IP-based internets: MIB-II
sysORDescr.35 = Definitions of Managed Objects for Bridges (dot1d)
sysORDescr.36 = The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998.
sysORDescr.37 = The VLAN Bridge MIB module for managing Virtual Bridged Local Area Networks
sysORDescr.38 = Entity MIB (Version 2)
sysORDescr.39 = The Interfaces Group MIB using SMIv2
sysORDescr.40 = Definitions of Managed Objects for the Ethernet-like Interface Types
sysORDescr.41 = UnifiSwitch Switching - Layer 2
sysORDescr.42 = Unit and Slot configuration.
sysORDescr.43 = Port Security MIB.
sysORDescr.44 = This MIB module defines textual conventions for representing Internet addresses.
sysORDescr.45 = This MIB module defines the IANAifType Textual Convention
sysORDescr.46 = This MIB provides objects to configure and display events logged on this system.
sysORDescr.47 = Management information for 802.3 MAUs.
sysORDescr.48 = This MIB module defines dot3MauType OBJECT-IDENTITIES and IANAifMauListBits, IANAifMauMediaAvailable, IANAifMauAutoNegCapBits,
sysORDescr.49 = Defines Ubiquiti Corporation enterprise OID pertaining to SNTP client configuration and statistical collection.
sysORDescr.50 = Port Access Entity module for managing IEEE 802.1X.
sysORDescr.51 = The Ubiquiti Private MIB for UnifiSwitch Dot1x Advanced Features
sysORDescr.52 = The Ubiquiti Private MIB for UnifiSwitch Dot1x Authentication Server
sysORDescr.53 = The Ubiquiti Private MIB for UnifiSwitch Radius Authentication Client.
sysORDescr.54 = RADIUS Accounting Client MIB
sysORDescr.55 = RADIUS Authentication Client MIB
sysORDescr.56 = Defines a portion of the SNMP MIB under the Ubiquiti Corporation enterprise OID pertaining to TACACS+ client configuration.
sysORDescr.57 = The Ubiquiti Private MIB for UnifiSwitch Mgmt Security
sysORDescr.58 = UnifiSwitch Routing - Layer 3
sysORDescr.59 = The MIB definitions for Route Policy system.
sysORDescr.60 = UnifiSwitch Flex QOS Support
sysORDescr.61 = UnifiSwitch Flex QOS ACL
sysORDescr.62 = UnifiSwitch Flex QOS COS
sysORDescr.63 = UnifiSwitch Flex QOS VOIP
sysORDescr.64 = UnifiSwitch Flex QOS DiffServ Private MIBs' definitions
]
SNMP STATUS[TRUE]
SNMPv2-MIB RMON-MIB SNMP-FRAMEWORK-MIB 

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

SQL[UPDATE `entity_attribs` set `attrib_value` ='[\"RMON-MIB\"]' WHERE `entity_type` = 'device' AND `entity_id` = '7' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00024390s]

+-----------------------+--------------------+---------------------------------------------+
| OID                   | MIB                | Status                                      |
+-----------------------+--------------------+---------------------------------------------+
| .1.3.6.1.6.3.1        | SNMPv2-MIB         | MIB already known through device mapping    |
| .1.3.6.1.2.1.16.20.8  | RMON-MIB           | MIB added through sysORID (MODULE-IDENTITY) |
| .1.3.6.1.6.3.10       | SNMP-FRAMEWORK-MIB | MIB already known through device mapping    |
| .1.3.6.1.2.1.16.20.5  |                    | MIB unused                                  |
| .1.3.6.1.2.1.16.29    |                    | MIB unused                                  |
| .1.3.6.1.2.1.78       |                    | MIB unused                                  |
| .1.3.6.1.4.1.4413     |                    | MIB unused                                  |
| .1.3.6.1.6.3.18       |                    | MIB unused                                  |
| .1.3.6.1.6.3.11       |                    | MIB unused                                  |
| .1.3.6.1.6.3.13       |                    | MIB unused                                  |
| .1.3.6.1.6.3.12       |                    | MIB unused                                  |
| .1.3.6.1.6.3.15       |                    | MIB unused                                  |
| .1.3.6.1.6.3.16       |                    | MIB unused                                  |
| .1.3.6.1.4.1.99.12.46 |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
|                       |                    | MIB unused                                  |
+-----------------------+--------------------+---------------------------------------------+


 o Duration             0.2375s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.2433',`force_discovery` ='0' WHERE `device_id` = '7']
SQL RUNTIME[0.00273705s]
#####  10.5.5.13 [7] completed discovery modules at 2019-09-19 18:01:40  #####

 o Discovery time       0.2433 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '1617' AND `process_name` = 'discovery.php' AND `device_id` = '7']
SQL RUNTIME[0.00150299s]
#####  Finished discovery run at 2019-09-19 18:01:40  #####

./discovery.php: 10.5.5.13 - 1 devices discovered in 0.340 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1568916099']
SQL RUNTIME[0.00021291s]
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.340 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[5/0.002s] Row[6/0.002s] Rows[6/0.003s] Column[0/0s] Update[2/0.003s] Insert[1/0.004s] Delete[1/0.002s] 
 o RRDTool Usage        
tyshawn@observium:/opt/observium$ ./discovery.php -d -m os -h 10.5.5.16
DEBUG!

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

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

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.00007892s]
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.00012708s]

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

CMD[/bin/hostname -f]

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

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                      Observium Community Edition 18.9.9420
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0116s]
STDOUT[
Linux|4.15.0-55-generic|amd64|Ubuntu|18.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0024s]
STDOUT[
Python 2.7.15+
]

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

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

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

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

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0282s]
STDOUT[
Apache/2.4.29
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0013s]
CMD EXITDELAY[10ms]
STDOUT[
-04:00
]

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

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

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

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

 o OS                   Linux 4.15.0-55-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.29
 o PHP                  7.2.19-0ubuntu0.18.04.2 (OPcache: DISABLED)
 o Python               2.7.15+
 o MySQL                5.7.27-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (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, 19-Sep-19 18:01:46 EDT
 o PHP                  -04:00
 o MySQL                -04:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00013494s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00012207s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00015187s]
There is a newer revision of Observium available!
Version 19.8 (19th September 2019) is 580 revisions ahead.

#####  Starting discovery run at 2019-09-19 18:01:46  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0093s]
STDOUT[
sysObjectID.0 = enterprises.41112
sysUpTime.0 = 9:23:39:39.22
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('1656','discovery.php','1460','1000','php ./discovery.php -d -m os -h 10.5.5.16','1568930506','4')]
SQL RUNTIME[0.03407979s]
#####  10.5.5.16 [4]  #####

 o OS Type              unifi-switch
 o OS Group             fastpath
 o SNMP Version         v2c
 o Last discovery       2019-09-19 12:33:17
 o Last duration        0.84 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.0092s]
STDOUT[
USW-5-Flex, 4.0.59.10700
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0094s]
STDOUT[
.1.3.6.1.4.1.41112
]
SNMP STATUS[TRUE]
+-------------+--------------------------+
| OID         |                          |
+-------------+--------------------------+
| sysDescr    | USW-5-Flex, 4.0.59.10700 |
| sysObjectID | .1.3.6.1.4.1.41112       |
+-------------+--------------------------+

 o Detect OS matched (unifi-switch: Ubiquiti UniFi Switch): 
+----------+--------------------+--------------------------+
| OID      | Matched definition |                          |
+----------+--------------------+--------------------------+
| sysDescr | /^USW\-/           | USW-5-Flex, 4.0.59.10700 |
+----------+--------------------+--------------------------+

 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.0083s]
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 ***@# -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.16':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0097s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2.1 = .1.3.6.1.6.3.16.2.2.1
.1.3.6.1.2.1.1.9.1.2.2 = .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.6.3.11.3.1.1
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.6.3.10.3.1.1
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
STDOUT[
sysORDescr.1 = View-based Access Control Model for SNMP.
sysORDescr.2 = The MIB module for SNMPv2 entities
sysORDescr.3 = The MIB for Message Processing and Dispatching.
sysORDescr.4 = The management information definitions for the SNMP User-based Security Model.
sysORDescr.5 = The SNMP Management Architecture MIB.
]
SNMP STATUS[TRUE]
SNMPv2-MIB SNMP-FRAMEWORK-MIB 

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

+-----------------------+--------------------+------------------------------------------+
| OID                   | MIB                | Status                                   |
+-----------------------+--------------------+------------------------------------------+
| .1.3.6.1.6.3.1        | SNMPv2-MIB         | MIB already known through device mapping |
| .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.16.2.2.1 |                    | MIB unused                               |
| .1.3.6.1.6.3.11.3.1.1 |                    | MIB unused                               |
| .1.3.6.1.6.3.15.2.1.1 |                    | MIB unused                               |
+-----------------------+--------------------+------------------------------------------+


 o Duration             0.0844s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.1204',`force_discovery` ='0' WHERE `device_id` = '4']
SQL RUNTIME[0.00185704s]
#####  10.5.5.16 [4] completed discovery modules at 2019-09-19 18:01:46  #####

 o Discovery time       0.1204 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '1656' AND `process_name` = 'discovery.php' AND `device_id` = '4']
SQL RUNTIME[0.00174308s]
#####  Finished discovery run at 2019-09-19 18:01:46  #####

./discovery.php: 10.5.5.16 - 1 devices discovered in 0.217 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1568916106']
SQL RUNTIME[0.00023699s]
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.217 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[4/0.001s] Row[6/0.002s] Rows[6/0.004s] Column[0/0s] Update[1/0.002s] Insert[1/0.034s] Delete[2/0.003s] 
 o RRDTool Usage        
tyshawn@observium:/opt/observium$ ./discovery.php -d -m os -h 10.5.5.8
DEBUG!

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

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

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.00007796s]
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.00013709s]

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

CMD[/bin/hostname -f]

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

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                      Observium Community Edition 18.9.9420
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0119s]
STDOUT[
Linux|4.15.0-55-generic|amd64|Ubuntu|18.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
Python 2.7.15+
]

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

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

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

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

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0274s]
STDOUT[
Apache/2.4.29
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0013s]
CMD EXITDELAY[10ms]
STDOUT[
-04:00
]

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

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

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

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

 o OS                   Linux 4.15.0-55-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.29
 o PHP                  7.2.19-0ubuntu0.18.04.2 (OPcache: DISABLED)
 o Python               2.7.15+
 o MySQL                5.7.27-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (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, 19-Sep-19 18:03:15 EDT
 o PHP                  -04:00
 o MySQL                -04:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00028110s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00020790s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00027299s]
There is a newer revision of Observium available!
Version 19.8 (19th September 2019) is 580 revisions ahead.

#####  Starting discovery run at 2019-09-19 18:03:15  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0118s]
STDOUT[
sysObjectID.0 = enterprises.8072.3.2.10
sysUpTime.0 = 9:23:40:30.37
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('2440','discovery.php','1460','1000','php ./discovery.php -d -m os -h 10.5.5.8','1568930595','3')]
SQL RUNTIME[0.00260806s]
#####  10.5.5.8 [3]  #####

 o OS Type              linux
 o OS Group             unix
 o SNMP Version         v2c
 o Last discovery       2019-09-19 12:38:35
 o Last duration        9.97 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.0114s]
STDOUT[
Linux UBNT 4.9.65 #0 Thu Aug 30 12:10:54 2018 mips
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0112s]
STDOUT[
.1.3.6.1.4.1.8072.3.2.10
]
SNMP STATUS[TRUE]
+-------------+----------------------------------------------------+
| OID         |                                                    |
+-------------+----------------------------------------------------+
| sysDescr    | Linux UBNT 4.9.65 #0 Thu Aug 30 12:10:54 2018 mips |
| sysObjectID | .1.3.6.1.4.1.8072.3.2.10                           |
+-------------+----------------------------------------------------+


CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m CHECKPOINT-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/checkpoint 'udp':'10.5.5.8':'161' osName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0179s]
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 ***@# -Pu -OQUv -m READYNAS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/netgear 'udp':'10.5.5.8':'161' nasMgrSoftwareVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0145s]
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 ***@# -Pu -OQUv -m SFA-INFO -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/ddn 'udp':'10.5.5.8':'161' systemName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0108s]
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 ***@# -Pu -OQUv -m HOST-RESOURCES-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' hrSystemInitialLoadParameters.0]

CMD EXITCODE[0]
CMD RUNTIME[0.013s]
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 ***@# -Pu -OQUv -m SYNOLOGY-SYSTEM-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/synology 'udp':'10.5.5.8':'161' modelName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0116s]
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 ***@# -Pu -OQUv -m ZXTM-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/riverbed 'udp':'10.5.5.8':'161' version.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0145s]
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 ***@# -Pu -OQUv -m JETNEXUS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/jetnexus 'udp':'10.5.5.8':'161' jetnexusVersionInfo.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]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m TELTONIKA-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/teltonika 'udp':'10.5.5.8':'161' RouterName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.017s]
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 ***@# -Pu -OQUv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' sysName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.012s]
STDOUT[
UBNT
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -OQUv -m UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' upsIdentManufacturer.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0123s]
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 ***@# -Pu -OQUv -m SP2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.5.5.8':'161' powerSystemStatus.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0174s]
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 ***@# -Pu -OQUv -m HIK-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hikvision 'udp':'10.5.5.8':'161' deviceType.0]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0108s]
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 ***@# -Pu -OQUv -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' prtGeneralServicePerson.1]

CMD EXITCODE[0]
CMD RUNTIME[0.016s]
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 ***@# -Pu -OQUv -m NSCRTV-ROOT -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/nscrtv 'udp':'10.5.5.8':'161' commonDeviceVendorInfo.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0128s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Including /opt/observium/includes/discovery/os/linux.inc.php

CMD[/usr/bin/snmpget -v2c -c ***@# -Pu -Osqnv -m IEEE802dot11-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' dot11manufacturerName.5]

CMD EXITCODE[0]
CMD RUNTIME[0.0142s]
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 ***@# -Pu -OqvU -m UNCDZ-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/carel 'udp':'10.5.5.8':'161' temp-mand.0]

CMD EXITCODE[0]
CMD RUNTIME[0.012s]
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 ***@# -Pu -OqvU -m CAREL-ug40cdz-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/carel 'udp':'10.5.5.8':'161' roomTemp.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0136s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
 o Detect OS matched (linux: Linux): 
+------+--------------------+--+
| OID  | Matched definition |  |
+------+--------------------+--+
| file |                    |  |
+------+--------------------+--+

 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.0085s]
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 ***@# -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.5.5.8':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0134s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2.1 = .1.3.6.1.6.3.16.2.2.1
.1.3.6.1.2.1.1.9.1.2.2 = .1.3.6.1.6.3.1
.1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.6.3.11.3.1.1
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.6.3.15.2.1.1
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.6.3.10.3.1.1
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0136s]
STDOUT[
sysORDescr.1 = View-based Access Control Model for SNMP.
sysORDescr.2 = The MIB module for SNMPv2 entities
sysORDescr.3 = The MIB for Message Processing and Dispatching.
sysORDescr.4 = The management information definitions for the SNMP User-based Security Model.
sysORDescr.5 = The SNMP Management Architecture MIB.
]
SNMP STATUS[TRUE]
SNMPv2-MIB SNMP-FRAMEWORK-MIB 

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

+-----------------------+--------------------+------------------------------------------+
| OID                   | MIB                | Status                                   |
+-----------------------+--------------------+------------------------------------------+
| .1.3.6.1.6.3.1        | SNMPv2-MIB         | MIB already known through device mapping |
| .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.16.2.2.1 |                    | MIB unused                               |
| .1.3.6.1.6.3.11.3.1.1 |                    | MIB unused                               |
| .1.3.6.1.6.3.15.2.1.1 |                    | MIB unused                               |
+-----------------------+--------------------+------------------------------------------+


 o Duration             0.373s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.377',`force_discovery` ='0' WHERE `device_id` = '3']
SQL RUNTIME[0.00247884s]
#####  10.5.5.8 [3] completed discovery modules at 2019-09-19 18:03:16  #####

 o Discovery time       0.377 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '2440' AND `process_name` = 'discovery.php' AND `device_id` = '3']
SQL RUNTIME[0.00173593s]
#####  Finished discovery run at 2019-09-19 18:03:16  #####

./discovery.php: 10.5.5.8 - 1 devices discovered in 0.478 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1568916195']
SQL RUNTIME[0.00022602s]
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.478 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[4/0.002s] Row[6/0.003s] Rows[6/0.003s] Column[0/0s] Update[1/0.003s] Insert[1/0.003s] Delete[2/0.002s] 
 o RRDTool Usage        
tyshawn@observium:/opt/observium$ ./discovery.php -d -m os -h 10.5.5.229
DEBUG!

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

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

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.00008392s]
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.00023818s]

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

CMD[/bin/hostname -f]

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

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                      Observium Community Edition 18.9.9420
                                   http://www.observium.org


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0121s]
STDOUT[
Linux|4.15.0-55-generic|amd64|Ubuntu|18.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
Python 2.7.15+
]

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.006s]
STDOUT[
RRDtool 1.7.0  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 4.0
/usr/bin/fping: comments to david@schweikert.ch
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0283s]
STDOUT[
Apache/2.4.29
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0013s]
CMD EXITDELAY[10ms]
STDOUT[
-04:00
]

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

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

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

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

 o OS                   Linux 4.15.0-55-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.29
 o PHP                  7.2.19-0ubuntu0.18.04.2 (OPcache: DISABLED)
 o Python               2.7.15+
 o MySQL                5.7.27-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (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, 19-Sep-19 18:03:21 EDT
 o PHP                  -04:00
 o MySQL                -04:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00014710s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00032806s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00018001s]
There is a newer revision of Observium available!
Version 19.8 (19th September 2019) is 580 revisions ahead.

#####  Starting discovery run at 2019-09-19 18:03:21  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE '10.5.5.229' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00040221s]
#####  Finished discovery run at 2019-09-19 18:03:21  #####

WARNING: 0 devices discovered. Did you specify a device that does not exist?
./discovery.php: 10.5.5.229 - 0 devices discovered in 0.080 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1568916201']
SQL RUNTIME[0.00027680s]
NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
 o Devices Discovered   0
 o Discovery Time       0.080 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[4/0.001s] Row[6/0.002s] Rows[4/0.003s] Column[0/0s] Update[0/0s] Insert[0/0s] Delete[0/0s] 
 o RRDTool Usage        
tyshawn@observium:/opt/observium$ exit
logout