[root@observium observium]# ./discovery.php -h ithbresopesx01.sec.local -dd
DEBUG!
Load class 'Console_Color2' from '/opt/observium/libs/pear/Console/Color2.php': OK
DEBUG: is_cli() == TRUE, PHP_SAPI: 'cli', REMOTE_ADDR: ''
CMD[/usr/bin/svn info /opt/observium]

CMD EXITCODE[0]
CMD RUNTIME[0.0104s]
CMD EXITDELAY[5ms]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: https://svn.observium.org/svn/observium/branches/stable
Relative URL: ^/observium/branches/stable
Repository Root: https://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 13600
Node Kind: directory
Schedule: normal
Last Changed Author: adama
Last Changed Rev: 13582
Last Changed Date: 2024-06-10 16:46:55 +0200 (Mon, 10 Jun 2024)

]


 > $observium_version /opt/observium/includes/definitions/version.inc.php:82
string(10) "24.6.13582"


 > $observium_version_long /opt/observium/includes/definitions/version.inc.php:83
string(19) "24.6.13582 (stable)"


 > $svn_train /opt/observium/includes/definitions/version.inc.php:84
string(6) "stable"
DEFINITIONS Time  : 0.148017 ms

DEFINITIONS Memory: 2.99MB


SQL[Load class 'Doctrine\SqlFormatter\SqlFormatter' from '/opt/observium/libs/Doctrine/SqlFormatter/SqlFormatter.php': OK
Load class 'Doctrine\SqlFormatter\Tokenizer' from '/opt/observium/libs/Doctrine/SqlFormatter/Tokenizer.php': OK
Load class 'Doctrine\SqlFormatter\Highlighter' from '/opt/observium/libs/Doctrine/SqlFormatter/Highlighter.php': OK
Load class 'Doctrine\SqlFormatter\CliHighlighter' from '/opt/observium/libs/Doctrine/SqlFormatter/CliHighlighter.php': OK
Load class 'Doctrine\SqlFormatter\Token' from '/opt/observium/libs/Doctrine/SqlFormatter/Token.php': OK
Load class 'Doctrine\SqlFormatter\Cursor' from '/opt/observium/libs/Doctrine/SqlFormatter/Cursor.php': OK
SELECT * FROM `observium_attribs`]
ROWS[22]
SQL RUNTIME[0.00025678s]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[7.796E-5s]

SQL[SET SESSION `sql_mode` = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION']
ROWS[0]
SQL RUNTIME[6.39E-5s]
DB mode(s) disabled: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
ROWS[1]
SQL RUNTIME[7.391E-5s]
DB timezone different from php timezone. Syncing..

SQL[SELECT VERSION();]
ROWS[1]
SQL RUNTIME[5.984E-5s]

SQL[SET SESSION time_zone='+00:00';]
ROWS[0]
SQL RUNTIME[5.007E-5s]

SQL[SELECT * FROM `config`]
ROWS[22]
SQL RUNTIME[0.00010681s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0035s]
STDOUT[
/usr/sbin/fping: Version 5.0
]

SQL[SELECT EXISTS (SELECT 1 FROM `pollers`)]
ROWS[1]
SQL RUNTIME[0.00012898s]

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0251s]
STDOUT[
Linux|5.15.0-208.159.3.el9uek.x86_64|amd64|Oracle Linux|9.4|vmware|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0067s]
STDOUT[
Python 3.9.18
]

SQL[SELECT VERSION();]
ROWS[1]
SQL RUNTIME[0.00015306s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0033s]
STDOUT[
NET-SNMP version: 5.9.1
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0225s]
STDOUT[
RRDtool 1.7.2  Copyright by Tobias Oetiker
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0018s]
STDOUT[
/usr/sbin/fping: Version 5.0
]

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

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

]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0415s]
STDOUT[
Apache/2.4.57
]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00016403s]

SQL[SHOW VARIABLES LIKE 'log_bin']
ROWS[1]
SQL RUNTIME[0.00049305s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
ROWS[1]
SQL RUNTIME[0.00038695s]

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

 o OS                   Linux 5.15.0-208.159.3.el9uek.x86_64 [amd64] (Oracle Linux 9.4)
 o Apache               2.4.57
 o PHP                  8.2.21 (OPcache: ENABLED)
 o Python               3.9.18
 o MariaDB              10.5.22-MariaDB (extension: mysqli 8.2.21)
 o SNMP                 NET-SNMP 5.9.1
 o RRDtool              1.7.2
 o Fping                5.0 (IPv4 and IPv6)
 o Fetch                cURL 7.76.1 (OpenSSL/3.0.7, LibZ 1.2.11, LibIDN 2.3.0)

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

 o PHP                  512MB

#####  DB info  #####

 o DB schema            493
 o MariaDB binlog       OFF
 o MariaDB mode         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

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

 o PHP                  UTF-8
 o MariaDB              utf8

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

 o Date                 Monday, 15-Jul-24 12:07:21 UTC
 o PHP                  +00:00
 o MariaDB              +02:00

#####  Starting discovery run at 2024-07-15 12:07:21  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'ithbresopesx01.sec.local' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC]
ROWS[1]
SQL RUNTIME[0.00106192s]
Return cached 'ithbresopesx01.sec.local' = ''



 > $cache['is_pingable'][$host] /opt/observium/includes/functions.inc.php:1705
null

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.3.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0212s]
CMD EXITDELAY[5ms]
STDOUT[
.1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.6876.4.1
.1.3.6.1.2.1.1.3.0 = 4:2:20:57.00
]
SNMP STATUS[TRUE]

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

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '342' AND `poller_id` = '0']
ROWS[1]
SQL RUNTIME[0.00017309s]

SQL[DELETE FROM `observium_processes` WHERE `process_id` = '131019887']
ROWS[1]
SQL RUNTIME[0.00073099s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('288815','discovery.php','5906','0','php ./discovery.php -h ithbresopesx01.sec.local -dd','1721045240','342')]
ROWS[1]
SQL RUNTIME[0.00029588s]
#####  ithbresopesx01.sec.local [342]  #####



 > $device_discovery_cache_keys /opt/observium/includes/discovery/functions.inc.php:804
array(
  [0] => string(10) "db_version"
  [1] => string(8) "timezone"
  [2] => string(8) "versions"
  [3] => string(14) "entity_attribs"
  [4] => string(18) "entity_attribs_all"
)


 > $sysORID /opt/observium/includes/entities.inc.php:430
