root@observium:/opt/observium# ./discovery.php -h 1203 -d -m os,ports
DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0099s]
CMD EXITDELAY[10ms]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/trunk
Relative URL: ^/observium/trunk
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 10370
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 10370
Last Changed Date: 2020-04-12 15:51:53 +0200 (Sun, 12 Apr 2020)

]

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

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

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

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

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0324s]
STDOUT[
Linux|4.4.0-176-generic|amd64|Ubuntu|16.04|qemu|
]

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

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

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

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

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

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

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

CMD[/usr/bin/rrdcached -h | head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0089s]
STDOUT[
RRDCacheD 1.5.5
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0088s]
CMD EXITDELAY[10ms]
STDOUT[
/usr/bin/fping: Version 3.13
/usr/bin/fping: comments to david@schweikert.ch
]

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

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

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0046s]
STDOUT[
+02:00
]

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

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

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

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

 o OS                   Linux 4.4.0-176-generic [amd64] (Ubuntu 16.04)
 o Apache               2.4.18
 o PHP                  7.0.33-0ubuntu0.16.04.12 (OPcache: ENABLED)
 o Python               2.7.12
 o MySQL                5.7.29-0ubuntu0.16.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.5.5 (rrdcached 1.5.5: unix:/var/run/rrdcached.sock)
 o Fping                3.13 (IPv4 and IPv6)

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

 o PHP                  Unlimited

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

 o MySQL                NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

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

 o PHP                  UTF-8
 o MySQL                utf8

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

 o Date                 Thursday, 16-Apr-20 08:32:17 CEST
 o PHP                  +02:00
 o MySQL                +02:00


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

