root@OBSERVIUS:/opt/observium# ./discovery.php -d -h b-cn-01.byf.oob.local -m mempools DEBUG! CMD[/usr/bin/svn info /opt/observium] CMD EXITCODE[0] CMD RUNTIME[0.0197s] 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: 11042 Node Kind: directory Schedule: normal Last Changed Author: mike Last Changed Rev: 11042 Last Changed Date: 2021-02-23 21:51:00 +0000 (Tue, 23 Feb 2021) ] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00041199s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00029802s] CMD[date "+%:z"] CMD EXITCODE[0] CMD RUNTIME[0.0043s] CMD EXITDELAY[10ms] STDOUT[ +00:00 ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00037479s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00021195s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00020313s] CMD[/bin/hostname -f] CMD EXITCODE[0] CMD RUNTIME[0.0041s] STDOUT[ observius.cdc.local ] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 21.2.11042 https://www.observium.org CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.0261s] STDOUT[ Linux|4.15.0-132-generic|amd64|Ubuntu|18.04|kvm| ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0035s] STDOUT[ Python 2.7.17 ] SQL[SELECT version();] SQL RUNTIME[0.00028396s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0035s] STDOUT[ NET-SNMP version: 5.7.3 ] CMD[/usr/bin/rrdtool --version | head -n1] CMD EXITCODE[0] CMD RUNTIME[0.012s] STDOUT[ RRDtool 1.7.0 Copyright by Tobias Oetiker ] CMD[/usr/bin/rrdcached -h | head -n1] CMD EXITCODE[0] CMD RUNTIME[0.0136s] STDOUT[ RRDCacheD 1.7.0 ] CMD[/usr/bin/fping -v 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0027s] 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.0452s] STDOUT[ Apache/2.4.29 ] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00027394s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00559402s] ##### Software versions ##### o OS Linux 4.15.0-132-generic [amd64] (Ubuntu 18.04) o Apache 2.4.29 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 (rrdcached 1.7.0: unix:/var/run/rrdcached.sock) 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 Wednesday, 24-Feb-21 12:30:05 UTC o PHP +00:00 o MySQL +00:00 SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00048900s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00240803s] ##### Starting discovery run at 2021-02-24 12:30:05 ##### SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'b-cn-01.byf.oob.local' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00190997s] CMD[/usr/bin/snmpget -t '5' -r '3' -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'b-cn-01.byf.oob.local':'161' sysObjectID.0 sysUpTime.0] CMD EXITCODE[0] CMD RUNTIME[0.017s] STDOUT[ sysObjectID.0 = enterprises.8072.3.2.10 sysUpTime.0 = 105:21:52:13.60 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '706'] SQL RUNTIME[0.00022602s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '706' AND `poller_id` = '0'] SQL RUNTIME[0.00047612s] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('5267','discovery.php','3155','0','php ./discovery.php -d -h b-cn-01.byf.oob.local -m mempools','1614169805','706')] SQL RUNTIME[0.00471187s] ##### b-cn-01.byf.oob.local [706] ##### o OS Type linux o OS Group unix o SNMP Version v2c o Last discovery 2021-02-24 12:29:12 o Last duration 0.11 seconds ##### Module Start: mempools ##### SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '706' AND `use` = 'mib' AND `disabled` = '1'] SQL RUNTIME[0.00028014s] o UCD-SNMP-MIB CMD[/usr/bin/snmpget -t '5' -r '3' -v2c -c *** -Pud -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'b-cn-01.byf.oob.local':'161' memTotalReal.0 memAvailReal.0 memBuffer.0 memCached.0] CMD EXITCODE[0] CMD RUNTIME[0.0164s] STDOUT[ memTotalReal.0 = 65938848 memAvailReal.0 = 62626844 memBuffer.0 = 6524 memCached.0 = 2039760 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -t '5' -r '3' -v2c -c *** -Pud -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'b-cn-01.byf.oob.local':'161' versionTag.0 versionCDate.0 versionConfigureOptions.0] CMD EXITCODE[0] CMD RUNTIME[0.0228s] STDOUT[ versionTag.0 = 5.7.2 versionCDate.0 = Wed Feb 24 12:30:05 2021 versionConfigureOptions.0 = '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-static' '--enable-shared' '--with-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_RPM_4_4_COMPAT' '--with-ldflags=-Wl,-z,relro -Wl,-z,now' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/lib/net-snmp' '--with-mib-modules=host agentx smux ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDef ] SNMP STATUS[TRUE] SQL[DELETE FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '706' AND `attrib_type` = 'ucd_memory_bad'] SQL RUNTIME[0.00046206s] 706 -> 0, UCD-SNMP-MIB::, Physical Memory, 1, 67521380352, 1296097280 SQL[SELECT * FROM `mempools` WHERE `device_id` = '706' AND `mempool_index` = '0' AND `mempool_mib` = 'UCD-SNMP-MIB'] SQL RUNTIME[0.00060987s] o HOST-RESOURCES-MIB CMD[/usr/bin/snmpbulkwalk -t '5' -r '3' -v2c -c *** -Pud -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'b-cn-01.byf.oob.local':'161' hrStorageEntry] CMD EXITCODE[0] CMD RUNTIME[0.0318s] STDOUT[ hrStorageIndex.1 = 1 hrStorageIndex.3 = 3 hrStorageIndex.6 = 6 hrStorageIndex.7 = 7 hrStorageIndex.8 = 8 hrStorageIndex.10 = 10 hrStorageIndex.35 = 35 hrStorageIndex.36 = 36 hrStorageIndex.39 = 39 hrStorageIndex.40 = 40 hrStorageIndex.41 = 41 hrStorageIndex.42 = 42 hrStorageIndex.43 = 43 hrStorageIndex.44 = 44 hrStorageIndex.45 = 45 hrStorageIndex.47 = 47 hrStorageIndex.48 = 48 hrStorageIndex.66 = 66 hrStorageIndex.67 = 67 hrStorageType.1 = hrStorageRam hrStorageType.3 = hrStorageVirtualMemory hrStorageType.6 = hrStorageOther hrStorageType.7 = hrStorageOther hrStorageType.8 = hrStorageOther hrStorageType.10 = hrStorageVirtualMemory hrStorageType.35 = hrStorageFixedDisk hrStorageType.36 = hrStorageFixedDisk hrStorageType.39 = hrStorageFixedDisk hrStorageType.40 = hrStorageFixedDisk hrStorageType.41 = hrStorageNetworkDisk hrStorageType.42 = hrStorageNetworkDisk hrStorageType.43 = hrStorageNetworkDisk hrStorageType.44 = hrStorageNetworkDisk hrStorageType.45 = hrStorageNetworkDisk hrStorageType.47 = hrStorageFixedDisk hrStorageType.48 = hrStorageFixedDisk hrStorageType.66 = hrStorageFixedDisk hrStorageType.67 = hrStorageFixedDisk hrStorageDescr.1 = Physical memory hrStorageDescr.3 = Virtual memory hrStorageDescr.6 = Memory buffers hrStorageDescr.7 = Cached memory hrStorageDescr.8 = Shared memory hrStorageDescr.10 = Swap space hrStorageDescr.35 = /tmp hrStorageDescr.36 = /run hrStorageDescr.39 = /var/pythoncontroller hrStorageDescr.40 = /usr/pythoncontroller hrStorageDescr.41 = /.ro hrStorageDescr.42 = /.templates hrStorageDescr.43 = /onapp/tools/recovery hrStorageDescr.44 = /cloudboot hrStorageDescr.45 = /.rw hrStorageDescr.47 = /dev/shm hrStorageDescr.48 = /sys/fs/cgroup hrStorageDescr.66 = /onappstore/DB hrStorageDescr.67 = /run/user/0 hrStorageAllocationUnits.1 = 1024 hrStorageAllocationUnits.3 = 1024 hrStorageAllocationUnits.6 = 1024 hrStorageAllocationUnits.7 = 1024 hrStorageAllocationUnits.8 = 1024 hrStorageAllocationUnits.10 = 1024 hrStorageAllocationUnits.35 = 4096 hrStorageAllocationUnits.36 = 4096 hrStorageAllocationUnits.39 = 4096 hrStorageAllocationUnits.40 = 4096 hrStorageAllocationUnits.41 = 32768 hrStorageAllocationUnits.42 = 32768 hrStorageAllocationUnits.43 = 32768 hrStorageAllocationUnits.44 = 32768 hrStorageAllocationUnits.45 = 32768 hrStorageAllocationUnits.47 = 4096 hrStorageAllocationUnits.48 = 4096 hrStorageAllocationUnits.66 = 1024 hrStorageAllocationUnits.67 = 4096 hrStorageSize.1 = 65938848 hrStorageSize.3 = 65938848 hrStorageSize.6 = 65938848 hrStorageSize.7 = 2039760 hrStorageSize.8 = 1914216 hrStorageSize.10 = 0 hrStorageSize.35 = 65536 hrStorageSize.36 = 65536 hrStorageSize.39 = 65536 hrStorageSize.40 = 65536 hrStorageSize.41 = 1637600 hrStorageSize.42 = 5377214 hrStorageSize.43 = 1637600 hrStorageSize.44 = 1637600 hrStorageSize.45 = 1637600 hrStorageSize.47 = 8242356 hrStorageSize.48 = 8242356 hrStorageSize.66 = 114643 hrStorageSize.67 = 1648472 hrStorageUsed.1 = 3312004 hrStorageUsed.3 = 3312004 hrStorageUsed.6 = 6524 hrStorageUsed.7 = 2039760 hrStorageUsed.8 = 1914216 hrStorageUsed.10 = 0 hrStorageUsed.35 = 3 hrStorageUsed.36 = 11716 hrStorageUsed.39 = 13331 hrStorageUsed.40 = 13331 hrStorageUsed.41 = 342866 hrStorageUsed.42 = 882943 hrStorageUsed.43 = 342866 hrStorageUsed.44 = 342866 hrStorageUsed.45 = 342866 hrStorageUsed.47 = 0 hrStorageUsed.48 = 0 hrStorageUsed.66 = 1742 hrStorageUsed.67 = 0 ] SNMP STATUS[TRUE] 706 -> 3, HOST-RESOURCES-MIB::, Virtual memory, 1024, 65938848, 3312004 SQL[SELECT * FROM `mempools` WHERE `device_id` = '706' AND `mempool_index` = '3' AND `mempool_mib` = 'HOST-RESOURCES-MIB'] SQL RUNTIME[0.00052214s] 706 -> 6, HOST-RESOURCES-MIB::, Memory buffers, 1024, 65938848, 6524 SQL[SELECT * FROM `mempools` WHERE `device_id` = '706' AND `mempool_index` = '6' AND `mempool_mib` = 'HOST-RESOURCES-MIB'] SQL RUNTIME[0.00043797s] SQL[SELECT * FROM `mempools` WHERE `device_id` = '706'] SQL RUNTIME[0.00039506s] 0 -> UCD-SNMP-MIB 3 -> HOST-RESOURCES-MIB 6 -> HOST-RESOURCES-MIB > $valid['mempool'] /opt/observium/includes/discovery/mempools.inc.php:216 array( [UCD-SNMP-MIB] => array( [0] => int(1) ) [HOST-RESOURCES-MIB] => array( [3] => int(1) [6] => int(1) ) ) o Changes 3 unchanged o Duration 0.0879s SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='server',`last_discovered_timetaken` ='0.0952',`force_discovery` ='0' WHERE `device_id` = '706'] SQL RUNTIME[0.00644398s] ##### b-cn-01.byf.oob.local [706] completed discovery modules at 2021-02-24 12:30:05 ##### o Discovery time 0.0952 seconds SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '5267' AND `process_name` = 'discovery.php' AND `device_id` = '706' AND `poller_id` = '0'] SQL RUNTIME[0.00202203s] ##### Finished discovery run at 2021-02-24 12:30:05 ##### ./discovery.php: b-cn-01.byf.oob.local - 1 devices discovered in 0.259 secs SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1614155405'] SQL RUNTIME[0.00041890s] 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.259 secs o Memory usage 18MB (peak: 18MB) o MySQL Usage Cell[4/0.002s] Row[7/0.007s] Rows[8/0.011s] Column[1/0s] Update[1/0.007s] Insert[1/0.005s] Delete[2/0.003s] o RRDTool Usage