array(
  [0] => string(7) "UDP-MIB"
  [1] => string(7) "TCP-MIB"
  [2] => string(21) "IEEE8021-Q-BRIDGE-MIB"
  [3] => string(16) "IEEE8023-LAG-MIB"
  [4] => string(11) "LLDP-V2-MIB"
  [5] => string(17) "VMWARE-SYSTEM-MIB"
)

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '342' AND `use` = 'mib' AND `disabled` = '1']
ROWS[0]
SQL RUNTIME[0.00023103s]


 > get_device_mibs_permitted($device) /opt/observium/includes/discovery/functions.inc.php:806
array(
  [0]  => string(7) "UDP-MIB"
  [1]  => string(7) "TCP-MIB"
  [2]  => string(21) "IEEE8021-Q-BRIDGE-MIB"
  [3]  => string(16) "IEEE8023-LAG-MIB"
  [4]  => string(11) "LLDP-V2-MIB"
  [5]  => string(17) "VMWARE-SYSTEM-MIB"
  [6]  => string(14) "LM-SENSORS-MIB"
  [7]  => string(17) "VMWARE-VMINFO-MIB"
  [8]  => string(20) "VMWARE-RESOURCES-MIB"
  [9]  => string(8) "LLDP-MIB"
  [10] => string(12) "UCD-SNMP-MIB"
  [11] => string(18) "HOST-RESOURCES-MIB"
  [12] => string(10) "SNMPv2-MIB"
  [13] => string(18) "SNMP-FRAMEWORK-MIB"
  [14] => string(6) "IF-MIB"
  [15] => string(13) "ADSL-LINE-MIB"
  [16] => string(13) "EtherLike-MIB"
  [17] => string(10) "ENTITY-MIB"
  [18] => string(17) "ENTITY-SENSOR-MIB"
  [19] => string(12) "Q-BRIDGE-MIB"
  [20] => string(6) "IP-MIB"
  [21] => string(8) "IPV6-MIB"
  [22] => string(13) "CISCO-CDP-MIB"
  [23] => string(10) "PW-STD-MIB"
  [24] => string(15) "DISMAN-PING-MIB"
  [25] => string(8) "BGP4-MIB"
)
 o OS Type              vmware
 o OS Group             unix
 o SNMP Version         v2c
 o Last discovery       2024-06-17 16:36:15
 o Last duration        373.76 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.0227s]
STDOUT[
VMware ESXi 6.7.0 build-20497097 VMware, Inc. x86_64
]
SNMP STATUS[TRUE]
Store in cache OID: SNMPv2-MIB::sysDescr.0

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

CMD EXITCODE[0]
CMD RUNTIME[0.0267s]
STDOUT[
.1.3.6.1.4.1.6876.4.1
]
SNMP STATUS[TRUE]
Load class 'cli\Table' from '/opt/observium/libs/cli/Table.php': OK
Load class 'cli\Shell' from '/opt/observium/libs/cli/Shell.php': OK
Load class 'cli\table\Renderer' from '/opt/observium/libs/cli/table/Renderer.php': OK
Load class 'cli\table\Ascii' from '/opt/observium/libs/cli/table/Ascii.php': OK
Load class 'cli\Colors' from '/opt/observium/libs/cli/Colors.php': OK
Load class 'cli\Streams' from '/opt/observium/libs/cli/Streams.php': OK
+-------------+------------------------------------------------------+
| OID         |                                                      |
+-------------+------------------------------------------------------+
| sysDescr    | VMware ESXi 6.7.0 build-20497097 VMware, Inc. x86_64 |
| sysObjectID | .1.3.6.1.4.1.6876.4.1                                |
+-------------+------------------------------------------------------+

 o Detect OS matched (vmware: VMware):
+-------------+-----------------------+-----------------------+
| OID         | Matched definition    |                       |
+-------------+-----------------------+-----------------------+
| sysObjectID | .1.3.6.1.4.1.6876.4.1 | .1.3.6.1.4.1.6876.4.1 |
+-------------+-----------------------+-----------------------+


 o Duration             0.0738s

#####  Module Start: mibs  #####


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

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
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 'sorintsec' -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0653s]
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.2.1.4
.1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.2.1.4.24
.1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.2.1.7
.1.3.6.1.2.1.1.9.1.2.6 = .1.3.6.1.2.1.6
.1.3.6.1.2.1.1.9.1.2.7 = .1.3.6.1.2.1.47
.1.3.6.1.2.1.1.9.1.2.8 = .1.3.111.2.802.1.1.2
.1.3.6.1.2.1.1.9.1.2.9 = .1.3.111.2.802.1.1.4
.1.3.6.1.2.1.1.9.1.2.10 = .1.2.840.10006.300.43
.1.3.6.1.2.1.1.9.1.2.11 = .1.3.111.2.802.1.1.13
.1.3.6.1.2.1.1.9.1.2.12 = .1.3.6.1.2.1.25.7.1
.1.3.6.1.2.1.1.9.1.2.13 = .1.3.6.1.4.1.6876.1.10
.1.3.6.1.2.1.1.9.1.2.14 = .1.3.6.1.4.1.6876.2.10
.1.3.6.1.2.1.1.9.1.2.15 = .1.3.6.1.4.1.6876.3.10
.1.3.6.1.2.1.1.9.1.2.16 = .1.3.6.1.4.1.6876.4.90.10
.1.3.6.1.2.1.1.9.1.2.17 = .1.3.6.1.4.1.6876.4.20
]
SNMP STATUS[TRUE]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0207s]
STDOUT[
sysORDescr.1 = SNMPv2-MIB, RFC 3418
sysORDescr.2 = IF-MIB, RFC 2863
sysORDescr.3 = IP-MIB, RFC 4293
sysORDescr.4 = IP-FORWARD-MIB, RFC 4292
sysORDescr.5 = UDP-MIB, RFC 4113
sysORDescr.6 = TCP-MIB, RFC 4022
sysORDescr.7 = ENTITY-MIB, RFC 4133
sysORDescr.8 = IEEE8021-BRIDGE-MIB, REVISION 200810150000Z
sysORDescr.9 = IEEE8021-Q-BRIDGE-MIB, REVISION 200810150000Z
sysORDescr.10 = IEEE8023-LAG-MIB, REVISION 200706200000Z
sysORDescr.11 = LLDP-V2-MIB, REVISION 200906080000Z
sysORDescr.12 = HOST-RESOURCES-MIB, RFC 2790
sysORDescr.13 = VMWARE-SYSTEM-MIB, REVISION 201008020000Z
sysORDescr.14 = VMWARE-VMINFO-MIB, REVISION 201006220000Z
sysORDescr.15 = VMWARE-RESOURCES-MIB, REVISION 200810150000Z
sysORDescr.16 = VMWARE-CIMOM-MIB, REVISION 201008200000Z
sysORDescr.17 = VMWARE-ENV-MIB, REVISION 201005120000Z
]
SNMP STATUS[TRUE]


 > $device_sysORID /opt/observium/includes/discovery/mibs.inc.php:31