REQUEST[http://www.observium.org/versions.php]
REQUEST STATUS[TRUE]
REQUEST RUNTIME[0.2s]
RESPONSE CODE[200 OK]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver')]
SQL RUNTIME[0.00026107s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='20.2.10268' WHERE `attrib_type` = 'latest_ver']
SQL RUNTIME[0.00546622s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev')]
SQL RUNTIME[0.00046086s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='10268' WHERE `attrib_type` = 'latest_rev']
SQL RUNTIME[0.01498890s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date')]
SQL RUNTIME[0.00023198s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='2020-02-10' WHERE `attrib_type` = 'latest_rev_date']
SQL RUNTIME[0.01065707s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck')]
SQL RUNTIME[0.00032783s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='1587018737' WHERE `attrib_type` = 'last_versioncheck']
SQL RUNTIME[0.01839280s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00029588s]
#####  Starting discovery run at 2020-04-16 08:32:17  #####


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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0289s]
STDOUT[
sysObjectID.0 = enterprises.1916.2.111
sysUpTime.0 = 422:9:02:18.08
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('17413','discovery.php','21212','0','php ./discovery.php -h 1203 -d -m os,ports','1587018737','1203')]
SQL RUNTIME[0.01174521s]
#####  extreme [1203]  #####

 o OS Type              xos
 o OS Group             extremeware
 o SNMP Version         v2c
 o Last discovery       2020-04-16 07:20:27
 o Last duration        14.01 seconds

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


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

CMD EXITCODE[0]
CMD RUNTIME[0.0256s]
STDOUT[
ExtremeXOS (X350-24t) version 15.3.1.4 v1531b4-patch1-44 by release-manager on Fri Sep 5 16:29:36 EDT 2014
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -t '3' -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'extreme':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0298s]
STDOUT[
.1.3.6.1.4.1.1916.2.111
]
SNMP STATUS[TRUE]
+-------------+------------------------------------------------------------------------------------------------------------+
| OID         |                                                                                                            |
+-------------+------------------------------------------------------------------------------------------------------------+
| sysDescr    | ExtremeXOS (X350-24t) version 15.3.1.4 v1531b4-patch1-44 by release-manager on Fri Sep 5 16:29:36 EDT 2014 |
| sysObjectID | .1.3.6.1.4.1.1916.2.111                                                                                    |
+-------------+------------------------------------------------------------------------------------------------------------+

 o Re-Detect OS matched (xos: Extreme XOS): 
+-------------+---------------------+------------------------------------------------------------------------------------------------------------+
| OID         | Matched definition  |                                                                                                            |
+-------------+---------------------+------------------------------------------------------------------------------------------------------------+
| sysObjectID | .1.3.6.1.4.1.1916.2 | .1.3.6.1.4.1.1916.2.111                                                                                    |
| sysDescr    | /XOS/               | ExtremeXOS (X350-24t) version 15.3.1.4 v1531b4-patch1-44 by release-manager on Fri Sep 5 16:29:36 EDT 2014 |
+-------------+---------------------+------------------------------------------------------------------------------------------------------------+


 o Duration             0.1569s

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.603s]
CMD EXITDELAY[10ms]
STDOUT[
ifDescr.1001 = X350-24t Port 1
ifDescr.1002 = X350-24t Port 2
ifDescr.1003 = X350-24t Port 3
ifDescr.1004 = X350-24t Port 4
ifDescr.1005 = X350-24t Port 5
ifDescr.1006 = X350-24t Port 6
ifDescr.1007 = X350-24t Port 7
ifDescr.1008 = X350-24t Port 8
ifDescr.1009 = X350-24t Port 9
ifDescr.1010 = X350-24t Port 10
ifDescr.1011 = X350-24t Port 11
ifDescr.1012 = X350-24t Port 12
ifDescr.1013 = X350-24t Port 13
ifDescr.1014 = X350-24t Port 14
ifDescr.1015 = X350-24t Port 15
ifDescr.1016 = X350-24t Port 16
ifDescr.1017 = X350-24t Port 17
ifDescr.1018 = X350-24t Port 18
ifDescr.1019 = X350-24t Port 19
ifDescr.1020 = X350-24t Port 20
ifDescr.1021 = X350-24t Port 21
ifDescr.1022 = X350-24t Port 22
ifDescr.1023 = X350-24t Port 23
ifDescr.1024 = X350-24t Port 24
ifDescr.1025 = X350-24t Port 25
ifDescr.1026 = X350-24t Port 26
ifDescr.1027 = Management Port
ifDescr.1000001 = VirtualRouter0
ifDescr.1000002 = VirtualRouter1
ifDescr.1000003 = VirtualRouter2
ifDescr.1000004 = VLAN 00001 (Default)
ifDescr.1000005 = VLAN 04095 (Mgmt)
ifDescr.1000007 = VLAN 00082 (VL_OBMGMT_ALARM)
ifDescr.1000008 = VLAN 00081 (VL_OBMGMT_AXH)
ifDescr.1000009 = VLAN 00073 (VL_OBMGMT_CATV)
ifDescr.1000010 = VLAN 00094 (VL_OBMGMT_SAARWELLINGEN)
ifDescr.1000011 = VLAN 00075 (VL_OBMGMT_RES_1)
ifDescr.1000012 = VLAN 00076 (VL_OBMGMT_RES_2)
ifDescr.1000013 = VLAN 00078 (VL_OBMGMT_RES_4)
ifDescr.1000014 = VLAN 00079 (VL_OBMGMT_RES_5)
ifDescr.1000015 = VLAN 00080 (VL_OBMGMT_RES_6)
ifDescr.1000016 = VLAN 00083 (VL_OBMGMT_RS232)
ifDescr.1000017 = VLAN 04084 (VL_STPD)
ifDescr.1000018 = rtif(1.1.1.1/24)
]
SNMP STATUS[TRUE]
ifAlias 
CMD[/usr/bin/snmpbulkwalk -t '3' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'extreme':'161' ifAlias]

CMD EXITCODE[0]
CMD RUNTIME[0.4156s]
CMD EXITDELAY[10ms]
STDOUT[
ifAlias.1001 = 
ifAlias.1002 = 
ifAlias.1003 = 
ifAlias.1004 = 
ifAlias.1005 = 
ifAlias.1006 = 
ifAlias.1007 = 
ifAlias.1008 = 
ifAlias.1009 = 
ifAlias.1010 = 
ifAlias.1011 = 
ifAlias.1012 = 
ifAlias.1013 = 
ifAlias.1014 = 
ifAlias.1015 = 
ifAlias.1016 = 
ifAlias.1017 = 
ifAlias.1018 = 
ifAlias.1019 = 
ifAlias.1020 = 
ifAlias.1021 = 
ifAlias.1022 = 
ifAlias.1023 = 
ifAlias.1024 = 
ifAlias.1025 = 
ifAlias.1026 = 
ifAlias.1027 = MgmtPort
ifAlias.1000001 = 
ifAlias.1000002 = 
ifAlias.1000003 = 
ifAlias.1000004 = 
ifAlias.1000005 = Management VLAN
ifAlias.1000007 = 
ifAlias.1000008 = 
ifAlias.1000009 = 
ifAlias.1000010 = 
ifAlias.1000011 = 
ifAlias.1000012 = 
ifAlias.1000013 = 
ifAlias.1000014 = 
ifAlias.1000015 = 
ifAlias.1000016 = 
ifAlias.1000017 = 
ifAlias.1000018 = 
]
SNMP STATUS[TRUE]
ifName 
CMD[/usr/bin/snmpbulkwalk -t '3' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'extreme':'161' ifName]

CMD EXITCODE[0]
CMD RUNTIME[0.3769s]
STDOUT[
ifName.1001 = 1:1
ifName.1002 = 1:2
ifName.1003 = 1:3
ifName.1004 = 1:4
ifName.1005 = 1:5
ifName.1006 = 1:6
ifName.1007 = 1:7
ifName.1008 = 1:8
ifName.1009 = 1:9
ifName.1010 = 1:10
ifName.1011 = 1:11
ifName.1012 = 1:12
ifName.1013 = 1:13
ifName.1014 = 1:14
ifName.1015 = 1:15
ifName.1016 = 1:16
ifName.1017 = 1:17
ifName.1018 = 1:18
ifName.1019 = 1:19
ifName.1020 = 1:20
ifName.1021 = 1:21
ifName.1022 = 1:22
ifName.1023 = 1:23
ifName.1024 = 1:24
ifName.1025 = 1:25
ifName.1026 = 1:26
ifName.1027 = Management
ifName.1000001 = VirtualRouter0
ifName.1000002 = VirtualRouter1
ifName.1000003 = VirtualRouter2
ifName.1000004 = Default
ifName.1000005 = Mgmt
ifName.1000007 = VL_OBMGMT_ALARM
ifName.1000008 = VL_OBMGMT_AXH
ifName.1000009 = VL_OBMGMT_CATV
ifName.1000010 = VL_OBMGMT_SAARWELLINGEN
ifName.1000011 = VL_OBMGMT_RES_1
ifName.1000012 = VL_OBMGMT_RES_2
ifName.1000013 = VL_OBMGMT_RES_4
ifName.1000014 = VL_OBMGMT_RES_5
ifName.1000015 = VL_OBMGMT_RES_6
ifName.1000016 = VL_OBMGMT_RS232
ifName.1000017 = VL_STPD
ifName.1000018 = rtif(10.129.20.2/24)
]
SNMP STATUS[TRUE]
ifType 
CMD[/usr/bin/snmpbulkwalk -t '3' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'extreme':'161' ifType]

CMD EXITCODE[0]
CMD RUNTIME[0.3783s]
STDOUT[
ifType.1001 = ethernetCsmacd
ifType.1002 = ethernetCsmacd
ifType.1003 = ethernetCsmacd
ifType.1004 = ethernetCsmacd
ifType.1005 = ethernetCsmacd
ifType.1006 = ethernetCsmacd
ifType.1007 = ethernetCsmacd
ifType.1008 = ethernetCsmacd
ifType.1009 = ethernetCsmacd
ifType.1010 = ethernetCsmacd
ifType.1011 = ethernetCsmacd
ifType.1012 = ethernetCsmacd
ifType.1013 = ethernetCsmacd
ifType.1014 = ethernetCsmacd
ifType.1015 = ethernetCsmacd
ifType.1016 = ethernetCsmacd
ifType.1017 = ethernetCsmacd
ifType.1018 = ethernetCsmacd
ifType.1019 = ethernetCsmacd
ifType.1020 = ethernetCsmacd
ifType.1021 = ethernetCsmacd
ifType.1022 = ethernetCsmacd
ifType.1023 = ethernetCsmacd
ifType.1024 = ethernetCsmacd
ifType.1025 = ethernetCsmacd
ifType.1026 = ethernetCsmacd
ifType.1027 = ethernetCsmacd
ifType.1000001 = propVirtual
ifType.1000002 = propVirtual
ifType.1000003 = propVirtual
ifType.1000004 = propVirtual
ifType.1000005 = propVirtual
ifType.1000007 = propVirtual
ifType.1000008 = propVirtual
ifType.1000009 = propVirtual
ifType.1000010 = propVirtual
ifType.1000011 = propVirtual
ifType.1000012 = propVirtual
ifType.1000013 = propVirtual
ifType.1000014 = propVirtual
ifType.1000015 = propVirtual
ifType.1000016 = propVirtual
ifType.1000017 = propVirtual
ifType.1000018 = propVirtual
]
SNMP STATUS[TRUE]
ifOperStatus 
CMD[/usr/bin/snmpbulkwalk -t '3' -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'extreme':'161' ifOperStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.4233s]
STDOUT[
ifOperStatus.1001 = up
ifOperStatus.1002 = up
ifOperStatus.1003 = up
ifOperStatus.1004 = up
ifOperStatus.1005 = up
ifOperStatus.1006 = up
ifOperStatus.1007 = up
ifOperStatus.1008 = up
ifOperStatus.1009 = up
ifOperStatus.1010 = up
ifOperStatus.1011 = up
ifOperStatus.1012 = up
ifOperStatus.1013 = up
ifOperStatus.1014 = up
ifOperStatus.1015 = down
ifOperStatus.1016 = down
ifOperStatus.1017 = down
ifOperStatus.1018 = down
ifOperStatus.1019 = down
ifOperStatus.1020 = down
ifOperStatus.1021 = down
ifOperStatus.1022 = down
ifOperStatus.1023 = up
ifOperStatus.1024 = down
ifOperStatus.1025 = notPresent
ifOperStatus.1026 = notPresent
ifOperStatus.1027 = down
ifOperStatus.1000001 = up
ifOperStatus.1000002 = up
ifOperStatus.1000003 = up
ifOperStatus.1000004 = down
ifOperStatus.1000005 = down
ifOperStatus.1000007 = down
ifOperStatus.1000008 = down
ifOperStatus.1000009 = down
ifOperStatus.1000010 = up
ifOperStatus.1000011 = down
ifOperStatus.1000012 = down
ifOperStatus.1000013 = down
ifOperStatus.1000014 = down
ifOperStatus.1000015 = down
ifOperStatus.1000016 = down
ifOperStatus.1000017 = down
ifOperStatus.1000018 = up
]
SNMP STATUS[TRUE]



  /opt/observium/includes/discovery/ports.inc.php:45 
array(
  [1001]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 1"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:1"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1002]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 2"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:2"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1003]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 3"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:3"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1004]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 4"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:4"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1005]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 5"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:5"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1006]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 6"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:6"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1007]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 7"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:7"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1008]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 8"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:8"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1009]    => array(
                 [ifDescr]      => string(15) "X350-24t Port 9"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(3) "1:9"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1010]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 10"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:10"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1011]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 11"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:11"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1012]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 12"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:12"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1013]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 13"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:13"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1014]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 14"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:14"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1015]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 15"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:15"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1016]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 16"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:16"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1017]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 17"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:17"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1018]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 18"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:18"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1019]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 19"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:19"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1020]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 20"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:20"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1021]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 21"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:21"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1022]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 22"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:22"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1023]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 23"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:23"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(2) "up"
               )
  [1024]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 24"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:24"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1025]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 25"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:25"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(10) "notPresent"
               )
  [1026]    => array(
                 [ifDescr]      => string(16) "X350-24t Port 26"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(4) "1:26"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(10) "notPresent"
               )
  [1027]    => array(
                 [ifDescr]      => string(15) "Management Port"
                 [ifAlias]      => string(8) "MgmtPort"
                 [ifName]       => string(10) "Management"
                 [ifType]       => string(14) "ethernetCsmacd"
                 [ifOperStatus] => string(4) "down"
               )
  [1000001] => array(
                 [ifDescr]      => string(14) "VirtualRouter0"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(14) "VirtualRouter0"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(2) "up"
               )
  [1000002] => array(
                 [ifDescr]      => string(14) "VirtualRouter1"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(14) "VirtualRouter1"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(2) "up"
               )
  [1000003] => array(
                 [ifDescr]      => string(14) "VirtualRouter2"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(14) "VirtualRouter2"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(2) "up"
               )
  [1000004] => array(
                 [ifDescr]      => string(20) "VLAN 00001 (Default)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(7) "Default"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000005] => array(
                 [ifDescr]      => string(17) "VLAN 04095 (Mgmt)"
                 [ifAlias]      => string(15) "Management VLAN"
                 [ifName]       => string(4) "Mgmt"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000007] => array(
                 [ifDescr]      => string(28) "VLAN 00082 (VL_OBMGMT_ALARM)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_ALARM"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000008] => array(
                 [ifDescr]      => string(26) "VLAN 00081 (VL_OBMGMT_AXH)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(13) "VL_OBMGMT_AXH"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000009] => array(
                 [ifDescr]      => string(27) "VLAN 00073 (VL_OBMGMT_CATV)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(14) "VL_OBMGMT_CATV"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000010] => array(
                 [ifDescr]      => string(36) "VLAN 00094 (VL_OBMGMT_SAARWELLINGEN)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(23) "VL_OBMGMT_SAARWELLINGEN"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(2) "up"
               )
  [1000011] => array(
                 [ifDescr]      => string(28) "VLAN 00075 (VL_OBMGMT_RES_1)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RES_1"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000012] => array(
                 [ifDescr]      => string(28) "VLAN 00076 (VL_OBMGMT_RES_2)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RES_2"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000013] => array(
                 [ifDescr]      => string(28) "VLAN 00078 (VL_OBMGMT_RES_4)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RES_4"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000014] => array(
                 [ifDescr]      => string(28) "VLAN 00079 (VL_OBMGMT_RES_5)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RES_5"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000015] => array(
                 [ifDescr]      => string(28) "VLAN 00080 (VL_OBMGMT_RES_6)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RES_6"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000016] => array(
                 [ifDescr]      => string(28) "VLAN 00083 (VL_OBMGMT_RS232)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(15) "VL_OBMGMT_RS232"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000017] => array(
                 [ifDescr]      => string(20) "VLAN 04084 (VL_STPD)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(7) "VL_STPD"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(4) "down"
               )
  [1000018] => array(
                 [ifDescr]      => string(20) "rtif(10.129.20.2/24)"
                 [ifAlias]      => string(0) ""
                 [ifName]       => string(20) "rtif(10.129.20.2/24)"
                 [ifType]       => string(11) "propVirtual"
                 [ifOperStatus] => string(2) "up"
               )
)
 o Caching DB           
