swadmin@observium:/opt/observium$ sudo ./discovery.php -d -m vlans -h sw11-2
DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0127s]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/branches/stable
Relative URL: ^/observium/branches/stable
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 11015
Node Kind: directory
Schedule: normal
Last Changed Author: adama
Last Changed Rev: 10924
Last Changed Date: 2020-12-31 05:13:49 +0100 (Thu, 31 Dec 2020)

]

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

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

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0018s]
STDOUT[
+01:00
]

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

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

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

CMD[/bin/hostname -f]

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0138s]
CMD EXITDELAY[10ms]
STDOUT[
Linux|4.15.0-135-generic|amd64|Ubuntu|18.04|vmware|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0028s]
STDOUT[
Python 2.7.17
]

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

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

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

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

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0346s]
STDOUT[
Apache/2.4.46
]

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

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

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

 o OS                   Linux 4.15.0-135-generic [amd64] (Ubuntu 18.04)
 o Apache               2.4.46
 o PHP                  7.2.24-0ubuntu0.18.04.7 (OPcache: DISABLED)
 o Python               2.7.17
 o MySQL                5.7.33-0ubuntu0.18.04.1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.0
 o Fping                4.0 (IPv4 and IPv6)

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

 o PHP                  Unlimited

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

 o MySQL

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

 o PHP                  UTF-8
 o MySQL                utf8

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

 o Date                 Monday, 15-Feb-21 16:34:10 CET
 o PHP                  +01:00
 o MySQL                +01:00


SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
SQL RUNTIME[0.00029182s]
HTTP CURL cmd:
curl --connect-timeout 15 -X POST -H 'Connection: close' -H 'Content-Length: 58' -H 'User-Agent: Observium/20.12.10924' -d 'stats=YToxOntzOjc6InZlcnNpb24iO3M6MTE6IjIwLjEyLjEwOTI0Ijt9' https://www.observium.org/versions.php

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

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

SQL[UPDATE `observium_attribs` set `attrib_value` ='20.12.10924' WHERE `attrib_type` = 'latest_ver']
SQL RUNTIME[0.00150394s]

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

SQL[UPDATE `observium_attribs` set `attrib_value` ='10924' WHERE `attrib_type` = 'latest_rev']
SQL RUNTIME[0.00888205s]

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

SQL[UPDATE `observium_attribs` set `attrib_value` ='2020-12-31' WHERE `attrib_type` = 'latest_rev_date']
SQL RUNTIME[0.01740193s]

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

SQL[UPDATE `observium_attribs` set `attrib_value` ='1613403251' WHERE `attrib_type` = 'last_versioncheck']
SQL RUNTIME[0.00829887s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00019193s]
#####  Starting discovery run at 2021-02-15 16:34:11  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'sw11-2' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00046301s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0145s]
STDOUT[
sysObjectID.0 = enterprises.9.6.1.95.28.6
sysUpTime.0 = 121:4:44:30.00
]
SNMP STATUS[TRUE]

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

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

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('6584','discovery.php','6583','0','php ./discovery.php -d -m vlans -h sw11-2','1613403250','338')]
SQL RUNTIME[0.00567293s]
#####  sw11-2 [338]  #####

 o OS Type              ciscosb
 o SNMP Version         v2c
 o Last discovery       2021-02-15 13:09:22
 o Last duration        107.27 seconds

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


SQL[SELECT * FROM `vlans` WHERE `device_id` = '338';]
SQL RUNTIME[0.00058985s]

SQL[SELECT * FROM `ports_vlans` WHERE `device_id` = '338';]
SQL RUNTIME[0.00020504s]

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '338' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00020504s]
 o Q-BRIDGE-MIB
CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw11-2':'161' dot1qVlanStaticName]