array(
  [1]  => array(
            [sysORID]    => string(14) ".1.3.6.1.6.3.1"
            [sysORDescr] => string(20) "SNMPv2-MIB, RFC 3418"
          )
  [2]  => array(
            [sysORID]    => string(15) ".1.3.6.1.2.1.31"
            [sysORDescr] => string(16) "IF-MIB, RFC 2863"
          )
  [3]  => array(
            [sysORID]    => string(14) ".1.3.6.1.2.1.4"
            [sysORDescr] => string(16) "IP-MIB, RFC 4293"
          )
  [4]  => array(
            [sysORID]    => string(17) ".1.3.6.1.2.1.4.24"
            [sysORDescr] => string(24) "IP-FORWARD-MIB, RFC 4292"
          )
  [5]  => array(
            [sysORID]    => string(14) ".1.3.6.1.2.1.7"
            [sysORDescr] => string(17) "UDP-MIB, RFC 4113"
          )
  [6]  => array(
            [sysORID]    => string(14) ".1.3.6.1.2.1.6"
            [sysORDescr] => string(17) "TCP-MIB, RFC 4022"
          )
  [7]  => array(
            [sysORID]    => string(15) ".1.3.6.1.2.1.47"
            [sysORDescr] => string(20) "ENTITY-MIB, RFC 4133"
          )
  [8]  => array(
            [sysORID]    => string(20) ".1.3.111.2.802.1.1.2"
            [sysORDescr] => string(43) "IEEE8021-BRIDGE-MIB, REVISION 200810150000Z"
          )
  [9]  => array(
            [sysORID]    => string(20) ".1.3.111.2.802.1.1.4"
            [sysORDescr] => string(45) "IEEE8021-Q-BRIDGE-MIB, REVISION 200810150000Z"
          )
  [10] => array(
            [sysORID]    => string(21) ".1.2.840.10006.300.43"
            [sysORDescr] => string(40) "IEEE8023-LAG-MIB, REVISION 200706200000Z"
          )
  [11] => array(
            [sysORID]    => string(21) ".1.3.111.2.802.1.1.13"
            [sysORDescr] => string(35) "LLDP-V2-MIB, REVISION 200906080000Z"
          )
  [12] => array(
            [sysORID]    => string(19) ".1.3.6.1.2.1.25.7.1"
            [sysORDescr] => string(28) "HOST-RESOURCES-MIB, RFC 2790"
          )
  [13] => array(
            [sysORID]    => string(22) ".1.3.6.1.4.1.6876.1.10"
            [sysORDescr] => string(41) "VMWARE-SYSTEM-MIB, REVISION 201008020000Z"
          )
  [14] => array(
            [sysORID]    => string(22) ".1.3.6.1.4.1.6876.2.10"
            [sysORDescr] => string(41) "VMWARE-VMINFO-MIB, REVISION 201006220000Z"
          )
  [15] => array(
            [sysORID]    => string(22) ".1.3.6.1.4.1.6876.3.10"
            [sysORDescr] => string(44) "VMWARE-RESOURCES-MIB, REVISION 200810150000Z"
          )
  [16] => array(
            [sysORID]    => string(25) ".1.3.6.1.4.1.6876.4.90.10"
            [sysORDescr] => string(40) "VMWARE-CIMOM-MIB, REVISION 201008200000Z"
          )
  [17] => array(
            [sysORID]    => string(22) ".1.3.6.1.4.1.6876.4.20"
            [sysORDescr] => string(38) "VMWARE-ENV-MIB, REVISION 201005120000Z"
          )
)

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m OSPF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ospfAdminStat.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0189s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'OSPF-MIB', oid: 'ospfAdminStat.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.018874883651733
Store in cache OID: OSPF-MIB::ospfAdminStat.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m OSPFV3-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ospfv3AdminStatus.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0238s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'OSPFV3-MIB', oid: 'ospfv3AdminStatus.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.023823976516724
Store in cache OID: OSPFV3-MIB::ospfv3AdminStatus.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m LLDP-EXT-MED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' lldpXMedLocModelName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0237s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'LLDP-EXT-MED-MIB', oid: 'lldpXMedLocModelName.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.023735046386719
Store in cache OID: LLDP-EXT-MED-MIB::lldpXMedLocModelName.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m NET-SNMP-EXTEND-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' nsExtendNumEntries.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0237s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'NET-SNMP-EXTEND-MIB', oid: 'nsExtendNumEntries.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.023746967315674
Store in cache OID: NET-SNMP-EXTEND-MIB::nsExtendNumEntries.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m ArrayManager-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/dell 'udp':'ithbresopesx01.sec.local':'161' arrayMgrSoftwareProduct.0]

CMD EXITCODE[0]
CMD RUNTIME[0.028s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'ArrayManager-MIB', oid: 'arrayMgrSoftwareProduct.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.027959108352661
Store in cache OID: ArrayManager-MIB::arrayMgrSoftwareProduct.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m CPQSINFO-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hp 'udp':'ithbresopesx01.sec.local':'161' cpqSiProductName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0299s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'CPQSINFO-MIB', oid: 'cpqSiProductName.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.029903173446655
Store in cache OID: CPQSINFO-MIB::cpqSiProductName.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m ARECA-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/areca 'udp':'ithbresopesx01.sec.local':'161' hwControllerBoardInstalled.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0183s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'ARECA-SNMP-MIB', oid: 'hwControllerBoardInstalled.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.018272876739502
Store in cache OID: ARECA-SNMP-MIB::hwControllerBoardInstalled.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'ithbresopesx01.sec.local':'161' upsBasicIdentModel.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0634s]
CMD EXITDELAY[5ms]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'PowerNet-MIB', oid: 'upsBasicIdentModel.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.063416004180908
Store in cache OID: PowerNet-MIB::upsBasicIdentModel.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m LSI-MegaRAID-SAS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/lsi 'udp':'ithbresopesx01.sec.local':'161' mibVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0226s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'LSI-MegaRAID-SAS-MIB', oid: 'mibVersion.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.022648096084595
Store in cache OID: LSI-MegaRAID-SAS-MIB::mibVersion.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m LSI-MegaRAID-SAS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/lsi 'udp':'ithbresopesx01.sec.local':'161' mibVersion.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0184s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'LSI-MegaRAID-SAS-MIB', oid: 'mibVersion.1', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.018368005752563
Store in cache OID: LSI-MegaRAID-SAS-MIB::mibVersion.1

