mtivi@tlife-hs:/opt/observium$ sudo -u www-data ./discovery.php -h bigda* -d -m os,mibs,vrf,oids,bgp-peers,ospf-autodiscovery,sla,lsp,pseudowires
DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.011s]
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: 12226
Node Kind: directory
Schedule: normal
Last Changed Author: adama
Last Changed Rev: 12226
Last Changed Date: 2022-07-28 07:28:18 +0500 (Thu, 28 Jul 2022)

]
DEFINITIONS loaded by: 0.10812 ms

DEFINITIONS in memory: 14.8MB


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

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

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

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

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

SQL[SELECT * FROM `config`]
SQL RUNTIME[0.00005198s]
CACHE DISABLED. Disabled in config.

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0534s]
STDOUT[
Linux|5.11.22-5-pve|amd64|Debian|10||
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
Python 3.7.3
]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0028s]
CMD EXITDELAY[10ms]
STDOUT[
NET-SNMP version: 5.7.3
]

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0063s]
STDOUT[
RRDCacheD 1.7.1
]

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0267s]
STDOUT[
Apache/2.4.38
]

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

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

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

 o OS                   Linux 5.11.22-5-pve [amd64] (Debian 10)
 o Apache               2.4.38
 o PHP                  7.3.31-1~deb10u1 (OPcache: DISABLED)
 o Python               3.7.3
 o MariaDB              10.3.34-MariaDB-0+deb10u1 (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.7.1 (rrdcached 1.7.1: unix:/var/run/rrdcached.sock)
 o Fping                4.2 (IPv4 and IPv6)

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

 o PHP                  Unlimited

#####  MariaDB mode  #####

 o MariaDB              NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

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

 o PHP                  UTF-8
 o MariaDB              utf8

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

 o Date                 Monday, 01-Aug-22 11:45:48 PKT
 o PHP                  +05:00
 o MariaDB              +05:00

#####  Fast Cache info  #####

 o Enabled              No
 o Driver               
 o Total size           0B


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00007296s]
#####  Starting discovery run at 2022-08-01 11:45:48  #####


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

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.3.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0389s]
STDOUT[
.1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.2011.2.23.666
.1.3.6.1.2.1.1.3.0 = 33:20:22:32.45
]
SNMP STATUS[TRUE]

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

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '503' AND `poller_id` = '0']
SQL RUNTIME[0.00015712s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('13057','discovery.php','13056','33','php ./discovery.php -h bigda* -d -m os,mibs,vrf,oids,bgp-peers,ospf-autodiscovery,sla,lsp,pseudowires','1659336347','503')]
SQL RUNTIME[0.01624084s]
#####  bigdasw2.spb.mtik.pro [503]  #####

 o OS Type              vrp
 o OS Group             huawei
 o SNMP Version         v2c
 o Last discovery       2022-08-01 11:44:06
 o Last duration        0.99 seconds

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


CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0413s]
STDOUT[
S6330-H48X6C 
Huawei Versatile Routing Platform Software 
 VRP (R) software,Version 5.170 (S6330 V200R021C00SPC100) 
 Copyright (C) 2007 Huawei Technologies Co., Ltd.
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0376s]
STDOUT[
.1.3.6.1.4.1.2011.2.23.666
]
SNMP STATUS[TRUE]
Duplicate sysObjectID '.1.3.6.1.4.1.1949.1.3.10.2.5' in definitions for OSes: utstarcom-pon and utstarcom-pon!
+-------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OID         |                                                                                                                                                                        |
+-------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| sysDescr    | S6330-H48X6C 
Huawei Versatile Routing Platform Software 
 VRP (R) software,Version 5.170 (S6330 V200R021C00SPC100) 
 Copyright (C) 2007 Huawei Technologies Co., Ltd. |
| sysObjectID | .1.3.6.1.4.1.2011.2.23.666                                                                                                                                             |
+-------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

 o Re-Detect OS matched (vrp: Huawei VRP): 
+-------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| OID         | Matched definition                    |                                                                                                                                                           |
+-------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| sysObjectID | .1.3.6.1.4.1.2011.2.                  | .1.3.6.1.4.1.2011.2.23.666                                                                                                                                |
| sysDescr    | /Versatile Routing Platform Software/ | S6330-H48X6C  Huawei Versatile Routing Platform Software   VRP (R) software,Version 5.170 (S6330 V200R021C00SPC100)   Copyright (C) 2007 Huawei Technolog |
|             |                                       | ies Co., Ltd.                                                                                                                                             |
+-------------+---------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+


 o Duration             0.101s

#####  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.0098s]
CMD EXITDELAY[10ms]
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 *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' .1.3.6.1.2.1.1.9.1.2]