CMD EXITCODE[0]
CMD RUNTIME[0.0436s]
STDOUT[
dot1qVlanStaticName.1 =
dot1qVlanStaticName.2 = guest
dot1qVlanStaticName.17 = management
dot1qVlanStaticName.19 = print
dot1qVlanStaticName.23 = dmz
dot1qVlanStaticName.25 = wifi
dot1qVlanStaticName.48 = SIT 48
dot1qVlanStaticName.52 = Linka JHV
dot1qVlanStaticName.56 = MMT
dot1qVlanStaticName.60 = LPP
dot1qVlanStaticName.62 = FORD-H3
dot1qVlanStaticName.90 = MILKRUN
dot1qVlanStaticName.104 = mobil interni
dot1qVlanStaticName.107 = TV
dot1qVlanStaticName.108 = NET01
dot1qVlanStaticName.109 = sit 192
dot1qVlanStaticName.110 = sit 10
dot1qVlanStaticName.111 = Sit111_10.40.32.0 255.255.240.0
dot1qVlanStaticName.999 = UNITECH
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw11-2':'161' dot1qVlanStaticRowStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0407s]
STDOUT[
dot1qVlanStaticRowStatus.1 = active
dot1qVlanStaticRowStatus.2 = active
dot1qVlanStaticRowStatus.17 = active
dot1qVlanStaticRowStatus.19 = active
dot1qVlanStaticRowStatus.23 = active
dot1qVlanStaticRowStatus.25 = active
dot1qVlanStaticRowStatus.48 = active
dot1qVlanStaticRowStatus.52 = active
dot1qVlanStaticRowStatus.56 = active
dot1qVlanStaticRowStatus.60 = active
dot1qVlanStaticRowStatus.62 = active
dot1qVlanStaticRowStatus.90 = active
dot1qVlanStaticRowStatus.104 = active
dot1qVlanStaticRowStatus.107 = active
dot1qVlanStaticRowStatus.108 = active
dot1qVlanStaticRowStatus.109 = active
dot1qVlanStaticRowStatus.110 = active
dot1qVlanStaticRowStatus.111 = active
dot1qVlanStaticRowStatus.999 = active
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -Ih -OQUsx --hexOutputLength=0 -m Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw11-2':'161' dot1qVlanStaticEgressPorts]

CMD EXITCODE[0]
CMD RUNTIME[0.047s]
STDOUT[
dot1qVlanStaticEgressPorts.1 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.2 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.17 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.19 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.23 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.25 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.48 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.52 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.56 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.60 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.62 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.90 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.104 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.107 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.108 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.109 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.110 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.111 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
dot1qVlanStaticEgressPorts.999 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw11-2':'161' dot1dBasePortIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.0491s]
STDOUT[
dot1dBasePortIfIndex.1 = 1
dot1dBasePortIfIndex.2 = 2
dot1dBasePortIfIndex.3 = 3
dot1dBasePortIfIndex.4 = 4
dot1dBasePortIfIndex.5 = 5
dot1dBasePortIfIndex.6 = 6
dot1dBasePortIfIndex.7 = 7
dot1dBasePortIfIndex.8 = 8
dot1dBasePortIfIndex.9 = 9
dot1dBasePortIfIndex.10 = 10
dot1dBasePortIfIndex.11 = 11
dot1dBasePortIfIndex.12 = 12
dot1dBasePortIfIndex.13 = 13
dot1dBasePortIfIndex.14 = 14
dot1dBasePortIfIndex.15 = 15
dot1dBasePortIfIndex.16 = 16
dot1dBasePortIfIndex.17 = 17
dot1dBasePortIfIndex.18 = 18
dot1dBasePortIfIndex.19 = 19
dot1dBasePortIfIndex.20 = 20
dot1dBasePortIfIndex.21 = 21
dot1dBasePortIfIndex.22 = 22
dot1dBasePortIfIndex.23 = 23
dot1dBasePortIfIndex.24 = 24
dot1dBasePortIfIndex.25 = 25
dot1dBasePortIfIndex.26 = 26
dot1dBasePortIfIndex.27 = 27
dot1dBasePortIfIndex.28 = 28
dot1dBasePortIfIndex.1000 = 1000
dot1dBasePortIfIndex.1001 = 1001
dot1dBasePortIfIndex.1002 = 1002
dot1dBasePortIfIndex.1003 = 1003
dot1dBasePortIfIndex.1004 = 1004
dot1dBasePortIfIndex.1005 = 1005
dot1dBasePortIfIndex.1006 = 1006
dot1dBasePortIfIndex.1007 = 1007
]
SNMP STATUS[TRUE]
Store in cache Table OID: BRIDGE-MIB::dot1dBasePortIfIndex

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sw11-2':'161' dot1qPvid]

CMD EXITCODE[0]
CMD RUNTIME[0.0543s]
CMD EXITDELAY[10ms]
STDOUT[
dot1qPvid.1 = 1
dot1qPvid.2 = 1
dot1qPvid.3 = 1
dot1qPvid.4 = 1
dot1qPvid.5 = 1
dot1qPvid.6 = 1
dot1qPvid.7 = 1
dot1qPvid.8 = 1
dot1qPvid.9 = 1
dot1qPvid.10 = 1
dot1qPvid.11 = 1
dot1qPvid.12 = 1
dot1qPvid.13 = 1
dot1qPvid.14 = 1
dot1qPvid.15 = 1
dot1qPvid.16 = 1
dot1qPvid.17 = 1
dot1qPvid.18 = 1
dot1qPvid.19 = 1
dot1qPvid.20 = 1
dot1qPvid.21 = 1
dot1qPvid.22 = 1
dot1qPvid.23 = 1
dot1qPvid.24 = 1
dot1qPvid.25 = 1
dot1qPvid.26 = 1
dot1qPvid.27 = 1
dot1qPvid.28 = 1
dot1qPvid.1000 = 1
dot1qPvid.1001 = 1
dot1qPvid.1002 = 1
dot1qPvid.1003 = 1
dot1qPvid.1004 = 1
dot1qPvid.1005 = 1
dot1qPvid.1006 = 1
dot1qPvid.1007 = 1
]
SNMP STATUS[TRUE]


 1 2 17 19 23 25 48 52 56 60 62 90 104 107 108 109 110 111 999+--------+----------+---------------------------------+----------+-------------+
| Domain | Vlan: ID | Name                            | Type     | Status      |
+--------+----------+---------------------------------+----------+-------------+
| 1      | 1        |                                 | ethernet | operational |
| 1      | 2        | guest                           | ethernet | operational |
| 1      | 17       | management                      | ethernet | operational |
| 1      | 19       | print                           | ethernet | operational |
| 1      | 23       | dmz                             | ethernet | operational |
| 1      | 25       | wifi                            | ethernet | operational |
| 1      | 48       | SIT 48                          | ethernet | operational |
| 1      | 52       | Linka JHV                       | ethernet | operational |
| 1      | 56       | MMT                             | ethernet | operational |
| 1      | 60       | LPP                             | ethernet | operational |
| 1      | 62       | FORD-H3                         | ethernet | operational |
| 1      | 90       | MILKRUN                         | ethernet | operational |
| 1      | 104      | mobil interni                   | ethernet | operational |
| 1      | 107      | TV                              | ethernet | operational |
| 1      | 108      | NET01                           | ethernet | operational |
| 1      | 109      | sit 192                         | ethernet | operational |
| 1      | 110      | sit 10                          | ethernet | operational |
| 1      | 111      | Sit111_10.40.32.0 255.255.240.0 | ethernet | operational |
| 1      | 999      | UNITECH                         | ethernet | operational |
+--------+----------+---------------------------------+----------+-------------+

Module [ vlans ] stats: 1[V.] 2[V.] 17[V.] 19[V.] 23[V.] 25[V.] 48[V.] 52[V.] 56[V.] 60[V.] 62[V.] 90[V.] 104[V.] 107[V.] 108[V.] 109[V.] 110[V.] 111[V.] 999[V.]

 o Changes              19 unchanged
 o Duration             0.3625s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.3711',`force_discovery` ='0' WHERE `device_id` = '338']
SQL RUNTIME[0.00168991s]
#####  sw11-2 [338] completed discovery modules at 2021-02-15 16:34:11  #####

 o Discovery time       0.3711 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '6584' AND `process_name` = 'discovery.php' AND `device_id` = '338']
SQL RUNTIME[0.00803185s]
#####  Finished discovery run at 2021-02-15 16:34:11  #####

./discovery.php: sw11-2 - 1 devices discovered in 0.852 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1613388850']
SQL RUNTIME[0.00042701s]
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.852 secs
 o Memory usage         18MB (peak: 18MB)
 o MySQL Usage          Cell[8/0.004s] Row[4/0.003s] Rows[9/0.008s] Column[1/0.001s] Update[5/0.039s] Insert[1/0.006s] Delete[1/0.008s]
 o RRDTool Usage
swadmin@observium:/opt/observium$