CMD[/usr/bin/snmpgetnext -v2c -c 'sorintsec' -Pud -OQUs -m SUPERMICRO-HEALTH-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/supermicro 'udp':'ithbresopesx01.sec.local':'161' smHealthAllinoneStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0187s]
STDOUT[
snmpModules.11.2.1.1.0 = 0
]
SNMPGETNEXT returned different Oid (snmpModules) instead requested (SUPERMICRO-HEALTH-MIB::smHealthAllinoneStatus).
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpgetnext, options: -OQUs, mib: 'SUPERMICRO-HEALTH-MIB', oid: 'smHealthAllinoneStatus', cmd exitcode: 0,
             snmp error code: #5, reason: 'GETNEXT empty response', runtime: 0.018716096878052

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m SUPERMICRO-HEALTH-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/supermicro 'udp':'ithbresopesx01.sec.local':'161' smHealthMonitorName.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0188s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'SUPERMICRO-HEALTH-MIB', oid: 'smHealthMonitorName.1', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.018785953521729
Store in cache OID: SUPERMICRO-HEALTH-MIB::smHealthMonitorName.1

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m SUPERMICRO-SD5-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/supermicro 'udp':'ithbresopesx01.sec.local':'161' sd5MIBVersion.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0191s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'SUPERMICRO-SD5-MIB', oid: 'sd5MIBVersion.1', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.019052028656006
Store in cache OID: SUPERMICRO-SD5-MIB::sd5MIBVersion.1

CMD[/usr/bin/snmpgetnext -v2c -c 'sorintsec' -Pud -OQUs -m BGP4V2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' bgp4V2PeerLocalAs]

CMD EXITCODE[0]
CMD RUNTIME[0.0165s]
STDOUT[
enterprises.6876.1.1.0 = "VMware ESXi"
]
SNMPGETNEXT returned different Oid (enterprises) instead requested (BGP4V2-MIB::bgp4V2PeerLocalAs).
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpgetnext, options: -OQUs, mib: 'BGP4V2-MIB', oid: 'bgp4V2PeerLocalAs', cmd exitcode: 0,
             snmp error code: #5, reason: 'GETNEXT empty response', runtime: 0.016531944274902

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m StorageManagement-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/dell 'udp':'ithbresopesx01.sec.local':'161' softwareVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0229s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'StorageManagement-MIB', oid: 'softwareVersion.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.02286696434021
Store in cache OID: StorageManagement-MIB::softwareVersion.0

CMD[/usr/bin/snmpget -v2c -c 'sorintsec' -Pud -OQUv -m MIB-Dell-10892 -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/dell 'udp':'ithbresopesx01.sec.local':'161' systemManagementSoftwareName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0268s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpget, options: -OQUv, mib: 'MIB-Dell-10892', oid: 'systemManagementSoftwareName.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.026765108108521
Store in cache OID: MIB-Dell-10892::systemManagementSoftwareName.0
 o MIBs discovered      UDP-MIB TCP-MIB IEEE8021-Q-BRIDGE-MIB IEEE8023-LAG-MIB LLDP-V2-MIB VMWARE-SYSTEM-MIB
+---------------------------+-----------------------+------------+---------------------+
| Identity                  | MIB                   | Source     | Status              |
+---------------------------+-----------------------+------------+---------------------+
| .1.3.6.1.6.3.1            | SNMPv2-MIB            | sysORDescr | MIB already defined |
| .1.3.6.1.2.1.31           | IF-MIB                | sysORDescr | MIB already defined |
| .1.3.6.1.2.1.4            | IP-MIB                | sysORDescr | MIB already defined |
| .1.3.6.1.2.1.4.24         | IP-FORWARD-MIB        | sysORDescr | MIB not used        |
| .1.3.6.1.2.1.7            | UDP-MIB               | sysORDescr | MIB added           |
| .1.3.6.1.2.1.6            | TCP-MIB               | sysORDescr | MIB added           |
| .1.3.6.1.2.1.47           | ENTITY-MIB            | sysORDescr | MIB already defined |
| .1.3.111.2.802.1.1.2      | IEEE8021-BRIDGE-MIB   | sysORDescr | MIB not used        |
| .1.3.111.2.802.1.1.4      | IEEE8021-Q-BRIDGE-MIB | sysORDescr | MIB added           |
| .1.2.840.10006.300.43     | IEEE8023-LAG-MIB      | sysORDescr | MIB added           |
| .1.3.111.2.802.1.1.13     | LLDP-V2-MIB           | sysORDescr | MIB added           |
| .1.3.6.1.2.1.25.7.1       | HOST-RESOURCES-MIB    | sysORDescr | MIB already defined |
| .1.3.6.1.4.1.6876.1.10    | VMWARE-SYSTEM-MIB     | sysORDescr | MIB added           |
| .1.3.6.1.4.1.6876.2.10    | VMWARE-VMINFO-MIB     | sysORDescr | MIB already defined |
| .1.3.6.1.4.1.6876.3.10    | VMWARE-RESOURCES-MIB  | sysORDescr | MIB already defined |
| .1.3.6.1.4.1.6876.4.90.10 | VMWARE-CIMOM-MIB      | sysORDescr | MIB not used        |
| .1.3.6.1.4.1.6876.4.20    | VMWARE-ENV-MIB        | sysORDescr | MIB not used        |
+---------------------------+-----------------------+------------+---------------------+



  /opt/observium/includes/discovery/mibs.inc.php:336
array(
  [0]  => string(7) "UDP-MIB"
  [1]  => string(7) "TCP-MIB"
  [2]  => string(21) "IEEE8021-Q-BRIDGE-MIB"
  [3]  => string(16) "IEEE8023-LAG-MIB"
  [4]  => string(11) "LLDP-V2-MIB"
  [5]  => string(17) "VMWARE-SYSTEM-MIB"
  [6]  => string(14) "LM-SENSORS-MIB"
  [7]  => string(17) "VMWARE-VMINFO-MIB"
  [8]  => string(20) "VMWARE-RESOURCES-MIB"
  [9]  => string(8) "LLDP-MIB"
  [10] => string(12) "UCD-SNMP-MIB"
  [11] => string(18) "HOST-RESOURCES-MIB"
  [12] => string(10) "SNMPv2-MIB"
  [13] => string(18) "SNMP-FRAMEWORK-MIB"
  [14] => string(6) "IF-MIB"
  [15] => string(13) "ADSL-LINE-MIB"
  [16] => string(13) "EtherLike-MIB"
  [17] => string(10) "ENTITY-MIB"
  [18] => string(17) "ENTITY-SENSOR-MIB"
  [19] => string(12) "Q-BRIDGE-MIB"
  [20] => string(6) "IP-MIB"
  [21] => string(8) "IPV6-MIB"
  [22] => string(13) "CISCO-CDP-MIB"
  [23] => string(10) "PW-STD-MIB"
  [24] => string(15) "DISMAN-PING-MIB"
  [25] => string(8) "BGP4-MIB"
)

 o Duration             0.5297s

#####  Module Start: vrf  #####



 > $discovery_vrf /opt/observium/includes/discovery/vrf.inc.php:40
array()


 > $valid['vrf'] /opt/observium/includes/discovery/vrf.inc.php:47
array()

SQL[SELECT COUNT(*) FROM `vrfs` WHERE `device_id` = '342' AND 1]
ROWS[1]
SQL RUNTIME[0.00032401s]


 > $valid['vrf-ports'] /opt/observium/includes/discovery/vrf.inc.php:56
null


 > $vrf_ports /opt/observium/includes/discovery/vrf.inc.php:63
array()

SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '342' AND `ifVrf` IS NOT NULL AND 1]
ROWS[1]
SQL RUNTIME[0.00015211s]

 o Duration             0.0022s

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

 o Caching OIDs         ifDescr
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifDescr]

