DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0131s]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/trunk
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 10425
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 10425
Last Changed Date: 2020-05-12 15:17:37 +0200 (Tue, 12 May 2020)

]

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

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

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

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

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

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.005s]
STDOUT[
glo-lnx98.fqdn.net
]

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.018s]
STDOUT[
Linux|3.10.0-1127.el7.x86_64|amd64|CentOS|7|vmware|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0029s]
STDOUT[
Python 2.7.5
]

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

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

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0022s]
CMD EXITDELAY[10ms]
STDOUT[
/usr/sbin/fping: Version 3.10
/usr/sbin/fping: comments to david@schweikert.ch
]

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

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

]

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

CMD EXITCODE[0]
CMD RUNTIME[0.03s]
STDOUT[
Apache/2.4.41
]

CMD[date "+%:z"]

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

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

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

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

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

 o OS                   Linux 3.10.0-1127.el7.x86_64 [amd64] (CentOS 7)
 o Apache               2.4.41
 o PHP                  7.3.17
 o Python               2.7.5
 o MySQL                10.3.22-MariaDB-log (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.2
 o RRDtool              1.7.1
 o Fping                3.10 (IPv4 only)

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

 o PHP                  512MB

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

 o MySQL                NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

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

 o PHP                  UTF-8
 o MySQL                utf8

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

 o Date                 Tuesday, 12-May-20 16:09:51 CEST
 o PHP                  +02:00
 o MySQL                +02:00

#####  Starting discovery run at 2020-05-12 16:09:51  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0551s]
STDOUT[
sysObjectID.0 = enterprises.41916.3.2.12
sysUpTime.0 = 68:3:22:19.29
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('23521','discovery.php','29849','0','php ./discovery.php -h 433 -d -m ports','1589292591','433')]
SQL RUNTIME[0.00273514s]
#####  viptela.fqdn.net [433]  #####

 o OS Type              viptela
 o SNMP Version         v2c
 o Last discovery       2020-05-12 16:08:31
 o Last duration        3.66 seconds

#####  Module Start: ports  #####

 o Caching OIDs         
SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '433' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00015688s]
ifDescr 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'viptela.fqdn.net':'161' ifDescr]

CMD EXITCODE[0]
CMD RUNTIME[0.064s]
STDOUT[
ifDescr.1 = ge0/0
ifDescr.2 = ge0/1
ifDescr.3 = system
ifDescr.4 = ge0/0.39
ifDescr.5 = loopback0
ifDescr.6 = loopback100
ifDescr.7 = eth0
ifDescr.8 = gre1
ifDescr.9 = gre2
]
SNMP STATUS[TRUE]
ifAlias 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'viptela.fqdn.net':'161' ifAlias]

CMD EXITCODE[0]
CMD RUNTIME[0.0584s]
STDOUT[
ifAlias.1 = 
ifAlias.2 = 
ifAlias.3 = 
ifAlias.4 = 
ifAlias.5 = 
ifAlias.6 = 
ifAlias.7 = 
ifAlias.8 = 
ifAlias.9 = 
]
SNMP STATUS[TRUE]
ifName 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'viptela.fqdn.net':'161' ifName]

CMD EXITCODE[0]
CMD RUNTIME[0.0624s]
STDOUT[
ifName.1 = ge0/0
ifName.2 = ge0/1
ifName.3 = system
ifName.4 = ge0/0.39
ifName.5 = loopback0
ifName.6 = loopback100
ifName.7 = eth0
ifName.8 = gre1
ifName.9 = gre2
]
SNMP STATUS[TRUE]
ifType 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'viptela.fqdn.net':'161' ifType]

CMD EXITCODE[0]
CMD RUNTIME[0.0591s]
STDOUT[
ifType.1 = ethernetCsmacd
ifType.2 = ethernetCsmacd
ifType.3 = ethernetCsmacd
ifType.4 = ethernetCsmacd
ifType.5 = ethernetCsmacd
ifType.6 = ethernetCsmacd
ifType.7 = ethernetCsmacd
ifType.8 = ethernetCsmacd
ifType.9 = ethernetCsmacd
]
SNMP STATUS[TRUE]
ifOperStatus 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'viptela.fqdn.net':'161' ifOperStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0593s]
STDOUT[
ifOperStatus.1 = up
ifOperStatus.2 = up
ifOperStatus.3 = up
ifOperStatus.4 = up
ifOperStatus.5 = up
ifOperStatus.6 = up
ifOperStatus.7 = up
ifOperStatus.8 = up
ifOperStatus.9 = up
]
SNMP STATUS[TRUE]

 o VIPTELA-OPER-VPN     interfaceTable interfaceIfindex 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m VIPTELA-OPER-VPN -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco 'udp':'viptela.fqdn.net':'161' interfaceIfindex]

CMD EXITCODE[0]
CMD RUNTIME[0.1431s]
STDOUT[
interfaceIfindex.0."gre1".ipv4 = 8
interfaceIfindex.0."gre1".ipv6 = 8
interfaceIfindex.0."gre2".ipv4 = 9
interfaceIfindex.0."gre2".ipv6 = 9
interfaceIfindex.0."ge0/0".ipv4 = 1
interfaceIfindex.0."ge0/0".ipv6 = 1
interfaceIfindex.0."system".ipv4 = 3
interfaceIfindex.0."system".ipv6 = 3
interfaceIfindex.0."ge0/0.39".ipv4 = 4
interfaceIfindex.0."ge0/0.39".ipv6 = 4
interfaceIfindex.1."ge0/1".ipv4 = 2
interfaceIfindex.1."loopback0".ipv4 = 5
interfaceIfindex.1."loopback100".ipv4 = 6
interfaceIfindex.512."eth0".ipv4 = 7
]
SNMP STATUS[TRUE]
interfaceDesc 
CMD[/usr/bin/snmpbulkwalk -t '10' -v2c -c *** -Pud -OQUs -m VIPTELA-OPER-VPN -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco 'udp':'viptela.fqdn.net':'161' interfaceDesc]