SQL[SELECT * FROM `ports` WHERE `device_id` = '1203']
SQL RUNTIME[0.00297093s]
38 ports
 o Discovering ports    ........................ignored (by ifOperStatus = notPresent or invalid value).
Xignored (by ifOperStatus = notPresent or invalid value).
X.ignored (by ifDescr): VirtualRouter0 [ VirtualRouter ]
Xignored (by ifDescr): VirtualRouter1 [ VirtualRouter ]
Xignored (by ifDescr): VirtualRouter2 [ VirtualRouter ]
Xignored (by ifDescr): VLAN 00001 (Default) [ Default ]
X.............
+---------+--------------------------------+-------------------------+-----------------+----------------+-------------+---------+
| ifIndex | ifDescr                        | ifName                  | ifAlias         | ifType         | Oper Status | Ignored |
+---------+--------------------------------+-------------------------+-----------------+----------------+-------------+---------+
| 1001    | X350-24t Port 1                | 1:1                     | ...             | ethernetCsmacd | up          | no      |
| 1002    | X350-24t Port 2                | 1:2                     | ...             | ethernetCsmacd | up          | no      |
| 1003    | X350-24t Port 3                | 1:3                     | ...             | ethernetCsmacd | up          | no      |
| 1004    | X350-24t Port 4                | 1:4                     | ...             | ethernetCsmacd | up          | no      |
| 1005    | X350-24t Port 5                | 1:5                     | ...             | ethernetCsmacd | up          | no      |
| 1006    | X350-24t Port 6                | 1:6                     | ...             | ethernetCsmacd | up          | no      |
| 1007    | X350-24t Port 7                | 1:7                     | ...             | ethernetCsmacd | up          | no      |
| 1008    | X350-24t Port 8                | 1:8                     | ...             | ethernetCsmacd | up          | no      |
| 1009    | X350-24t Port 9                | 1:9                     | ...             | ethernetCsmacd | up          | no      |
| 1010    | X350-24t Port 10               | 1:10                    | ...             | ethernetCsmacd | up          | no      |
| 1011    | X350-24t Port 11               | 1:11                    | ...             | ethernetCsmacd | up          | no      |
| 1012    | X350-24t Port 12               | 1:12                    | ...             | ethernetCsmacd | up          | no      |
| 1013    | X350-24t Port 13               | 1:13                    | ...             | ethernetCsmacd | up          | no      |
| 1014    | X350-24t Port 14               | 1:14                    | ...             | ethernetCsmacd | up          | no      |
| 1015    | X350-24t Port 15               | 1:15                    | ...             | ethernetCsmacd | down        | no      |
| 1016    | X350-24t Port 16               | 1:16                    | ...             | ethernetCsmacd | down        | no      |
| 1017    | X350-24t Port 17               | 1:17                    | ...             | ethernetCsmacd | down        | no      |
| 1018    | X350-24t Port 18               | 1:18                    | ...             | ethernetCsmacd | down        | no      |
| 1019    | X350-24t Port 19               | 1:19                    | ...             | ethernetCsmacd | down        | no      |
| 1020    | X350-24t Port 20               | 1:20                    | ...             | ethernetCsmacd | down        | no      |
| 1021    | X350-24t Port 21               | 1:21                    | ...             | ethernetCsmacd | down        | no      |
| 1022    | X350-24t Port 22               | 1:22                    | ...             | ethernetCsmacd | down        | no      |
| 1023    | X350-24t Port 23               | 1:23                    | ...             | ethernetCsmacd | up          | no      |
| 1024    | X350-24t Port 24               | 1:24                    | ...             | ethernetCsmacd | down        | no      |
| 1025    | X350-24t Port 25               | 1:25                    | ...             | ethernetCsmacd | notPresent  | yes     |
| 1026    | X350-24t Port 26               | 1:26                    | ...             | ethernetCsmacd | notPresent  | yes     |
| 1027    | Management Port                | Management              | MgmtPort        | ethernetCsmacd | down        | no      |
| 1000001 | VirtualRouter0                 | VirtualRouter0          | ...             | propVirtual    | up          | yes     |
| 1000002 | VirtualRouter1                 | VirtualRouter1          | ...             | propVirtual    | up          | yes     |
| 1000003 | VirtualRouter2                 | VirtualRouter2          | ...             | propVirtual    | up          | yes     |
| 1000004 | VLAN 00001 (Default)           | Default                 | ...             | propVirtual    | down        | yes     |
| 1000005 | VLAN 04095 (Mgmt)              | Mgmt                    | Management VLAN | propVirtual    | down        | no      |
| 1000007 | VLAN 00082 (VL_OBMGMT_ALARM)   | VL_OBMGMT_ALARM         | ...             | propVirtual    | down        | no      |
| 1000008 | VLAN 00081 (VL_OBMGMT_AXH)     | VL_OBMGMT_AXH           | ...             | propVirtual    | down        | no      |
| 1000009 | VLAN 00073 (VL_OBMGMT_CATV)    | VL_OBMGMT_CATV          | ...             | propVirtual    | down        | no      |
| 1000010 | VLAN 00094 (VL_OBMGMT_SAARW... | VL_OBMGMT_SAARWELLINGEN | ...             | propVirtual    | up          | no      |
| 1000011 | VLAN 00075 (VL_OBMGMT_RES_1)   | VL_OBMGMT_RES_1         | ...             | propVirtual    | down        | no      |
| 1000012 | VLAN 00076 (VL_OBMGMT_RES_2)   | VL_OBMGMT_RES_2         | ...             | propVirtual    | down        | no      |
| 1000013 | VLAN 00078 (VL_OBMGMT_RES_4)   | VL_OBMGMT_RES_4         | ...             | propVirtual    | down        | no      |
| 1000014 | VLAN 00079 (VL_OBMGMT_RES_5)   | VL_OBMGMT_RES_5         | ...             | propVirtual    | down        | no      |
| 1000015 | VLAN 00080 (VL_OBMGMT_RES_6)   | VL_OBMGMT_RES_6         | ...             | propVirtual    | down        | no      |
| 1000016 | VLAN 00083 (VL_OBMGMT_RS232)   | VL_OBMGMT_RS232         | ...             | propVirtual    | down        | no      |
| 1000017 | VLAN 04084 (VL_STPD)           | VL_STPD                 | ...             | propVirtual    | down        | no      |
| 1000018 | rtif(10.129.20.2/24)           | rtif(10.129.20.2/24)    | ...             | propVirtual    | up          | no      |
+---------+--------------------------------+-------------------------+-----------------+----------------+-------------+---------+


 o Duration             2.3017s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='2.4724',`force_discovery` ='0' WHERE `device_id` = '1203']
SQL RUNTIME[0.00783300s]
#####  extreme [1203] completed discovery modules at 2020-04-16 08:32:20  #####

 o Discovery time       2.4724 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '17413' AND `process_name` = 'discovery.php' AND `device_id` = '1203']
SQL RUNTIME[0.02538180s]
#####  Finished discovery run at 2020-04-16 08:32:20  #####

./discovery.php: extreme - 1 devices discovered in 3.064 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1587004337']
SQL RUNTIME[0.00039220s]
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       3.064 secs
 o Memory usage         6MB (peak: 6MB)
 o MySQL Usage          Cell[8/0.005s] Row[4/0.002s] Rows[8/0.107s] Column[1/0s] Update[5/0.058s] Insert[1/0.012s] Delete[1/0.026s] 
 o RRDTool Usage        
root@observium:/opt/observium#