CMD EXITCODE[0]
CMD RUNTIME[0.0183s]
CMD EXITDELAY[5ms]
STDOUT[
ifDescr.1 = Device vmnic2 at 25:00.0 ntg3
ifDescr.2 = Device vmnic3 at 25:00.1 ntg3
ifDescr.3 = Device vmnic0 at 24:00.0 ntg3
ifDescr.4 = Device vmnic1 at 24:00.1 ntg3
ifDescr.5 = Traditional Virtual VMware switch: vSwitch0
ifDescr.6 = Virtual interface: vmk0 on vswitch vSwitch0 portgroup: Management Network
]
SNMP STATUS[TRUE]
ifAlias
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifAlias]

CMD EXITCODE[0]
CMD RUNTIME[0.0177s]
STDOUT[
ifAlias.1 = 25:00.0
ifAlias.2 = 25:00.1
ifAlias.3 = 24:00.0
ifAlias.4 = 24:00.1
ifAlias.5 = vSwitch0
ifAlias.6 = vmk0-vSwitch0
]
SNMP STATUS[TRUE]
ifName
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifName]

CMD EXITCODE[0]
CMD RUNTIME[0.021s]
STDOUT[
ifName.1 = vmnic2
ifName.2 = vmnic3
ifName.3 = vmnic0
ifName.4 = vmnic1
ifName.5 = vSwitch0
ifName.6 = vmk0
]
SNMP STATUS[TRUE]
ifType
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifType]

CMD EXITCODE[0]
CMD RUNTIME[0.0309s]
CMD EXITDELAY[5ms]
STDOUT[
ifType.1 = ethernetCsmacd
ifType.2 = ethernetCsmacd
ifType.3 = ethernetCsmacd
ifType.4 = ethernetCsmacd
ifType.5 = propMultiplexor
ifType.6 = vmwareVirtualNic
]
SNMP STATUS[TRUE]
ifOperStatus
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifOperStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0255s]
STDOUT[
ifOperStatus.1 = down
ifOperStatus.2 = down
ifOperStatus.3 = up
ifOperStatus.4 = down
ifOperStatus.5 = up
ifOperStatus.6 = up
]
SNMP STATUS[TRUE]



  /opt/observium/includes/discovery/ports.inc.php:41
array(
  [1] => array(
           [ifDescr]      => string(29) "Device vmnic2 at 25:00.0 ntg3"
           [ifAlias]      => string(7) "25:00.0"
           [ifName]       => string(6) "vmnic2"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(4) "down"
         )
  [2] => array(
           [ifDescr]      => string(29) "Device vmnic3 at 25:00.1 ntg3"
           [ifAlias]      => string(7) "25:00.1"
           [ifName]       => string(6) "vmnic3"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(4) "down"
         )
  [3] => array(
           [ifDescr]      => string(29) "Device vmnic0 at 24:00.0 ntg3"
           [ifAlias]      => string(7) "24:00.0"
           [ifName]       => string(6) "vmnic0"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [4] => array(
           [ifDescr]      => string(29) "Device vmnic1 at 24:00.1 ntg3"
           [ifAlias]      => string(7) "24:00.1"
           [ifName]       => string(6) "vmnic1"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(4) "down"
         )
  [5] => array(
           [ifDescr]      => string(43) "Traditional Virtual VMware switch: vSwitch0"
           [ifAlias]      => string(8) "vSwitch0"
           [ifName]       => string(8) "vSwitch0"
           [ifType]       => string(15) "propMultiplexor"
           [ifOperStatus] => string(2) "up"
         )
  [6] => array(
           [ifDescr]      => string(73) "Virtual interface: vmk0 on vswitch vSwitch0 portgroup: Management Network"
           [ifAlias]      => string(13) "vmk0-vSwitch0"
           [ifName]       => string(4) "vmk0"
           [ifType]       => string(16) "vmwareVirtualNic"
           [ifOperStatus] => string(2) "up"
         )
)
 o Caching DB
SQL[SELECT * FROM `ports` WHERE `device_id` = '342']
ROWS[6]
SQL RUNTIME[0.00057983s]
6 ports
 o Discovering ports
ifIndex 1 (ifAdminStatus = , ifOperStatus = down).
.
ifIndex 2 (ifAdminStatus = , ifOperStatus = down).
.
ifIndex 3 (ifAdminStatus = , ifOperStatus = up).
.
ifIndex 4 (ifAdminStatus = , ifOperStatus = down).
.
ifIndex 5 (ifAdminStatus = , ifOperStatus = up).
.
ifIndex 6 (ifAdminStatus = , ifOperStatus = up).
.
+---------+--------------------------------+----------+---------------+------------------+-------------+---------+
| ifIndex | ifDescr                        | ifName   | ifAlias       | ifType           | Oper Status | Ignored |
+---------+--------------------------------+----------+---------------+------------------+-------------+---------+
| 1       | Device vmnic2 at 25:00.0 ntg3  | vmnic2   | 25:00.0       | ethernetCsmacd   | down        | no      |
| 2       | Device vmnic3 at 25:00.1 ntg3  | vmnic3   | 25:00.1       | ethernetCsmacd   | down        | no      |
| 3       | Device vmnic0 at 24:00.0 ntg3  | vmnic0   | 24:00.0       | ethernetCsmacd   | up          | no      |
| 4       | Device vmnic1 at 24:00.1 ntg3  | vmnic1   | 24:00.1       | ethernetCsmacd   | down        | no      |
| 5       | Traditional Virtual VMware ... | vSwitch0 | vSwitch0      | propMultiplexor  | up          | no      |
| 6       | Virtual interface: vmk0 on ... | vmk0     | vmk0-vSwitch0 | vmwareVirtualNic | up          | no      |
+---------+--------------------------------+----------+---------------+------------------+-------------+---------+


 o Duration             0.1349s

#####  Module Start: ports-stack  #####


SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '342']
ROWS[2]
SQL RUNTIME[0.00023293s]