CMD EXITCODE[0]
CMD RUNTIME[0.0717s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2 = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' sysORDescr]

CMD EXITCODE[0]
CMD RUNTIME[0.0697s]
CMD EXITDELAY[10ms]
STDOUT[
sysORDescr = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m LLDP-EXT-MED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' lldpXMedLocModelName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0444s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]
Store in cache OID: LLDP-EXT-MED-MIB::lldpXMedLocModelName.0

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m HUAWEI-DEVICE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'bigdasw2.spb.mtik.pro':'2341' hwCompatibleVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0655s]
STDOUT[
"V200R013C99"
]
SNMP STATUS[TRUE]
Store in cache OID: HUAWEI-DEVICE-MIB::hwCompatibleVersion.0
+------------------------------------------+--------------------+-------------+
| OID                                      | Matched definition | Value       |
+------------------------------------------+--------------------+-------------+
| device os_group                          | huawei             | huawei      |
| HUAWEI-DEVICE-MIB::hwCompatibleVersion.0 | /.+/               | V200R013C99 |
+------------------------------------------+--------------------+-------------+

 o MIBs discovered      HUAWEI-DEVICE-MIB 
+-----------------------+-------------------+-----------+-----------+
| Identity              | MIB               | Source    | Status    |
+-----------------------+-------------------+-----------+-----------+
| .1.3.6.1.4.1.2011.6.3 | HUAWEI-DEVICE-MIB | Discovery | MIB added |
+-----------------------+-------------------+-----------+-----------+


SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '503' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00009298s]


  /opt/observium/includes/discovery/mibs.inc.php:313 
array(
  [0]  => string(17) "HUAWEI-DEVICE-MIB"
  [1]  => string(18) "HUAWEI-SYS-MAN-MIB"
  [2]  => string(21) "HUAWEI-ENERGYMNGT-MIB"
  [3]  => string(16) "HUAWEI-L2MAM-MIB"
  [4]  => string(17) "HUAWEI-IF-EXT-MIB"
  [5]  => string(18) "HUAWEI-BGP-VPN-MIB"
  [6]  => string(18) "MPLS-L3VPN-STD-MIB"
  [7]  => string(24) "HUAWEI-ENTITY-EXTENT-MIB"
  [8]  => string(18) "POWER-ETHERNET-MIB"
  [9]  => string(14) "HUAWEI-POE-MIB"
  [10] => string(17) "HUAWEI-L2VLAN-MIB"
  [11] => string(15) "HUAWEI-L2IF-MIB"
  [12] => string(22) "HUAWEI-DISMAN-PING-MIB"
  [13] => string(10) "SNMPv2-MIB"
  [14] => string(18) "SNMP-FRAMEWORK-MIB"
  [15] => string(6) "IF-MIB"
  [16] => string(13) "ADSL-LINE-MIB"
  [17] => string(13) "EtherLike-MIB"
  [18] => string(10) "ENTITY-MIB"
  [19] => string(17) "ENTITY-SENSOR-MIB"
  [20] => string(12) "UCD-SNMP-MIB"
  [21] => string(18) "HOST-RESOURCES-MIB"
  [22] => string(6) "IP-MIB"
  [23] => string(8) "IPV6-MIB"
  [24] => string(8) "LLDP-MIB"
  [25] => string(10) "PW-STD-MIB"
  [26] => string(15) "DISMAN-PING-MIB"
  [27] => string(8) "BGP4-MIB"
)

 o Duration             0.292s

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

 o MPLS-L3VPN-STD-MIB   
CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m MPLS-L3VPN-STD-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' mplsL3VpnConfiguredVrfs.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0527s]
STDOUT[
3
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m MPLS-L3VPN-STD-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' mplsL3VpnVrfEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.2391s]
STDOUT[
mplsL3VpnVrfVpnId."INET" = ""
mplsL3VpnVrfVpnId."L3VPN1" = ""
mplsL3VpnVrfVpnId."L3VPN2" = ""
mplsL3VpnVrfDescription."INET" = 
mplsL3VpnVrfDescription."L3VPN1" = 
mplsL3VpnVrfDescription."L3VPN2" = 
mplsL3VpnVrfRD."INET" = "10.217.234.162:100"
mplsL3VpnVrfRD."L3VPN1" = "10.217.234.162:30002"
mplsL3VpnVrfRD."L3VPN2" = "64900:10087"
mplsL3VpnVrfCreationTime."INET" = 17:15:54:17.00
mplsL3VpnVrfCreationTime."L3VPN1" = 17:15:51:51.00
mplsL3VpnVrfCreationTime."L3VPN2" = 0:14:44:55.00
mplsL3VpnVrfOperStatus."INET" = up
mplsL3VpnVrfOperStatus."L3VPN1" = up
mplsL3VpnVrfOperStatus."L3VPN2" = down
mplsL3VpnVrfActiveInterfaces."INET" = 1
mplsL3VpnVrfActiveInterfaces."L3VPN1" = 3
mplsL3VpnVrfActiveInterfaces."L3VPN2" = 0
mplsL3VpnVrfAssociatedInterfaces."INET" = 2
mplsL3VpnVrfAssociatedInterfaces."L3VPN1" = 3
mplsL3VpnVrfAssociatedInterfaces."L3VPN2" = 0
mplsL3VpnVrfConfMidRteThresh."INET" = 0
mplsL3VpnVrfConfMidRteThresh."L3VPN1" = 0
mplsL3VpnVrfConfMidRteThresh."L3VPN2" = 0
mplsL3VpnVrfConfHighRteThresh."INET" = 0
mplsL3VpnVrfConfHighRteThresh."L3VPN1" = 0
mplsL3VpnVrfConfHighRteThresh."L3VPN2" = 0
mplsL3VpnVrfConfMaxRoutes."INET" = 0
mplsL3VpnVrfConfMaxRoutes."L3VPN1" = 0
mplsL3VpnVrfConfMaxRoutes."L3VPN2" = 0
mplsL3VpnVrfConfLastChanged."INET" = 16:4:27:47.00
mplsL3VpnVrfConfLastChanged."L3VPN1" = 16:4:30:12.00
mplsL3VpnVrfConfLastChanged."L3VPN2" = 33:5:37:57.00
mplsL3VpnVrfConfRowStatus."INET" = active
mplsL3VpnVrfConfRowStatus."L3VPN1" = active
mplsL3VpnVrfConfRowStatus."L3VPN2" = active
mplsL3VpnVrfConfAdminStatus."INET" = up
mplsL3VpnVrfConfAdminStatus."L3VPN1" = up
mplsL3VpnVrfConfAdminStatus."L3VPN2" = up
mplsL3VpnVrfConfStorageType."INET" = volatile
mplsL3VpnVrfConfStorageType."L3VPN1" = volatile
mplsL3VpnVrfConfStorageType."L3VPN2" = volatile
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m MPLS-L3VPN-STD-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' mplsL3VpnVrfPerfEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.106s]
STDOUT[
mplsL3VpnVrfPerfRoutesAdded."INET" = 89
mplsL3VpnVrfPerfRoutesAdded."L3VPN1" = 34
mplsL3VpnVrfPerfRoutesAdded."L3VPN2" = 0
mplsL3VpnVrfPerfRoutesDeleted."INET" = 85
mplsL3VpnVrfPerfRoutesDeleted."L3VPN1" = 21
mplsL3VpnVrfPerfRoutesDeleted."L3VPN2" = 0
mplsL3VpnVrfPerfCurrNumRoutes."INET" = 4
mplsL3VpnVrfPerfCurrNumRoutes."L3VPN1" = 13
mplsL3VpnVrfPerfCurrNumRoutes."L3VPN2" = 0
mplsL3VpnVrfPerfRoutesDropped."INET" = 0
mplsL3VpnVrfPerfRoutesDropped."L3VPN1" = 0
mplsL3VpnVrfPerfRoutesDropped."L3VPN2" = 0
mplsL3VpnVrfPerfDiscTime."INET" = 0:0:00:00.00
mplsL3VpnVrfPerfDiscTime."L3VPN1" = 0:0:00:00.00
mplsL3VpnVrfPerfDiscTime."L3VPN2" = 0:0:00:00.00
]
SNMP STATUS[TRUE]
Timeticks converted 17:15:54:17.00 -> 1526057
Timeticks converted 16:4:27:47.00 -> 1398467
Timeticks converted 17:15:51:51.00 -> 1525911
Timeticks converted 16:4:30:12.00 -> 1398612
Timeticks converted 0:14:44:55.00 -> 53095
Timeticks converted 33:5:37:57.00 -> 2871477

CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m MPLS-L3VPN-STD-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' mplsL3VpnIfConfRowStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0556s]
STDOUT[
mplsL3VpnIfConfRowStatus."INET".160 = active
mplsL3VpnIfConfRowStatus."INET".164 = active
mplsL3VpnIfConfRowStatus."L3VPN1".161 = active
mplsL3VpnIfConfRowStatus."L3VPN1".162 = active
mplsL3VpnIfConfRowStatus."L3VPN1".169 = active
]
SNMP STATUS[TRUE]


SQL[SELECT * FROM `vrfs` WHERE `device_id` = '503']
SQL RUNTIME[0.00010991s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '503' AND `ifIndex` = '160' AND `deleted` = '0' LIMIT 1]
SQL RUNTIME[0.00028920s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '33763']
SQL RUNTIME[0.00044298s]

SQL[SELECT DISTINCT `entity_type` FROM `entity_attribs` WHERE `device_id` = '503']
SQL RUNTIME[0.00036097s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '503']
SQL RUNTIME[0.00035286s]

SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '503']
SQL RUNTIME[0.00007486s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '503' AND `ifIndex` = '164' AND `deleted` = '0' LIMIT 1]
SQL RUNTIME[0.00030994s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '33767']
SQL RUNTIME[0.00031400s]

SQL[INSERT INTO `ports` (`port_id`,`ifIndex`,`device_id`,`ifVrf`) VALUES ('33763','160','503','10'),('33767','164','503','10') ON DUPLICATE KEY UPDATE `ifVrf`=VALUES(`ifVrf`)]
SQL RUNTIME[0.00026107s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '503' AND `ifIndex` = '161' AND `deleted` = '0' LIMIT 1]
SQL RUNTIME[0.00019908s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '33764']
SQL RUNTIME[0.00030112s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '503' AND `ifIndex` = '162' AND `deleted` = '0' LIMIT 1]
SQL RUNTIME[0.00019097s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '33765']
SQL RUNTIME[0.00025511s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '503' AND `ifIndex` = '169' AND `deleted` = '0' LIMIT 1]
SQL RUNTIME[0.00018907s]

SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '33772']
SQL RUNTIME[0.00026298s]

