jh@netmgmt01:/opt/observium$ ./discovery.php -d -m vlans -h dc4-1-a6-nx01.netic.dk DEBUG! CMD[/usr/bin/svn info /opt/observium] CMD EXITCODE[0] CMD RUNTIME[0.0216s] 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: 12145 Node Kind: directory Schedule: normal Last Changed Author: adama Last Changed Rev: 12145 Last Changed Date: 2022-06-15 13:37:54 +0200 (Wed, 15 Jun 2022) ] DEFINITIONS loaded by: 0.0994480 ms DEFINITIONS in memory: 14.8MB SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00046015s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00013900s] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00011182s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00018311s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00025201s] CACHE DISABLED. Disabled in config. SQL[SELECT EXISTS (SELECT 1 FROM `pollers`)] SQL RUNTIME[0.00022388s] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 22.6.12145 https://www.observium.org CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.032s] STDOUT[ Linux|5.4.0-136-generic|amd64|Ubuntu|20.04|vmware| ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0057s] STDOUT[ Python 3.8.10 ] SQL[SELECT version();] SQL RUNTIME[0.00035501s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0073s] STDOUT[ NET-SNMP version: 5.8 ] CMD[/usr/bin/rrdtool --version | head -n1] CMD EXITCODE[0] CMD RUNTIME[0.014s] STDOUT[ RRDtool 1.7.2 Copyright by Tobias Oetiker ] CMD[/usr/bin/fping -v 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0019s] 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.0379s] STDOUT[ Apache/2.4.41 ] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00019598s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.04547811s] ##### Software versions ##### o OS Linux 5.4.0-136-generic [amd64] (Ubuntu 20.04) o Apache 2.4.41 o PHP 7.4.3 (OPcache: DISABLED) o Python 3.8.10 o MySQL 8.0.31-0ubuntu0.20.04.1 (extension: mysqli 7.4.3) o SNMP NET-SNMP 5.8 o RRDtool 1.7.2 o Fping 4.2 (IPv4 and IPv6) ##### Memory Limit ##### o PHP Unlimited ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8mb3 ##### Timezones info ##### o Date Thursday, 12-Jan-23 12:21:21 CET o PHP +01:00 o MySQL +01: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.00050807s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'http_rate_https://www.observium.org';] SQL RUNTIME[0.00036693s] SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'http_rate_https://www.observium.org')] SQL RUNTIME[0.00030088s] SQL[UPDATE `observium_attribs` set `attrib_value` ='{\"2023-01-12\":3}' WHERE `attrib_type` = 'http_rate_https://www.observium.org'] SQL RUNTIME[0.01191306s] HTTP CURL cmd: curl --connect-timeout 15 -X POST -H 'Connection: close' -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' -H 'Content-Length: 60' -H 'User-Agent: Observium/22.6.12145' -d 'stats=YToxOntzOjc6InZlcnNpb24iO3M6MTA6IjIyLjYuMTIxNDUiO30%3D' https://www.observium.org/versions.php REQUEST[https://www.observium.org/versions.php] REQUEST STATUS[TRUE] REQUEST RUNTIME[0.1616s] RESPONSE CODE[200 OK] Response [12421] valid: [stable->revision] regex [^\d+$] /opt/observium/includes/common.inc.php:4208 array( [stable] => array( [version] => string(11) "22.12.12421" [revision] => string(5) "12421" [date] => string(10) "2022-12-21" ) [current] => array( [version] => string(10) "23.1.12457" [revision] => string(5) "12457" [date] => string(10) "2023-01-10" ) [ce] => array( [version] => string(5) "22.12" [revision] => string(5) "12447" [date] => string(10) "2022-12-30" ) ) SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver')] SQL RUNTIME[0.00056005s] SQL[UPDATE `observium_attribs` set `attrib_value` ='23.1.12457' WHERE `attrib_type` = 'latest_ver'] SQL RUNTIME[0.00034785s] SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev')] SQL RUNTIME[0.00028086s] SQL[UPDATE `observium_attribs` set `attrib_value` ='12457' WHERE `attrib_type` = 'latest_rev'] SQL RUNTIME[0.00028706s] SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date')] SQL RUNTIME[0.00026989s] SQL[UPDATE `observium_attribs` set `attrib_value` ='2023-01-10' WHERE `attrib_type` = 'latest_rev_date'] SQL RUNTIME[0.00030303s] SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck')] SQL RUNTIME[0.00028491s] SQL[UPDATE `observium_attribs` set `attrib_value` ='1673522481' WHERE `attrib_type` = 'last_versioncheck'] SQL RUNTIME[0.00386786s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00016308s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';] SQL RUNTIME[0.00012016s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';] SQL RUNTIME[0.00011802s] There is a newer revision of Observium available! Version 23.1.12457 (12th January 2023) is 312 revisions ahead. ##### Starting discovery run at 2023-01-12 12:21:21 ##### SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'dc4-1-a6-nx01.netic.dk' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00046182s] CMD[/usr/bin/snmpget -t '3' -r '2' -v2c -c *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'dc4-1-a6-nx01.netic.dk':'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.016s] STDOUT[ .1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.9.12.3.1.3.1084 .1.3.6.1.2.1.1.3.0 = 233:0:21:57.80 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '1'] SQL RUNTIME[0.00040317s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '1' AND `poller_id` = '0'] SQL RUNTIME[0.00020814s] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('3711569','discovery.php','3701238','1053','php ./discovery.php -d -m vlans -h dc4-1-a6-nx01.netic.dk','1673522481','1')] SQL RUNTIME[0.00600600s] ##### dc4-1-a6-nx01.netic.dk [1] ##### o OS Type nxos o OS Group cisco o SNMP Version v2c o Last discovery 2023-01-12 06:59:09 o Last duration 44.84 seconds ##### Module Start: vlans ##### SQL[SELECT * FROM `vlans` WHERE `device_id` = '1';] SQL RUNTIME[0.00058413s] SQL[SELECT * FROM `ports_vlans` WHERE `device_id` = '1';] SQL RUNTIME[0.00157619s] JSON DECODE[Not string passed] JSON RAW[ > $str /opt/observium/includes/common.inc.php:5511 null ] SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '1' AND `use` = 'mib' AND `disabled` = '1'] SQL RUNTIME[0.00048804s] MIB [CISCO-VTP-MIB] disabled in device config. MIB [CISCO-IPSEC-FLOW-MONITOR-MIB] disabled in device config. MIB [CISCO-REMOTE-ACCESS-MONITOR-MIB] disabled in device config. MIB [CISCO-EIGRP-MIB] disabled in device config. MIB [CISCO-BGP4-MIB] disabled in device config. MIB [CISCO-POWER-ETHERNET-EXT-MIB] disabled in device config. MIB [POWER-ETHERNET-MIB] disabled in device config. MIB [MPLS-L3VPN-STD-MIB] disabled in device config. MIB [MPLS-VPN-MIB] disabled in device config. MIB [CISCO-TRUSTSEC-INTERFACE-MIB] disabled in device config. MIB [ADSL-LINE-MIB] disabled in device config. MIB [BGP4-MIB] disabled in device config. o Q-BRIDGE-MIB MIB [CISCO-VTP-MIB] disabled in device config. CMD[/usr/bin/snmpbulkwalk -t '3' -r '2' -v2c -c *** -Pud -OQUs -m Q-BRIDGE-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'dc4-1-a6-nx01.netic.dk':'161' dot1qVlanStaticName] CMD EXITCODE[0] CMD RUNTIME[0.0449s] STDOUT[ dot1qVlanStaticName = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o Duration 0.0568s SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='network',`last_discovered_timetaken` ='0.0665',`force_discovery` ='0' WHERE `device_id` = '1'] SQL RUNTIME[0.00456190s] ##### dc4-1-a6-nx01.netic.dk [1] completed discovery modules at 2023-01-12 12:21:22 ##### o Discovery time 0.0665 seconds SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '3711569' AND `process_name` = 'discovery.php' AND `device_id` = '1' AND `poller_id` = '0'] SQL RUNTIME[0.00276709s] ##### Finished discovery run at 2023-01-12 12:21:22 ##### ./discovery.php: dc4-1-a6-nx01.netic.dk - 1 devices discovered in 0.457 secs Log file '/opt/observium/logs/observium.log' is not writable, check file permissions. SQL[SELECT * FROM `observium_processes` WHERE `poller_id` = '0' AND `process_start` < '1673508081'] SQL RUNTIME[0.00045514s] 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.457 secs o Memory usage 22MB (peak: 22MB) o MySQL Usage Cell[10/0.01s] Row[7/0.007s] Rows[9/0.057s] Column[1/0.001s] Update[6/0.026s] Insert[1/0.007s] Delete[1/0.004s] o RRDTool Usage jh@netmgmt01:/opt/observium$