SQL[SELECT `ifIndex`, `port_id` FROM ports WHERE `device_id` = '342']
ROWS[6]
SQL RUNTIME[0.000211s]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ifStackStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0485s]
CMD EXITDELAY[5ms]
STDOUT[
ifStackStatus.0.1 = active
ifStackStatus.0.2 = active
ifStackStatus.0.4 = active
ifStackStatus.0.6 = active
ifStackStatus.1.0 = active
ifStackStatus.2.0 = active
ifStackStatus.3.0 = active
ifStackStatus.4.0 = active
ifStackStatus.5.3 = active
ifStackStatus.6.5 = active
]
SNMP STATUS[TRUE]


 o Changes              2 unchanged
 o Duration             0.0564s

#####  Module Start: vlans  #####


SQL[SELECT * FROM `vlans` WHERE `device_id` = '342']
ROWS[2]
SQL RUNTIME[0.00046206s]


 > $vlans_db /opt/observium/includes/discovery/vlans.inc.php:30
array(
  [1] => array(
           [4096] => array(
                       [vlan_id]      => string(4) "2063"
                       [device_id]    => string(3) "342"
                       [ifIndex]      => string(4) "4096"
                       [vlan_vlan]    => string(4) "4096"
                       [vlan_domain]  => string(1) "1"
                       [vlan_name]    => string(8) "vlan4096"
                       [vlan_type]    => string(8) "ethernet"
                       [vlan_mtu]     => null
                       [vlan_status]  => string(11) "operational"
                       [vlan_context] => string(1) "0"
                     )
           [4097] => array(
                       [vlan_id]      => string(4) "2064"
                       [device_id]    => string(3) "342"
                       [ifIndex]      => null
                       [vlan_vlan]    => string(4) "4097"
                       [vlan_domain]  => string(1) "1"
                       [vlan_name]    => string(9) "VLAN 4097"
                       [vlan_type]    => string(8) "ethernet"
                       [vlan_mtu]     => null
                       [vlan_status]  => string(11) "operational"
                       [vlan_context] => string(1) "0"
                     )
         )
)

SQL[SELECT * FROM `ports_vlans` WHERE `device_id` = '342']
ROWS[1]
SQL RUNTIME[0.00012398s]


 > $ports_vlans_db /opt/observium/includes/discovery/vlans.inc.php:42
array(
  [8929] => array(
              [4096] => array(
                          [port_vlan_id] => string(5) "53536"
                          [device_id]    => string(3) "342"
                          [port_id]      => string(4) "8929"
                          [vlan]         => string(4) "4096"
                          [baseport]     => string(1) "0"
                          [priority]     => string(1) "0"
                          [state]        => string(0) ""
                          [cost]         => string(1) "0"
                        )
            )
)
 o IEEE8021-Q-BRIDGE-MIB
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IEEE8021-Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ieee8021QBridgeVlanStaticName]

CMD EXITCODE[0]
CMD RUNTIME[0.0389s]
STDOUT[
ieee8021QBridgeVlanStaticName.1.4096 = vlan4096
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IEEE8021-Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ieee8021QBridgeVlanStaticRowStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.043s]
STDOUT[
ieee8021QBridgeVlanStaticRowStatus.1.4096 = active
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -Ih -OQUsx --hexOutputLength=0 -m IEEE8021-Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ieee8021QBridgeVlanStaticEgressPorts]

CMD EXITCODE[0]
CMD RUNTIME[0.0246s]
STDOUT[
ieee8021QBridgeVlanStaticEgressPorts.1.4096 = "10 "
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' dot1dBasePortIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.1972s]
STDOUT[
dot1dBasePortIfIndex = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpwalk, options: -OQUs, mib: 'BRIDGE-MIB', oid: 'dot1dBasePortIfIndex', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.19721794128418


 > $binary_debug /opt/observium/includes/discovery/vlans/ieee8021-q-bridge-mib.inc.php:93
array(
  [4096] => array(
              [3] => int(3)
            )
)

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IEEE8021-Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ieee8021QBridgePvid]

CMD EXITCODE[0]
CMD RUNTIME[0.0273s]
STDOUT[
ieee8021QBridgePvid.1.3 = 4097
ieee8021QBridgePvid.1.5 = 4096
]
SNMP STATUS[TRUE]


 o Q-BRIDGE-MIB


  /opt/observium/includes/discovery/vlans.inc.php:48
array(
  [1] => array(
           [4096] => array(
                       [ifIndex]     => int(4096)
                       [vlan_domain] => int(1)
                       [vlan_vlan]   => int(4096)
                       [vlan_name]   => string(8) "vlan4096"
                       [vlan_type]   => string(8) "ethernet"
                       [vlan_status] => string(11) "operational"
                     )
           [4097] => array(
                       [vlan_domain] => int(1)
                       [vlan_vlan]   => string(4) "4097"
                       [vlan_name]   => string(9) "VLAN 4097"
                       [vlan_type]   => string(8) "ethernet"
                       [vlan_status] => string(11) "operational"
                     )
         )
)


  /opt/observium/includes/discovery/vlans.inc.php:49
array(
  [3] => array(
           [4096] => array(
                       [vlan] => int(4096)
                     )
         )
)
 4096 4097+--------+----------+-----------+----------+-------------+
| Domain | Vlan: ID | Name      | Type     | Status      |
+--------+----------+-----------+----------+-------------+
| 1      | 4096     | vlan4096  | ethernet | operational |
| 1      | 4097     | VLAN 4097 | ethernet | operational |
+--------+----------+-----------+----------+-------------+


SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '342' AND `ifIndex` = '3' AND `deleted` = '0' LIMIT 1]
ROWS[1]
SQL RUNTIME[0.00049901s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '8929']
ROWS[1]
SQL RUNTIME[0.000283s]

SQL[SELECT DISTINCT `entity_type` FROM `entity_attribs` WHERE `device_id` = '342']
ROWS[1]
SQL RUNTIME[0.00026393s]