SQL[INSERT INTO `ports` (`port_id`,`ifIndex`,`device_id`,`ifVrf`) VALUES ('33764','161','503','11'),('33765','162','503','11'),('33772','169','503','11') ON DUPLICATE KEY UPDATE `ifVrf`=VALUES(`ifVrf`)]
SQL RUNTIME[0.00025988s]

SQL[SELECT COUNT(*) FROM `vrfs` WHERE `device_id` = '503' AND `vrf_name` NOT IN ('INET','L3VPN1','L3VPN2')]
SQL RUNTIME[0.00006390s]

SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '503' AND `ifVrf` IS NOT NULL AND `port_id` NOT IN ('33763','33767','33764','33765','33772')]
SQL RUNTIME[0.00065708s]

 o Changes              3 unchanged
 o Duration             0.4782s

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


SQL[SELECT * FROM `oids_entries` LEFT JOIN `oids` USING(`oid_id`) WHERE `device_id` = '503']
SQL RUNTIME[0.00009990s]

SQL[SELECT * FROM `oids` WHERE `oid_autodiscover` = '1']
SQL RUNTIME[0.00006199s]

 o Duration             0.0016s

#####  Module Start: bgp-peers  #####


CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m BGP4-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bigdasw2.spb.mtik.pro':'2341' bgpLocalAs.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0436s]
STDOUT[
64900
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpgetnext -v2c -c *** -Pud -OQUs -m HUAWEI-BGP-VPN-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/huawei 'udp':'bigdasw2.spb.mtik.pro':'2341' hwBgpPeerRemoteAs]

CMD EXITCODE[0]
CMD RUNTIME[0.0645s]
STDOUT[
hwBgpPeerRemoteAs.0.ipv4.vpn.ipv4."10.217.234.161" = 64900
]
SNMP STATUS[TRUE]
No BGP on host
SQL[SELECT * FROM `bgpPeers` WHERE `device_id` = '503']
SQL RUNTIME[0.00012398s]

 o Duration             0.1132s

#####  Module Start: ospf-autodiscovery  #####


 o Duration             0.0001s

#####  Module Start: sla  #####


 o Duration             0.0003s

#####  Module Start: lsp  #####


SQL[SELECT * FROM `lsp` WHERE `device_id` = '503']
SQL RUNTIME[0.00009680s]

 o Duration             0.0011s

#####  Module Start: pseudowires  #####


 o Duration             0.0002s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='1.0069',`force_discovery` ='0' WHERE `device_id` = '503']
SQL RUNTIME[0.00684690s]
#####  bigdasw2.spb.mtik.pro [503] completed discovery modules at 2022-08-01 11:45:49  #####

 o Discovery time       1.0069 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '13057' AND `process_name` = 'discovery.php' AND `device_id` = '503' AND `poller_id` = '0']
SQL RUNTIME[0.00674796s]
#####  Finished discovery run at 2022-08-01 11:45:49  #####

./discovery.php: bigda* - 1 devices discovered in 1.188 secs
Log file '/var/log/observium.d' is not writable or not created.

SQL[SELECT * FROM `observium_processes` WHERE `poller_id` = '0' AND `process_start` < '1659321948']
SQL RUNTIME[0.00029707s]
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       1.188 secs
 o Memory usage         22MB (peak: 22MB)
 o MySQL Usage          Cell[12/0.011s] Row[10/0.01s] Rows[14/0.011s] Column[2/0.002s] Update[3/0.01s] Insert[1/0.017s] Delete[1/0.007s] 
 o RRDTool Usage