$ ./discovery.php -d -h pdu-pa2-1.6-a DEBUG! CMD[/usr/bin/svn info /opt/observium] CMD EXITCODE[0] CMD RUNTIME[0.0174s] CMD EXITDELAY[5ms] 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: 13311 Node Kind: directory Schedule: normal Last Changed Author: mike Last Changed Rev: 13311 Last Changed Date: 2024-02-06 21:11:04 +0100 (Tue, 06 Feb 2024) ] DEFINITIONS Time : 0.14347 ms DEFINITIONS Memory: 16.2MB SQL[SELECT * FROM `observium_attribs`] SQL RUNTIME[0.00079608s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00038195s] SQL[SET SESSION `sql_mode` = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'] SQL RUNTIME[0.00037408s] DB mode(s) disabled: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00044703s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00049019s] SQL[SELECT EXISTS (SELECT 1 FROM `pollers`)] SQL RUNTIME[0.00042081s] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 24.2.13311 https://www.observium.org CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.0367s] STDOUT[ Linux|5.10.0-26-amd64|amd64|Debian|11|xenpv| ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0077s] STDOUT[ Python 3.9.2 ] SQL[SELECT version();] SQL RUNTIME[0.00065112s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0075s] STDOUT[ NET-SNMP version: 5.9 ] 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.0053s] STDOUT[ /usr/bin/fping: Version 5.0 ] CMD[/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.0237s] STDOUT[ Apache/2.4.56 ] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00069809s] SQL[SHOW VARIABLES LIKE 'log_bin'] SQL RUNTIME[0.00283623s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00094008s] ##### Software versions ##### o OS Linux 5.10.0-26-amd64 [amd64] (Debian 11) o Apache 2.4.56 o PHP 7.4.33 (OPcache: DISABLED) o Python 3.9.2 o MariaDB 10.11.5-MariaDB-log (extension: mysqli 7.4.33) o SNMP NET-SNMP 5.9 o RRDtool 1.7.2 o Fping 5.0 (IPv4 and IPv6) o Fetch cURL 7.74.0 (OpenSSL/1.1.1w, LibZ 1.2.11, LibIDN 2.3.0) ##### Memory Limit ##### o PHP Unlimited ##### DB info ##### o DB schema 492 o MariaDB binlog ON o MariaDB mode NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION ##### Charset info ##### o PHP UTF-8 o MariaDB utf8mb3 ##### Timezones info ##### o Date Wednesday, 07-Feb-24 08:24:03 CET o PHP +01:00 o MariaDB +01:00 ##### Starting discovery run at 2024-02-07 08:24:03 ##### SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'pdu-pa2-1.6-a' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00110006s] Found device [676] model 'avocent' exact association for .1.3.6.1.4.1.10418.17.1.7 CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUsn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'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.0213s] STDOUT[ .1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.10418.17.1.7 .1.3.6.1.2.1.1.3.0 = 30:13:25:44.75 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '676'] SQL RUNTIME[0.00087786s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '676' AND `poller_id` = '0'] SQL RUNTIME[0.00062799s] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('2755025','discovery.php','2754511','0','php ./discovery.php -d -h pdu-pa2-1.6-a','1707290643','676')] SQL RUNTIME[0.00270581s] ##### pdu-pa2-1.6-a [676] ##### o OS Type avocent-pdu o OS Group pdu o SNMP Version v2c o Last discovery 2024-02-07 06:43:49 o Last duration 19.20 seconds ##### Module Start: os ##### Device-specific no-bulk option. CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' sysDescr.0] CMD EXITCODE[0] CMD RUNTIME[0.0194s] STDOUT[ Avocent PM ] SNMP STATUS[TRUE] Store in cache OID: SNMPv2-MIB::sysDescr.0 Device-specific no-bulk option. CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' sysObjectID.0] CMD EXITCODE[0] CMD RUNTIME[0.0209s] STDOUT[ .1.3.6.1.4.1.10418.17.1.7 ] SNMP STATUS[TRUE] +-------------+---------------------------+ | OID | | +-------------+---------------------------+ | sysDescr | Avocent PM | | sysObjectID | .1.3.6.1.4.1.10418.17.1.7 | +-------------+---------------------------+ o Detect OS matched (avocent-pdu: Avocent PDU): +-------------+-------------------------+---------------------------+ | OID | Matched definition | | +-------------+-------------------------+---------------------------+ | sysObjectID | .1.3.6.1.4.1.10418.17.1 | .1.3.6.1.4.1.10418.17.1.7 | +-------------+-------------------------+---------------------------+ o Duration 0.0837s ##### 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.0174s] 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':'pdu-pa2-1.6-a':'161' .1.3.6.1.2.1.1.9.1.2] CMD EXITCODE[0] CMD RUNTIME[0.0222s] STDOUT[ .1.3.6.1.2.1.1.9.1.2.1 = .1.3.6.1.2.1.31 .1.3.6.1.2.1.1.9.1.2.2 = .1.3.6.1.6.3.1 .1.3.6.1.2.1.1.9.1.2.3 = .1.3.6.1.2.1.49 .1.3.6.1.2.1.1.9.1.2.4 = .1.3.6.1.2.1.4 .1.3.6.1.2.1.1.9.1.2.5 = .1.3.6.1.2.1.50 .1.3.6.1.2.1.1.9.1.2.6 = .1.3.6.1.6.3.16.2.2.1 .1.3.6.1.2.1.1.9.1.2.7 = .1.3.6.1.6.3.10.3.1.1 .1.3.6.1.2.1.1.9.1.2.8 = .1.3.6.1.6.3.11.3.1.1 .1.3.6.1.2.1.1.9.1.2.9 = .1.3.6.1.6.3.15.2.1.1 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' sysORDescr] CMD EXITCODE[0] CMD RUNTIME[0.0234s] STDOUT[ sysORDescr.1 = The MIB module to describe generic objects for network interface sub-layers sysORDescr.2 = The MIB module for SNMPv2 entities sysORDescr.3 = The MIB module for managing TCP implementations sysORDescr.4 = The MIB module for managing IP and ICMP implementations sysORDescr.5 = The MIB module for managing UDP implementations sysORDescr.6 = View-based Access Control Model for SNMP. sysORDescr.7 = The SNMP Management Architecture MIB. sysORDescr.8 = The MIB for Message Processing and Dispatching. sysORDescr.9 = The management information definitions for the SNMP User-based Security Model. ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m OSPFV3-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ospfv3AdminStatus.0] CMD EXITCODE[0] CMD RUNTIME[0.0269s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] Store in cache OID: OSPFV3-MIB::ospfv3AdminStatus.0 o MIBs discovered TCP-MIB UDP-MIB +-----------------------+--------------------+---------+---------------------+ | Identity | MIB | Source | Status | +-----------------------+--------------------+---------+---------------------+ | .1.3.6.1.6.3.1 | SNMPv2-MIB | sysORID | MIB already defined | | .1.3.6.1.2.1.31 | IF-MIB | sysORID | MIB already defined | | .1.3.6.1.2.1.4 | IP-MIB | sysORID | MIB already defined | | .1.3.6.1.2.1.49 | TCP-MIB | sysORID | MIB added | | .1.3.6.1.2.1.50 | UDP-MIB | sysORID | MIB added | | .1.3.6.1.6.3.10.3.1.1 | SNMP-FRAMEWORK-MIB | sysORID | MIB already defined | | .1.3.6.1.4.1.10418.17 | PM-MIB | Model | MIB already defined | | .1.3.6.1.6.3.16.2.2.1 | - | sysORID | Unknown Identity | | .1.3.6.1.6.3.11.3.1.1 | - | sysORID | Unknown Identity | | .1.3.6.1.6.3.15.2.1.1 | - | sysORID | Unknown Identity | +-----------------------+--------------------+---------+---------------------+ SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '676' AND `use` = 'mib' AND `disabled` = '1'] SQL RUNTIME[0.00088716s] Array ( [0] => PM-MIB [1] => TCP-MIB [2] => UDP-MIB [3] => SNMPv2-MIB [4] => SNMP-FRAMEWORK-MIB [5] => IF-MIB [6] => ADSL-LINE-MIB [7] => EtherLike-MIB [8] => ENTITY-MIB [9] => ENTITY-SENSOR-MIB [10] => UCD-SNMP-MIB [11] => HOST-RESOURCES-MIB [12] => Q-BRIDGE-MIB [13] => IP-MIB [14] => IPV6-MIB [15] => LLDP-MIB [16] => CISCO-CDP-MIB [17] => DISMAN-PING-MIB ) o Duration 0.1102s ##### Module Start: ports ##### o Caching OIDs ifDescr CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ifDescr] CMD EXITCODE[0] CMD RUNTIME[0.0343s] STDOUT[ ifDescr.1 = eth0 ifDescr.2 = lo ] SNMP STATUS[TRUE] ifAlias CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ifAlias] CMD EXITCODE[0] CMD RUNTIME[0.0262s] STDOUT[ ifAlias.1 = ifAlias.2 = ] SNMP STATUS[TRUE] ifName CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ifName] CMD EXITCODE[0] CMD RUNTIME[0.0247s] STDOUT[ ifName.1 = eth0 ifName.2 = lo ] SNMP STATUS[TRUE] ifType CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ifType] CMD EXITCODE[0] CMD RUNTIME[0.0318s] STDOUT[ ifType.1 = ethernetCsmacd ifType.2 = softwareLoopback ] SNMP STATUS[TRUE] ifOperStatus CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ifOperStatus] CMD EXITCODE[0] CMD RUNTIME[0.0332s] STDOUT[ ifOperStatus.1 = up ifOperStatus.2 = up ] SNMP STATUS[TRUE] Array ( [1] => Array ( [ifDescr] => eth0 [ifAlias] => [ifName] => eth0 [ifType] => ethernetCsmacd [ifOperStatus] => up ) [2] => Array ( [ifDescr] => lo [ifAlias] => [ifName] => lo [ifType] => softwareLoopback [ifOperStatus] => up ) ) o Caching DB SQL[SELECT * FROM `ports` WHERE `device_id` = '676'] SQL RUNTIME[0.00104094s] 2 ports o Discovering ports ifIndex 1 (ifAdminStatus = , ifOperStatus = up). . ifIndex 2 (ifAdminStatus = , ifOperStatus = up). . +---------+---------+--------+---------+------------------+-------------+---------+ | ifIndex | ifDescr | ifName | ifAlias | ifType | Oper Status | Ignored | +---------+---------+--------+---------+------------------+-------------+---------+ | 1 | eth0 | eth0 | ... | ethernetCsmacd | up | no | | 2 | lo | lo | ... | softwareLoopback | up | no | +---------+---------+--------+---------+------------------+-------------+---------+ o Duration 0.1682s ##### Module Start: oids ##### SQL[SELECT * FROM `oids_entries` LEFT JOIN `oids` USING(`oid_id`) WHERE `device_id` = '676'] SQL RUNTIME[0.00072694s] SQL[SELECT * FROM `oids` WHERE `oid_autodiscover` = '1'] SQL RUNTIME[0.00048304s] CMD[/usr/bin/snmpget -v2c -c *** -Pud -OUQtnv -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' .1.3.6.1.4.1.30065.4.1.1.8.1.4.1.1.4.10.1.14.57.1.1] CMD EXITCODE[0] CMD RUNTIME[0.0192s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o Duration 0.0238s ##### Module Start: ip-addresses ##### o IP-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ipAdEntIfIndex] CMD EXITCODE[0] CMD RUNTIME[0.0365s] STDOUT[ ipAdEntIfIndex.10.200.100.200 = 1 ipAdEntIfIndex.127.0.0.1 = 2 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ipAdEntNetMask] CMD EXITCODE[0] CMD RUNTIME[0.0294s] STDOUT[ ipAdEntNetMask.10.200.100.200 = 255.255.255.0 ipAdEntNetMask.127.0.0.1 = 255.0.0.0 ] SNMP STATUS[TRUE] Added 10.200.100.200 .Added 127.0.0.1 . CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ipAddressIfIndex] CMD EXITCODE[0] CMD RUNTIME[0.0294s] STDOUT[ ipAddressIfIndex = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o IPV6-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUsb -m IPV6-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ipv6AddrEntry] CMD EXITCODE[0] CMD RUNTIME[0.0297s] STDOUT[ ipv6AddrEntry = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o LLDP-MIB SQL[SELECT * FROM `ipv4_addresses` WHERE `device_id` = '676'] SQL RUNTIME[0.00198102s] SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '676' AND `ifIndex` = '1' AND `deleted` = '0' LIMIT 1] SQL RUNTIME[0.00050712s] SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '35275'] SQL RUNTIME[0.00062299s] SQL[SELECT DISTINCT `entity_type` FROM `entity_attribs` WHERE `device_id` = '676'] SQL RUNTIME[0.0005939s] SQL[SELECT * FROM `devices` LEFT JOIN `devices_locations` USING (`device_id`) WHERE `device_id` = '676'] SQL RUNTIME[0.0008111s] SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '676'] SQL RUNTIME[0.00052118s] SQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '10.200.100.0/24'] SQL RUNTIME[0.00594306s] SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '676' AND `ifIndex` = '2' AND `deleted` = '0' LIMIT 1] SQL RUNTIME[0.00069809s] SQL[SELECT * FROM `ports` WHERE `ports`.`port_id` = '35278'] SQL RUNTIME[0.00068307s] SQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8'] SQL RUNTIME[0.00231791s] SQL[SELECT * FROM `ipv4_addresses` WHERE `device_id` = '676'] SQL RUNTIME[0.00059581s] SQL[SELECT * FROM `ipv6_addresses` WHERE `device_id` = '676'] SQL RUNTIME[0.00119209s] +---------+---------+-------------+-------------------+-----------------+----------+--------+ | ifIndex | ifDescr | IP: Version | Address | Network | Type | Origin | +---------+---------+-------------+-------------------+-----------------+----------+--------+ | 1 | eth0 | IPv4 | 10.200.100.200/24 | 10.200.100.0/24 | private | | | 2 | lo | IPv4 | 127.0.0.1/8 | 127.0.0.0/8 | loopback | | +---------+---------+-------------+-------------------+-----------------+----------+--------+ o Changes 2 unchanged o Duration 0.1661s ##### Module Start: processors ##### o UCD-SNMP-MIB SQL[SELECT EXISTS (SELECT 1 FROM `processors` WHERE `device_id` = '676' AND `processor_type` != 'ucd-old')] SQL RUNTIME[0.0006721s] CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUv -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' ssCpuIdle.0] CMD EXITCODE[0] CMD RUNTIME[0.0218s] STDOUT[ 99 ] SNMP STATUS[TRUE] 676 -> 0, 0, ucd-old, CPU, 1, 99 SQL[SELECT * FROM `processors` WHERE `device_id` = '676' AND `processor_index` = '0' AND `processor_type` = 'ucd-old'] SQL RUNTIME[0.00075006s] o HOST-RESOURCES-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' hrProcessorLoad] CMD EXITCODE[0] CMD RUNTIME[0.0275s] STDOUT[ hrProcessorLoad = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `processors` WHERE `device_id` = '676'] SQL RUNTIME[0.00100112s] 0 -> ucd-old Array ( [ucd-old] => Array ( [0] => 1 ) ) o Changes 1 unchanged o Duration 0.059s ##### Module Start: mempools ##### o UCD-SNMP-MIB CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' memTotalReal.0 memAvailReal.0 memBuffer.0 memCached.0] CMD EXITCODE[0] CMD RUNTIME[0.0211s] STDOUT[ memTotalReal.0 = 256616 memAvailReal.0 = 189452 memBuffer.0 = 0 memCached.0 = 36660 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' versionTag.0 versionCDate.0 versionConfigureOptions.0] CMD EXITCODE[0] CMD RUNTIME[0.0209s] STDOUT[ versionTag.0 = No Such Object available on this agent at this OID versionCDate.0 = No Such Object available on this agent at this OID versionConfigureOptions.0 = No Such Object available on this agent at this OID ] SNMP ERROR[#1000 - Failed response] SNMP STATUS[FALSE] 676 -> 0, UCD-SNMP-MIB::, Physical Memory, 1, 262774784, 31236096 SQL[SELECT * FROM `mempools` WHERE `device_id` = '676' AND `mempool_index` = '0' AND `mempool_mib` = 'UCD-SNMP-MIB'] SQL RUNTIME[0.00097203s] o HOST-RESOURCES-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' hrStorageEntry] CMD EXITCODE[0] CMD RUNTIME[0.0258s] STDOUT[ hrStorageEntry = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `mempools` WHERE `device_id` = '676'] SQL RUNTIME[0.00096893s] 0 -> UCD-SNMP-MIB Array ( [UCD-SNMP-MIB] => Array ( [0] => 1 ) ) o Changes 1 unchanged o Duration 0.0794s ##### Module Start: inventory ##### o ENTITY-MIB ENTITY-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco 'udp':'pdu-pa2-1.6-a':'161' entPhysicalEntry] CMD EXITCODE[0] CMD RUNTIME[0.1197s] STDOUT[ entPhysicalEntry = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] o HOST-RESOURCES-MIB CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' hrDeviceEntry] CMD EXITCODE[0] CMD RUNTIME[0.0269s] STDOUT[ hrDeviceEntry = 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 HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu-pa2-1.6-a':'161' hrProcessorEntry] CMD EXITCODE[0] CMD RUNTIME[0.0261s] STDOUT[ hrProcessorEntry = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `hrDevice` WHERE `device_id` = '676'] SQL RUNTIME[0.00147104s] SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '676'] SQL RUNTIME[0.00061011s] o Duration 0.1848s ##### Module Start: printersupplies ##### SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '676'] SQL RUNTIME[0.00052595s] o Duration 0.0015s ##### Module Start: sensors ##### o PM-MIB pmPowerMgmtPDUTableCurrentValue [ CMD[/usr/bin/snmptranslate -On -Pu -m PM-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/vertiv 'PM-MIB::pmPowerMgmtPDUTableCurrentValue'] CMD EXITCODE[0] CMD RUNTIME[0.0216s] STDOUT[ .1.3.6.1.4.1.10418.17.2.5.3.1.50 ] SNMP TRANSLATE (CMD): 'PM-MIB::pmPowerMgmtPDUTableCurrentValue' -> '.1.3.6.1.4.1.10418.17.2.5.3.1.50' CMD[/usr/bin/snmpbulkwalk -v2c -c *** -Pud -Ih -OQUsb -m PM-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/vertiv 'udp':'pdu-pa2-1.6-a':'161' pmPowerMgmtPDUTable] CMD EXITCODE[0] CMD RUNTIME[1.1543s] STDOUT[ pmPowerMgmtPDUTablePortNumber.1.1 = 1 pmPowerMgmtPDUTablePduIndex.1.1 = 1 pmPowerMgmtPDUTablePduId.1.1 = "1f-bc-45P0_1" pmPowerMgmtPDUTablePortName.1.1 = "local" pmPowerMgmtPDUTableModel.1.1 = "PM3000/24/32A" pmPowerMgmtPDUTableVendor.1.1 = "Avocent" pmPowerMgmtPDUTableFirmwareVersion.1.1 = "2.1.0 Jul 10, 2015" pmPowerMgmtPDUTableNumberOfOutlets.1.1 = 24 pmPowerMgmtPDUTableNumberOfPhases.1.1 = 0 pmPowerMgmtPDUTableNumberOfBanks.1.1 = 3 pmPowerMgmtPDUTableNumberOfSensors.1.1 = 1 pmPowerMgmtPDUTableFactoryDefault.1.1 = noAction pmPowerMgmtPDUTableColdStartDelay.1.1 = 0 pmPowerMgmtPDUTableReboot.1.1 = noAction pmPowerMgmtPDUTableMaxCurrent.1.1 = 320 pmPowerMgmtPDUTableAlarm.1.1 = normal pmPowerMgmtPDUTableCurrentValue.1.1 = 64 pmPowerMgmtPDUTableCurrentMax.1.1 = 73 pmPowerMgmtPDUTableCurrentMin.1.1 = 48 pmPowerMgmtPDUTableCurrentAvg.1.1 = 56 pmPowerMgmtPDUTableCurrentReset.1.1 = noAction pmPowerMgmtPDUTablePowerValue.1.1 = 14600 pmPowerMgmtPDUTablePowerMax.1.1 = 15950 pmPowerMgmtPDUTablePowerMin.1.1 = 10990 pmPowerMgmtPDUTablePowerAvg.1.1 = 13231 pmPowerMgmtPDUTablePowerReset.1.1 = noAction pmPowerMgmtPDUTablePowerType.1.1 = measured pmPowerMgmtPDUTableVoltageValue.1.1 = 230 pmPowerMgmtPDUTableVoltageMax.1.1 = 230 pmPowerMgmtPDUTableVoltageMin.1.1 = 229 pmPowerMgmtPDUTableVoltageAvg.1.1 = 229 pmPowerMgmtPDUTableVoltageReset.1.1 = noAction pmPowerMgmtPDUTableVoltageType.1.1 = measured pmPowerMgmtPDUTablePowerFactorValue.1.1 = 99 pmPowerMgmtPDUTablePowerFactorMax.1.1 = 100 pmPowerMgmtPDUTablePowerFactorMin.1.1 = 92 pmPowerMgmtPDUTablePowerFactorAvg.1.1 = 92 pmPowerMgmtPDUTablePowerFactorReset.1.1 = noAction pmPowerMgmtPDUTablePowerFactorType.1.1 = measured pmPowerMgmtPDUTablePowerControl.1.1 = noAction pmPowerMgmtPDUTableResetOCP.1.1 = noAction pmPowerMgmtPDUTableCurrentHighCritical.1.1 = 256 pmPowerMgmtPDUTableCurrentHighWarning.1.1 = 192 pmPowerMgmtPDUTableCurrentLowWarning.1.1 = 0 pmPowerMgmtPDUTableCurrentLowCritical.1.1 = 0 pmPowerMgmtPDUTableEnergyValue.1.1 = 1117331 pmPowerMgmtPDUTableEnergyStartTime.1.1 = "2024-01-05 12:22:44" pmPowerMgmtPDUTableEnergyReset.1.1 = noAction ] SNMP STATUS[TRUE] Store in cache Table OID: PM-MIB::pmPowerMgmtPDUTable Low Warning Limit was reset to NULL Discover sensor: [class: current, device: pdu-pa2-1.6-a, oid: .1.3.6.1.4.1.10418.17.2.5.3.1.50.1.1, index: 1.1, type: PM-MIB-pmPowerMgmtPDUTableCurrentValue, descr: PDU 1f-bc-45P0_1, scale: 0.1, limits: (0, , 19.2, 25.6), CURRENT: 6.4, , SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '676' AND `sensor_type` = 'PM-MIB-pmPowerMgmtPDUTableCurrentValue' AND `sensor_index` = '1.1')] SQL RUNTIME[0.00209689s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '676' AND `sensor_type` = 'PM-MIB-pmPowerMgmtPDUTableCurrentValue' AND `sensor_index` = '1.1'] SQL RUNTIME[0.00079799s] LCurrent sensor value: "6.4", scale: "0.1" limit_high: "25.6" -> "25.6" limit_high_warn: "19.2" -> "19.2" limit_low: "0" -> "0" limit_low_warn: "" -> "" SQL[UPDATE `sensors` set `sensor_limit_warn` ='19.2' WHERE `sensor_id` = '30466'] SQL RUNTIME[0.00158811s] ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡶⠋⠁⠙⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⣠⡶⠛⠛⠲⣤⣀⠀⠀⠀⠀⡀⠀⠀⠀⠀⠀⠀⠀⣠⠄⣠⣾⣡⠀⠀⠀⠀⠸⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⢰⡏⠀⠀⠀⠀⠈⣿⣷⣤⡐⣄⣽⡾⠧⠤⠤⣤⣤⣾⣿⣾⣿⣯⣀⡀⠀⠀⠀⢠⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⢷⡀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣯⣤⣤⡀⣠⣈⣹⣽⣿⣿⣿⣿⣷⣦⣄⠀⢀⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠈⠻⣆⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠈⢳⣆⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣾⣷⣶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⣘⣿⣿⣿⣿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⢡⡼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣾⣿⣿⣿⣿⣿⡏⣯⡇⣿⣿⣿⡏⣿⣿⣿⣜⣛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣭⣾⣿⣿⣿⣇⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀⠘⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢠⣿⣿⡏⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⢿⣿⣿⡿⠁⠀⠀⠀⠸⣿⣷⡀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢸⣿⣿⡇⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠻⣿⣿⡟⢠⣿⣿⡟⠁⠀⠀⠀⠀⠙⣻⣿⣿⣆⠀⠀⠀⠀⠀ ⠀⠀⠀⠈⣿⣿⣷⡈⠛⠿⣿⣿⡆⠻⢿⣿⣽⣿⣯⣿⠿⠃⠀⠻⠛⣰⣿⣿⠏⠀⠀⠀⠀⢀⣙⣿⣿⣿⣿⣿⣧⡀⠀⠀⠀ ⠀⠀⠀⠀⢿⠈⠙⠻⠷⠤⠄⢉⡁⠀⠀⠙⢉⣵⣌⠀⠀⠀⣀⠄⠘⠛⠋⠁⢀⣀⣤⣤⣭⣭⣽⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀ ⠀⠀⠀⢀⣿⡄⠀⠀⠀⠀⠀⠀⠉⠓⢦⣄⡉⠉⢉⣩⠶⠋⠁⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀ ⠀⠀⠀⣼⣿⣿⣷⣶⣶⣆⣀⡀⠀⠀⠀⠀⠉⠉⠉⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀ ⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣥⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣸⣦⣾⣿⣿⣿⣿⣿⣿⡿⠿⠿⡟⠿⣿⣟⡿⢿⡛⠀⣘⣿⣿⡆ ⠀⠀⠀⢿⣿⣿⠿⠿⠿⠿⢿⣿⣿⣷⣿⡆⠀⠀⣶⣶⣾⡿⠛⠛⠛⠛⠻⣿⣿⣿⡟⠉⠀⠀⠀⠈⠁⠁⢀⢀⠲⣬⣿⣿⡇ ⠀⠀⠀⠘⡏⠳⣤⡄⠀⡄⠀⠀⠈⠙⢿⣧⠀⢀⣿⣿⠏⠀⠀⠀⠀⢀⣠⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⣯⣷⣿⣿⣿⡇ ⠀⠀⠀⠀⢿⠀⠀⠉⠳⣇⠀⠀⠀⠀⠀⢻⠀⢸⣿⣿⣆⢠⠀⡆⣰⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⣿⣿⣿⣿⣿⡇ ⠀⠀⠀⠀⠘⣧⠀⠀⠀⠹⣷⣤⣄⠀⡈⣾⡆⢸⡿⠋⠿⠾⠴⠷⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⠞⠉⣶⣾⣿⣿⣿⣿⠀ ⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠉⠻⣿⣿⣿⣇⠸⡷⠀⠀⠀⢀⣠⢄⣠⣶⣤⣤⣤⡤⠤⠖⠛⠉⠀⠠⣤⣼⣿⣿⣿⣿⡏⠀ ⠀⠀⠀⠀⠀⠀⠀⠉⢻⣷⠶⠒⠀⠀⠁⠈⢿⡄⣷⣆⣤⣶⡿⠛⠛⠛⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⠇⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠘⣏⠀⠀⠀⠀⠀⠀⠘⣧⣿⣿⡿⢋⡤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣾⣿⣿⣿⣿⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡄⠀⠀⠀⠀⠀⠀⢸⣿⣿⣶⣫⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⢦⣵⣿⣿⣿⣿⠇⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣆⠀⠀⠀⠀⠀⠀⣿⣿⣿⠇⠀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠳⠦⣴⣿⣶⣿⣿⣿⣿⡿⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⢷⣄⠀⠀⠀⠀⢹⣿⣿⣾⣿⣋⣤⡄⠀⠀⠀⠀⠀⠀⠀⠠⣈⠻⣿⣿⣿⣿⣿⡇⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⣦⣤⣤⣾⣿⣿⣿⣿⣿⣯⡴⠂⣀⡀⠀⡀⡀⡀⢠⣬⣻⣿⣿⣿⣿⡿⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣠⡴⠊⠉⠀⠈⢹⠿⣿⣿⣿⣿⣿⣷⣾⣿⠾⡿⡿⠿⣷⣦⣿⣿⣿⣿⣿⡟⠁⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠛⠷⠦⠤⠤⠴⠶⠶⠶⠶⠚⠉⠀⠀⠈⣉⣩⠽⠟⠋⠁⠀⠀⣁⣠⠿⠛⠋⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Oops! Something went wrong! You may want to report this to the Observium developers. Too few arguments to function get_entity_attrib(), 2 passed in /opt/observium/includes/entities/sensor.inc.php on line 503 and exactly 3 expected in /opt/observium/includes/entities.inc.php:39 Stack trace: #0: (unknown function) called at [/opt/observium/includes/entities.inc.php:39] 34: * @param mixed $entity_id 35: * @param string $attrib_type 36: * 37: * @return string 38: */ 39: function get_entity_attrib($entity_type, $entity_id, $attrib_type) 40: { 41: if (is_array($entity_id)) { 42: // Passed entity array, instead id 43: $translate = entity_type_translate_array($entity_type); 44: $entity_id = $entity_id[$translate['id_field']]; #1: get_entity_attrib called at [/opt/observium/includes/entities/sensor.inc.php:503] 498: $update[$key] = !is_null($$key) ? $$key : ['NULL']; 499: } 500: } 501: 502: // Extra (rare) params 503: $attribs = get_entity_attrib('sensor', $sensor_entry['sensor_id']); 504: foreach ([ 'sensor_addition', 'sensor_convert', 'oid_scale_si' ] as $attrib_type) { 505: //$attrib = get_entity_attrib('sensor', $sensor_entry['sensor_id'], $attrib_type); 506: if (!safe_empty($options[$attrib_type])) { 507: // Add sensor attrib for use in poller 508: if ($attribs[$attrib_type] != $options[$attrib_type]) { #2: discover_sensor_ng called at [/opt/observium/includes/entities/sensor.inc.php:169] 164: } elseif (isset($entry['rename_rrd_full'])) { 165: $options['rename_rrd_full'] = $entry['rename_rrd_full']; 166: } 167: 168: print_debug_vars($options); 169: discover_sensor_ng($device, $class, $mib, $entry['oid'], $oid_num, $index, $entry['type'], $descr, $scale, $value, $options); 170: } 171: 172: echo '] '; 173: 174: } #3: discover_sensor_definition called at [/opt/observium/includes/discovery/sensors.inc.php:26] 21: foreach (get_device_mibs_permitted($device) as $mib) { 22: // Detect sensors by definitions 23: if (is_array($config['mibs'][$mib]['sensor'])) { 24: print_cli_data_field($mib); 25: foreach ($config['mibs'][$mib]['sensor'] as $oid_data) { 26: discover_sensor_definition($device, $mib, $oid_data); 27: } 28: print_cli(PHP_EOL); 29: } 30: 31: // Detect statuses by definitions #4: include called at [/opt/observium/includes/discovery/functions.inc.php:870] 865: $GLOBALS['module_stats'][$module] = []; 866: $valid[$module] = []; 867: 868: print_cli_heading("Module Start: %R" . $module); 869: 870: include("includes/discovery/$module.inc.php"); 871: 872: $GLOBALS['module_stats'][$module]['time'] = elapsed_time($m_start, 4); 873: print_module_stats($device, $module); 874: echo(PHP_EOL); 875: //print_cli_heading("Module End: %R".$module.""); #5: discover_device called at [/opt/observium/discovery.php:221] 216: 217: foreach (dbFetchRows("SELECT * FROM `devices` WHERE `disabled` = 0 $where ORDER BY `last_discovered_timetaken` ASC", $params) as $device) { 218: // Additional check if device SNMPable, because during 219: // discovery many devices (long time), the some device can be switched off 220: if ($options['h'] === 'new' || is_snmpable($device)) { 221: discover_device($device, $options); 222: } else { 223: $string = "Device '" . $device['hostname'] . "' skipped, because switched off during runtime discovery process."; 224: print_debug($string); 225: logfile($argv[0] . ": $string"); 226: }