SQL[UPDATE `ports_vlans` SET `vlan` ='4096',`baseport` ='',`priority` ='',`state` ='',`cost` ='' WHERE `port_vlan_id` = '53536']
ROWS[0]
SQL RUNTIME[0.00017405s]
SQL WARNINGS[
 1366: Incorrect integer value: '' for column `observium`.`ports_vlans`.`baseport` at row 1
 1366: Incorrect integer value: '' for column `observium`.`ports_vlans`.`priority` at row 1
 1366: Incorrect integer value: '' for column `observium`.`ports_vlans`.`cost` at row 1
]
+---------+---------+------+---------------+-------+------+
| ifIndex | ifDescr | Vlan | STP: Priority | State | Cost |
+---------+---------+------+---------------+-------+------+
| 3       | vmnic0  | 4096 |               |       |      |
+---------+---------+------+---------------+-------+------+

Module [ vlans ] stats: 4096[V.PU] 4097[V.]

 o Changes              2 unchanged
 o Duration             0.3461s

#####  Module Start: oids  #####


SQL[SELECT * FROM `oids_entries` LEFT JOIN `oids` USING(`oid_id`) WHERE `device_id` = '342']
ROWS[0]
SQL RUNTIME[0.00016284s]

SQL[SELECT * FROM `oids` WHERE `oid_autodiscover` = '1']
ROWS[0]
SQL RUNTIME[0.00016403s]

 o Duration             0.0012s

#####  Module Start: ip-addresses  #####



  /opt/observium/includes/entities.inc.php:430
array(
  [0] => string(7) "UDP-MIB"
  [1] => string(7) "TCP-MIB"
  [2] => string(21) "IEEE8021-Q-BRIDGE-MIB"
  [3] => string(16) "IEEE8023-LAG-MIB"
  [4] => string(11) "LLDP-V2-MIB"
  [5] => string(17) "VMWARE-SYSTEM-MIB"
)
 o IP-MIB
CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ipAdEntIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.024s]
STDOUT[
ipAdEntIfIndex = No Such Instance currently exists at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 342, cmd: snmpwalk, options: -OQUs, mib: 'IP-MIB', oid: 'ipAdEntIfIndex', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.024003028869629

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ipAddressIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.0307s]
STDOUT[
ipAddressIfIndex.ipv4."100.127.253.32" = 6
ipAddressIfIndex.ipv6z."........"GG....d" = 6
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ipAddressType]

CMD EXITCODE[0]
CMD RUNTIME[0.0213s]
STDOUT[
ipAddressType.ipv4."100.127.253.32" = unicast
ipAddressType.ipv6z."........"GG....d" = unicast
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ipAddressPrefix]

CMD EXITCODE[0]
CMD RUNTIME[0.0167s]
STDOUT[
ipAddressPrefix.ipv4."100.127.253.32" = zeroDotZero
ipAddressPrefix.ipv6z."........"GG....d" = zeroDotZero
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'sorintsec' -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ithbresopesx01.sec.local':'161' ipAddressOrigin]

CMD EXITCODE[0]
CMD RUNTIME[0.0188s]
STDOUT[
ipAddressOrigin.ipv4."100.127.253.32" = other
ipAddressOrigin.ipv6z."........"GG....d" = manual
]
SNMP STATUS[TRUE]


 > $oid_data /opt/observium/includes/discovery/ip-addresses/ip-mib.inc.php:103
array(
  [ipv4]  => array(
               [100.127.253.32] => array(
                                     [ipAddressIfIndex] => string(1) "6"
                                     [ipAddressType]    => string(7) "unicast"
                                     [ipAddressPrefix]  => string(11) "zeroDotZero"
                                     [ipAddressOrigin]  => string(5) "other"
                                   )
             )
  [ipv6z] => array(
               [........] => array(
                               [ipAddressIfIndex] => string(1) "6"
                               [ipAddressType]    => string(7) "unicast"
                               [ipAddressPrefix]  => string(11) "zeroDotZero"
                               [ipAddressOrigin]  => string(6) "manual"
                             )
             )
)


 > $entry /opt/observium/includes/entities/ip-address.inc.php:309
array(
  [ifIndex] => string(1) "6"
  [ip]      => string(14) "100.127.253.32"
  [type]    => string(7) "unicast"
  [origin]  => string(5) "other"
)
Load class 'Net_IPv4' from '/opt/observium/libs/pear/Net/IPv4.php': OK
Added 100.127.253.32


 > $entry /opt/observium/includes/entities/ip-address.inc.php:193
array(
  [ifIndex] => string(1) "6"
  [ip]      => string(14) "100.127.253.32"
  [type]    => string(5) "cgnat"
  [origin]  => string(5) "other"
  [prefix]  => int(32)
)
.
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡶⠋⠁⠙⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⣠⡶⠛⠛⠲⣤⣀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⣠⠄⣠⣾⣡⠀⠀⠀⠀⠸⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⢰⡏⠀⠀⠀⠀⠈⣿⣷⣤⡐⣄⣽⡾⠧⠤⠤⣤⣤⣾⣿⣾⣿⣯⣀⡀⠀⠀⠀⢠⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⢷⡀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣯⣤⣤⡀⣠⣈⣹⣽⣿⣿⣿⣿⣷⣦⣄⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠈⠻⣆⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠈⢳⣆⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣾⣷⣶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣘⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⢡⡼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣾⣿⣿⣿⣿⣿⡏⣯⡇⣿⣿⣿⡏⣿⣿⣿⣜⣛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣭⣾⣿⣿⣿⣇⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀⠘⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢠⣿⣿⡏⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⢿⣿⣿⡿⠁⠀⠀⠀⠸⣿⣷⡀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢸⣿⣿⡇⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠻⣿⣿⡟⢠⣿⣿⡟⠁⠀⠀⠀⠀⠙⣻⣿⣿⣆⠀⠀⠀⠀⠀
⠀⠀⠀⠈⣿⣿⣷⡈⠛⠿⣿⣿⡆⠻⢿⣿⣽⣿⣯⣿⠿⠃⠀⠻⠛⣰⣿⣿⠏⠀⠀⠀⠀⢀⣙⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀
⠀⠀⠀⠀⢿⠈⠙⠻⠷⠤⠄⢉⡁⠀⠀⠙⢉⣵⣌⠀⠀⠀⣀⠄⠘⠛⠋⠁⢀⣀⣤⣤⣭⣭⣽⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀
⠀⠀⠀⢀⣿⡄⠀⠀⠀⠀⠀⠀⠉⠓⢦⣄⡉⠉⢉⣩⠶⠋⠁⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
⠀⠀⠀⣼⣿⣿⣷⣶⣶⣆⣀⡀⠀⠀⠀⠀⠉⠉⠉⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣥⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣦⣾⣿⣿⣿⣿⣿⣿⡿⠿⠿⡟⠿⣿⣟⡿⢿⡛⠀⣘⣿⣿⡆
⠀⠀⠀⢿⣿⣿⠿⠿⠿⠿⢿⣿⣿⣷⣿⡆⠀⠀⣶⣶⣾⡿⠛⠛⠛⠛⠻⣿⣿⣿⡟⠉⠀⠀⠀⠈⠁⠁⢀⢀⠲⣬⣿⣿⡇
⠀⠀⠀⠘⡏⠳⣤⡄⠀⡄⠀⠀⠈⠙⢿⣧⠀⢀⣿⣿⠏⠀⠀⠀⠀⢀⣠⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⣯⣷⣿⣿⣿⡇
⠀⠀⠀⠀⢿⠀⠀⠉⠳⣇⠀⠀⠀⠀⠀⢻⠀⢸⣿⣿⣆⢠⠀⡆⣰⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⣿⣿⣿⣿⣿⡇
⠀⠀⠀⠀⠘⣧⠀⠀⠀⠹⣷⣤⣄⠀⡈⣾⡆⢸⡿⠋⠿⠾⠴⠷⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠉⣶⣾⣿⣿⣿⣿⠀
⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠉⠻⣿⣿⣿⣇⠸⡷⠀⠀⠀⢀⣠⢄⣠⣶⣤⣤⣤⡤⠤⠖⠛⠉⠀⠠⣤⣼⣿⣿⣿⣿⡏⠀
⠀⠀⠀⠀⠀⠀⠀⠉⢻⣷⠶⠒⠀⠀⠁⠈⢿⡄⣷⣆⣤⣶⡿⠛⠛⠛⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⠇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠘⣏⠀⠀⠀⠀⠀⠀⠘⣧⣿⣿⡿⢋⡤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣾⣿⣿⣿⣿⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡄⠀⠀⠀⠀⠀⠀⢸⣿⣿⣶⣫⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⢦⣵⣿⣿⣿⣿⠇⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣆⠀⠀⠀⠀⠀⠀⣿⣿⣿⠇⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠳⠦⣴⣿⣶⣿⣿⣿⣿⡿⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⢷⣄⠀⠀⠀⠀⢹⣿⣿⣾⣿⣋⣤⡄⠀⠀⠀⠀⠀⠀⠀⠠⣈⠻⣿⣿⣿⣿⣿⡇⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⣦⣤⣤⣾⣿⣿⣿⣿⣿⣯⡴⠂⣀⡀⠀⡀⡀⡀⢠⣬⣻⣿⣿⣿⣿⡿⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣠⡴⠊⠉⠀⠈⢹⠿⣿⣿⣿⣿⣿⣷⣾⣿⠾⡿⡿⠿⣷⣦⣿⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠛⠷⠦⠤⠤⠴⠶⠶⠶⠶⠚⠉⠀⠀⠈⣉⣩⠽⠟⠋⠁⠀⠀⣁⣠⠿⠛⠋⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Oops! Something went wrong! You may want to report this to the Observium developers.

dechex(): Argument #1 ($num) must be of type int, string given in /opt/observium/includes/discovery/ip-addresses/ip-mib.inc.php:206

Stack trace:

#0: (unknown function) called at [/opt/observium/includes/discovery/ip-addresses/ip-mib.inc.php:206]
201: // See: https://jira.observium.org/browse/OBS-4341
202: $index_prefix = NULL;
203: }
204: //break; // Do not break here!
205: case 8:
206: $ip_address_fix = array_map('dechex', $ip_address_fix);
207: $ip_address     = ip_uncompress(implode(':', $ip_address_fix));
208: break;
209: default:
210: print_debug("Unknown IP index: $ip_snmp");
211: continue 2;