CMD EXITCODE[0]
CMD RUNTIME[0.1227s]
STDOUT[
interfaceDesc.0."gre1".ipv4 = PrimaryTunnel-To-Zscaler-London 
interfaceDesc.0."gre1".ipv6 = PrimaryTunnel-To-Zscaler-London 
interfaceDesc.0."gre2".ipv4 = PrimaryTunnel-To-Zscaler-Manches
interfaceDesc.0."gre2".ipv6 = PrimaryTunnel-To-Zscaler-Manches
interfaceDesc.0."ge0/0".ipv4 = Public INET
interfaceDesc.0."ge0/0".ipv6 = Public INET
interfaceDesc.0."ge0/0.39".ipv4 = Circuit ID: C3025527/E3074734; P
interfaceDesc.0."ge0/0.39".ipv6 = Circuit ID: C3025527/E3074734; P
interfaceDesc.1."ge0/1".ipv4 =  Customer LAN
interfaceDesc.512."eth0".ipv4 = Management
]
SNMP STATUS[TRUE]
[]


  /opt/observium/includes/discovery/ports.inc.php:45 
array(
  [1] => array(
           [ifDescr]      => string(5) "ge0/0"
           [ifAlias]      => string(0) ""
           [ifName]       => string(5) "ge0/0"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [2] => array(
           [ifDescr]      => string(5) "ge0/1"
           [ifAlias]      => string(0) ""
           [ifName]       => string(5) "ge0/1"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [3] => array(
           [ifDescr]      => string(6) "system"
           [ifAlias]      => string(0) ""
           [ifName]       => string(6) "system"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [4] => array(
           [ifDescr]      => string(8) "ge0/0.39"
           [ifAlias]      => string(0) ""
           [ifName]       => string(8) "ge0/0.39"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [5] => array(
           [ifDescr]      => string(9) "loopback0"
           [ifAlias]      => string(0) ""
           [ifName]       => string(9) "loopback0"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [6] => array(
           [ifDescr]      => string(11) "loopback100"
           [ifAlias]      => string(0) ""
           [ifName]       => string(11) "loopback100"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [7] => array(
           [ifDescr]      => string(4) "eth0"
           [ifAlias]      => string(0) ""
           [ifName]       => string(4) "eth0"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [8] => array(
           [ifDescr]      => string(4) "gre1"
           [ifAlias]      => string(0) ""
           [ifName]       => string(4) "gre1"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [9] => array(
           [ifDescr]      => string(4) "gre2"
           [ifAlias]      => string(0) ""
           [ifName]       => string(4) "gre2"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
)
 o Caching DB           
SQL[SELECT * FROM `ports` WHERE `device_id` = '433']
SQL RUNTIME[0.00046682s]
9 ports
 o Discovering ports    .........
+---------+-------------+-------------+---------+----------------+-------------+---------+
| ifIndex | ifDescr     | ifName      | ifAlias | ifType         | Oper Status | Ignored |
+---------+-------------+-------------+---------+----------------+-------------+---------+
| 1       | ge0/0       | ge0/0       | ...     | ethernetCsmacd | up          | no      |
| 2       | ge0/1       | ge0/1       | ...     | ethernetCsmacd | up          | no      |
| 3       | system      | system      | ...     | ethernetCsmacd | up          | no      |
| 4       | ge0/0.39    | ge0/0.39    | ...     | ethernetCsmacd | up          | no      |
| 5       | loopback0   | loopback0   | ...     | ethernetCsmacd | up          | no      |
| 6       | loopback100 | loopback100 | ...     | ethernetCsmacd | up          | no      |
| 7       | eth0        | eth0        | ...     | ethernetCsmacd | up          | no      |
| 8       | gre1        | gre1        | ...     | ethernetCsmacd | up          | no      |
| 9       | gre2        | gre2        | ...     | ethernetCsmacd | up          | no      |
+---------+-------------+-------------+---------+----------------+-------------+---------+


 o Duration             0.5915s


SQL[UPDATE `devices` SET `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.595',`force_discovery` ='0' WHERE `device_id` = '433']
SQL RUNTIME[0.00227904s]
#####  viptela.fqdn.net [433] completed discovery modules at 2020-05-12 16:09:51  #####

 o Discovery time       0.595 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '23521' AND `process_name` = 'discovery.php' AND `device_id` = '433']
SQL RUNTIME[0.00187206s]
#####  Finished discovery run at 2020-05-12 16:09:51  #####

./discovery.php: viptela.fqdn.net - 1 devices discovered in 0.754 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1589278191']
SQL RUNTIME[0.00015879s]
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.754 secs
 o Memory usage         16MB (peak: 16MB)
 o MySQL Usage          Cell[4/0.001s] Row[2/0s] Rows[8/0.003s] Column[1/0s] Update[1/0.002s] Insert[1/0.003s] Delete[1/0.002s] 
 o RRDTool Usage