#1: dechex called at [(unknown file):(unknown line)]

#2: array_map called at [/opt/observium/includes/discovery/ip-addresses/ip-mib.inc.php:206]
201: // See: https://jira.observium.org/browse/OBS-4341
202: $index_prefix = NULL;
203: }
204: //break; // Do not break here!
205: case 8:
206: $ip_address_fix = array_map('dechex', $ip_address_fix);
207: $ip_address     = ip_uncompress(implode(':', $ip_address_fix));
208: break;
209: default:
210: print_debug("Unknown IP index: $ip_snmp");
211: continue 2;

#3: include called at [/opt/observium/includes/include-dir-mib.inc.php:32]
27:
28: if (is_file($inc_file)) {
29: print_cli_data_field("$mib ");
30:
31: $inc_start  = microtime(TRUE); // MIB timing start
32: $inc_status = include($inc_file);
33: echo(PHP_EOL);
34:
35: if ($include_lib && is_file($inc_dir . '.lib.php')) {
36: // separated functions include, for exclude fatal redeclare errors
37: include_once($inc_dir . '.lib.php');

#4: include called at [/opt/observium/includes/discovery/ip-addresses.inc.php:28]
23: //$valid['ip-addresses'] = array();
24:
25: $include_dir   = 'includes/discovery/ip-addresses';
26: $include_order = 'default'; // Use MIBs from default os definitions by first!
27:
28: include($config['install_dir'] . "/includes/include-dir-mib.inc.php");
29:
30: foreach (get_device_mibs_permitted($device) as $mib) {
31: // Detect addresses by definitions
32: if (is_array($config['mibs'][$mib]['ip-address'])) {
33: print_cli_data_field($mib);

#5: include called at [/opt/observium/includes/discovery/functions.inc.php:838]
833: $GLOBALS['module_stats'][$module] = [];
834: $valid[$module]                   = [];
835:
836: print_cli_heading("Module Start: %R" . $module);
837:
838: include("includes/discovery/$module.inc.php");
839:
840: $GLOBALS['module_stats'][$module]['time'] = elapsed_time($m_start, 4);
841: print_module_stats($device, $module);
842: echo(PHP_EOL);
843: //print_cli_heading("Module End: %R".$module."");

#6: discover_device called at [/opt/observium/discovery.php:229]
224:
225: foreach (dbFetchRows("SELECT * FROM `devices` WHERE `disabled` = 0 $where ORDER BY `last_discovered_timetaken` ASC", $params) as $device) {
226: // Additional check if device SNMPable, because during
227: // discovery many devices (long time), the some device can be switched off
228: if ($options['h'] === 'new' || is_snmpable($device)) {
229: discover_device($device, $options);
230: } else {
231: $string = "Device '" . $device['hostname'] . "' skipped, because switched off during runtime discovery process.";
232: print_debug($string);
233: logfile($argv[0] . ": $string");
234: }