root@kelvin:/opt/observium# ./poller.php -h ampere.companyname.pvt -dd -m storage MIB search path: /opt/observium/mibs Cannot find module (LM-SENSORS-MIB): At line 0 in (none) DEBUG! Load class 'Console_Color2' from '/opt/observium/libs/pear/Console/Color2.php': OK SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] ROWS[1] SQL RUNTIME[0.00005603s] SQL[SELECT @@SESSION.sql_mode;] ROWS[1] SQL RUNTIME[0.00006700s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] ROWS[1] SQL RUNTIME[0.00003386s] SQL[SELECT * FROM `config`] ROWS[1] SQL RUNTIME[0.00003600s] CMD[/bin/hostname -f] CMD EXITCODE[0] CMD RUNTIME[0.0016s] STDOUT[ kelvin.companyname.pvt ] Load class 'Net_IPv6' from '/opt/observium/libs/pear/Net/IPv6.php': OK ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 0.16.5.7849 http://www.observium.org SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';] ROWS[1] SQL RUNTIME[0.00013399s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] ROWS[1] SQL RUNTIME[0.00003409s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';] ROWS[1] SQL RUNTIME[0.00003195s] CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.0212s] STDOUT[ Linux|3.16.0-4-amd64|amd64|Debian|8.4 ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0019s] STDOUT[ Python 2.7.9 ] SQL[SELECT version();] ROWS[1] SQL RUNTIME[0.00013685s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0019s] STDOUT[ NET-SNMP version: 5.7.2.1 ] CMD[/usr/bin/rrdtool --version |head -n1] CMD EXITCODE[0] CMD RUNTIME[0.0038s] STDOUT[ RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker ] CMD[date "+%:z"] CMD EXITCODE[0] CMD RUNTIME[0.0013s] STDOUT[ +02:00 ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] ROWS[1] SQL RUNTIME[0.00011778s] CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.0216s] STDOUT[ Apache/2.4.10 ] SQL[SELECT @@SESSION.sql_mode;] ROWS[1] SQL RUNTIME[0.00010300s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] ROWS[1] SQL RUNTIME[0.00031900s] ##### Software versions ##### o OS Linux 3.16.0-4-amd64 [amd64] (Debian 8.4) o Apache 2.4.10 o PHP 5.6.20-0+deb8u1 (OPcache: DISABLED) o Python 2.7.9 o MySQL 5.5.49-0+deb8u1 (extension: mysqli 5.5.49) o SNMP NET-SNMP 5.7.2.1 o RRDtool 1.4.8 ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8 ##### Timezones info ##### o Date Thursday, 12-May-16 18:56:26 CEST o PHP +02:00 o MySQL +02:00 SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1463072186' AND `maint_end` > '1463072186'] ROWS[0] SQL RUNTIME[0.00020409s] RRD PIPE OPEN[TRUE] ##### Starting polling run at 2016-05-12 18:56:26 ##### SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'ampere.companyname.pvt' ORDER BY `device_id` ASC] ROWS[1] SQL RUNTIME[0.00024199s] SQL[SELECT * FROM `devices` WHERE `device_id` = '8'] ROWS[1] SQL RUNTIME[0.00006294s] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '8'] ROWS[3] SQL RUNTIME[0.00003886s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '8'] ROWS[0] SQL RUNTIME[0.00014496s] CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 25859] CMD EXITCODE[0] CMD RUNTIME[0.007s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 25859 26345 0 0 pts/0 S+ 00:00:00 Thu May 12 18:56:25 2016 php ./poller.php -h ampere.companyname.pvt -dd -m storage ] CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 26345] CMD EXITCODE[0] CMD RUNTIME[0.0037s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 26345 26091 0 0 pts/0 S 00:00:00 Thu May 12 18:26:05 2016 -bash ] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('25859','poller.php','26345','0','php ./poller.php -h ampere.companyname.pvt -dd -m storage','1463072185','8')] ROWS[1] SQL RUNTIME[0.00050998s] SQL[SELECT * FROM `alert_tests` WHERE 1] ROWS[2] SQL RUNTIME[0.00007987s] Cached 2 alert rules. SQL[SELECT * FROM `alert_table` WHERE `device_id` = '8'] ROWS[3] SQL RUNTIME[0.00009108s] > $alert_rules ======== array( [1] => array( [alert_test_id] => string(1) "1" [entity_type] => string(7) "mempool" [alert_name] => string(26) "Memory above 70% on Ampere" [alert_message] => string(25) "Memory usage is above 70%" [conditions] => array( [0] => array( [value] => string(2) "70" [condition] => string(7) "greater" [metric] => string(12) "mempool_perc" ) ) [conditions_warn] => null [and] => string(1) "1" [severity] => string(4) "crit" [delay] => string(1) "2" [alerter] => string(7) "default" [enable] => string(1) "1" [show_frontpage] => string(1) "1" [suppress_recovery] => string(1) "0" [ignore_until] => null ) [2] => array( [alert_test_id] => string(1) "2" [entity_type] => string(6) "device" [alert_name] => string(13) "Storage usage" [alert_message] => string(23) "Storage usage above 85%" [conditions] => array( [0] => array( [value] => string(2) "50" [condition] => string(7) "greater" [metric] => string(12) "storage_perc" ) ) [conditions_warn] => null [and] => string(1) "1" [severity] => string(4) "crit" [delay] => string(1) "0" [alerter] => string(7) "default" [enable] => string(1) "1" [show_frontpage] => string(1) "1" [suppress_recovery] => string(1) "0" [ignore_until] => null ) ) > $alert_table ======== array( [mempool] => array( [52] => array( [1] => array( [alert_table_id] => string(1) "2" [alert_test_id] => string(1) "1" [device_id] => string(1) "8" [entity_type] => string(7) "mempool" [entity_id] => string(2) "52" [alert_assocs] => string(1) "1" [delay] => string(1) "0" [ignore_until] => null [ignore_until_ok] => string(1) "0" [last_checked] => string(10) "1463072183" [last_changed] => string(10) "1455781844" [last_recovered] => string(10) "1455778846" [last_ok] => string(10) "1463072183" [last_failed] => string(10) "1455781544" [has_alerted] => string(1) "0" [last_message] => string(9) "Checks OK" [alert_status] => string(1) "1" [last_alerted] => string(10) "1455774664" [state] => string(34) "{"metrics":{"mempool_perc":18.23}}" ? json ~ stdClass object( Properties ---------- -> metrics = stdClass object( Properties ---------- -> mempool_perc = double(18.23) ) ) ? regex ~ {"metrics":{"mempool_perc":18.23}} [count] => string(1) "0" ) ) [69] => array( [1] => array( [alert_table_id] => string(1) "4" [alert_test_id] => string(1) "1" [device_id] => string(1) "8" [entity_type] => string(7) "mempool" [entity_id] => string(2) "69" [alert_assocs] => string(1) "1" [delay] => string(1) "0" [ignore_until] => null [ignore_until_ok] => string(1) "0" [last_checked] => string(10) "1463072183" [last_changed] => string(10) "1461585040" [last_recovered] => string(10) "1456713343" [last_ok] => string(10) "1463072183" [last_failed] => string(10) "1461584742" [has_alerted] => string(1) "0" [last_message] => string(9) "Checks OK" [alert_status] => string(1) "1" [last_alerted] => string(10) "1456691744" [state] => string(34) "{"metrics":{"mempool_perc":19.49}}" ? json ~ stdClass object( Properties ---------- -> metrics = stdClass object( Properties ---------- -> mempool_perc = double(19.49) ) ) ? regex ~ {"metrics":{"mempool_perc":19.49}} [count] => string(1) "0" ) ) ) [device] => array( [8] => array( [2] => array( [alert_table_id] => string(2) "44" [alert_test_id] => string(1) "2" [device_id] => string(1) "8" [entity_type] => string(6) "device" [entity_id] => string(1) "8" [alert_assocs] => string(1) "2" [delay] => string(1) "0" [ignore_until] => null [ignore_until_ok] => string(1) "0" [last_checked] => string(10) "1463072183" [last_changed] => string(10) "1463071954" [last_recovered] => null [last_ok] => string(10) "1463072183" [last_failed] => null [has_alerted] => string(1) "0" [last_message] => string(9) "Checks OK" [alert_status] => string(1) "1" [last_alerted] => string(1) "0" [state] => string(33) "{"metrics":{"storage_perc":null}}" ? json ~ stdClass object( Properties ---------- -> metrics = stdClass object( Properties ---------- -> storage_perc = null ) ) ? regex ~ {"metrics":{"storage_perc":null}} [count] => string(1) "0" ) ) ) ) ##### ampere.companyname.pvt [8] ##### o OS windows o Last poll duration 0.41 seconds o Last Polled 2016-05-12 18:56:23 o SNMP Version v2c Load class 'Net_IPv4' from '/opt/observium/libs/pear/Net/IPv4.php': OK CMD[/usr/bin/fping -t 500 -c 1 -q 10.31.30.8 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0016s] STDOUT[ 10.31.30.8 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.11/0.11/0.11 ] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' sysObjectID.0 sysUpTime.0] CMD EXITCODE[0] CMD RUNTIME[0.0046s] STDOUT[ sysObjectID.0 = enterprises.311.1.1.3.1.2 sysUpTime.0 = 525071 ] SNMP STATUS[TRUE] o Device status Device is reachable by PING (0.11ms) and SNMP (4.61ms) RRD /opt/observium/rrd/ampere.companyname.pvt/status.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/status.rrd N:1] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.03] RRD_STATUS[TRUE] RRD /opt/observium/rrd/ampere.companyname.pvt/ping.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/ping.rrd N:0.11] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.03] RRD_STATUS[TRUE] RRD /opt/observium/rrd/ampere.companyname.pvt/ping_snmp.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/ping_snmp.rrd N:4.61] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.03] RRD_STATUS[TRUE] SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '8'] ROWS[22] SQL RUNTIME[0.00004697s] o Modules Enabled system, os, storage including: includes/polling/system.inc.php ##### Module Start: system ##### CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0] CMD EXITCODE[0] CMD RUNTIME[0.0044s] STDOUT[ sysUpTime.0 = 0:1:27:30.72 sysLocation.0 = City sysContact.0 = IT companyname sysName.0 = AMPERE.companyname.pvt ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -Oqv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' sysDescr.0] CMD EXITCODE[0] CMD RUNTIME[0.0047s] STDOUT[ Hardware: Intel64 Family 6 Model 63 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 9600 Multiprocessor Free) ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -Oqvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' sysObjectID.0] CMD EXITCODE[0] CMD RUNTIME[0.0044s] STDOUT[ .1.3.6.1.4.1.311.1.1.3.1.2 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -Ovqn -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' snmpEngineID.0] CMD EXITCODE[0] CMD RUNTIME[0.0041s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR - device: 8, cmd: snmpget, options: -Ovqn, mib: 'SNMP-FRAMEWORK-MIB', oid: 'snmpEngineID.0', cmd exitcode: 0, snmp error code: #1000, reason: 'Failed response', runtime: 0.0040991306304932 SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '8' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Ovqn' AND `mib` = 'SNMP-FRAMEWORK-MIB' AND `oid` = 'snmpEngineID.0';] ROWS[1] SQL RUNTIME[0.00030780s] SQL[UPDATE `snmp_errors` set `error_count` ='56739',`updated` ='1463072186' WHERE `error_id` = '75'] ROWS[1] SQL RUNTIME[0.00045800s] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -OUqv -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' snmpEngineTime.0] CMD EXITCODE[0] CMD RUNTIME[0.0042s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR - device: 8, cmd: snmpget, options: -OUqv, mib: 'SNMP-FRAMEWORK-MIB', oid: 'snmpEngineTime.0', cmd exitcode: 0, snmp error code: #1000, reason: 'Failed response', runtime: 0.0042269229888916 SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '8' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-OUqv' AND `mib` = 'SNMP-FRAMEWORK-MIB' AND `oid` = 'snmpEngineTime.0';] ROWS[1] SQL RUNTIME[0.00021696s] SQL[UPDATE `snmp_errors` set `error_count` ='56739',`updated` ='1463072186' WHERE `error_id` = '76'] ROWS[1] SQL RUNTIME[0.00045085s] Using SNMP Agent sysUpTime (5250 sec. => 1h 27m 30s) RRD /opt/observium/rrd/ampere.companyname.pvt/uptime.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/uptime.rrd N:5250] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.06] RRD_STATUS[TRUE] o Uptime 1h 27m 30s > $uptimes - /opt/observium/poller.php:163 /opt/observium/includes/polling/system.inc.php:188 =============================================== array( [sysUpTime] => int(5250) [use] => string(9) "sysUpTime" [uptime] => int(5250) [formatted] => string(10) "1h 27m 30s" [message] => string(26) "Using SNMP Agent sysUpTime" [previous] => string(4) "5247" [diff] => int(-3) [rebooted] => int(0) ) o sysObjectID .1.3.6.1.4.1.311.1.1.3.1.2 o snmpEngineID o sysDescr Hardware: Intel64 Family 6 Model 63 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.3 (Build 9600 Multiprocessor Free) o sysName ampere.companyname.pvt o Location City SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '8'] ROWS[1] SQL RUNTIME[0.00005007s] > $geo_db - /opt/observium/poller.php:163 /opt/observium/includes/polling/system.inc.php:266 =============================================== array( [location_id] => string(1) "4" [device_id] => string(1) "8" [location] => string(6) "City" [location_lat] => string(10) "52.1545700" [location_lon] => string(9) "4.4946900" [location_country] => string(2) "NL" [location_state] => string(13) "South Holland" [location_county] => string(6) "City" [location_city] => string(6) "City" [location_geoapi] => string(5) "yahoo" [location_status] => string(415) "Geocoding ENABLED, try detect device coordinates: by PARSING sysLocation (API: YAHOO) - FOUND GEO API REQUEST: http://gws2.maps.yahoo.com/findlocation?format=***json&locale=***en_US&flags=***J&pf=***1&count=***1&appid=***Observium-55b9f8ce&location=***City GEO LOCATION: Netherlands (Country), South Holland (State), City (County), City (City) GEO COORDINATES: 52.15457 (Latitude), 4.49469 (Longitude)" [location_manual] => string(1) "0" [location_updated] => string(19) "2015-10-02 17:51:34" ? date ~ -7mo Europe/Berlin (UTC+2) ) o Module time 0.0371s including: includes/polling/os.inc.php ##### Module Start: os ##### SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '8' AND `attrib_type` = 'sysORID'] ROWS[0] SQL RUNTIME[0.00003791s] SQL[SELECT * FROM `observium_attribs`] ROWS[10] SQL RUNTIME[0.00004411s] o OS Poller OS CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -Oqv -m MIB-Dell-10892 -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/dell 'udp':'ampere.companyname.pvt':'161' chassisModelName.1] CMD EXITCODE[0] CMD RUNTIME[0.0136s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR - device: 8, cmd: snmpget, options: -Oqv, mib: 'MIB-Dell-10892', oid: 'chassisModelName.1', cmd exitcode: 0, snmp error code: #1000, reason: 'Failed response', runtime: 0.013568162918091 SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '8' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'MIB-Dell-10892' AND `oid` = 'chassisModelName.1';] ROWS[1] SQL RUNTIME[0.00024223s] SQL[UPDATE `snmp_errors` set `error_count` ='24316',`updated` ='1463072186' WHERE `error_id` = '92181'] ROWS[1] SQL RUNTIME[0.00045490s] CMD[/usr/bin/snmpget -v2c -c 'ourSNMPcommunityname' -Pu -Oqv -m CPQSINFO-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/hp 'udp':'ampere.companyname.pvt':'161' cpqSiProductName.0] CMD EXITCODE[0] CMD RUNTIME[0.0092s] STDOUT[ No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR - device: 8, cmd: snmpget, options: -Oqv, mib: 'CPQSINFO-MIB', oid: 'cpqSiProductName.0', cmd exitcode: 0, snmp error code: #1000, reason: 'Failed response', runtime: 0.009221076965332 SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '8' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'CPQSINFO-MIB' AND `oid` = 'cpqSiProductName.0';] ROWS[1] SQL RUNTIME[0.00021291s] SQL[UPDATE `snmp_errors` set `error_count` ='24316',`updated` ='1463072186' WHERE `error_id` = '92182'] ROWS[1] SQL RUNTIME[0.00049305s] o Hardware Intel x64 o Version Server 2012 R2, Update 1 (NT 6.3) o Features Multiprocessor o Serial o Asset o Module time 0.0296s including: includes/polling/storage.inc.php ##### Module Start: storage ##### SQL[SELECT `storage`.*, `storage-state`.storage_polled FROM `storage` LEFT JOIN `storage-state` ON `storage`.storage_id = `storage-state`.storage_id WHERE `device_id` = '8'] ROWS[2] SQL RUNTIME[0.00024009s] CMD[/usr/bin/snmpbulkwalk -v2c -c 'ourSNMPcommunityname' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'ampere.companyname.pvt':'161' hrStorageEntry] CMD EXITCODE[0] CMD RUNTIME[0.0209s] STDOUT[ hrStorageIndex.1 = 1 hrStorageIndex.2 = 2 hrStorageIndex.3 = 3 hrStorageIndex.4 = 4 hrStorageIndex.5 = 5 hrStorageIndex.6 = 6 hrStorageType.1 = hrStorageRemovableDisk hrStorageType.2 = hrStorageFixedDisk hrStorageType.3 = hrStorageCompactDisc hrStorageType.4 = hrStorageFixedDisk hrStorageType.5 = hrStorageVirtualMemory hrStorageType.6 = hrStorageRam hrStorageDescr.1 = A:\\ hrStorageDescr.2 = C:\\ Label: Serial Number b2ea2839 hrStorageDescr.3 = D:\\ hrStorageDescr.4 = E:\\ Label:WSUS Data Serial Number b4cc07f2 hrStorageDescr.5 = Virtual Memory hrStorageDescr.6 = Physical Memory hrStorageAllocationUnits.1 = 0 hrStorageAllocationUnits.2 = 4096 hrStorageAllocationUnits.3 = 0 hrStorageAllocationUnits.4 = 4096 hrStorageAllocationUnits.5 = 65536 hrStorageAllocationUnits.6 = 65536 hrStorageSize.1 = 0 hrStorageSize.2 = 10395647 hrStorageSize.3 = 0 hrStorageSize.4 = 13098747 hrStorageSize.5 = 151544 hrStorageSize.6 = 131064 hrStorageUsed.1 = 0 hrStorageUsed.2 = 6710883 hrStorageUsed.3 = 0 hrStorageUsed.4 = 10556359 hrStorageUsed.5 = 29533 hrStorageUsed.6 = 23897 hrStorageAllocationFailures.1 = 0 hrStorageAllocationFailures.2 = 0 hrStorageAllocationFailures.3 = 0 hrStorageAllocationFailures.4 = 0 hrStorageAllocationFailures.5 = 0 hrStorageAllocationFailures.6 = 0 ] All quotes stripped from snmp output, also for indexes and values! SNMP STATUS[TRUE] > $cache_storage['host-resources-mib'] - /opt/observium/includes/polling/functions.inc.php:681 /opt/observium/includes/polling/storage/host-resources-mib.inc.php:19 =================================================================================== array( [1] => array( [hrStorageIndex] => string(1) "1" [hrStorageType] => string(22) "hrStorageRemovableDisk" [hrStorageDescr] => string(4) "A:\\" [hrStorageAllocationUnits] => string(1) "0" [hrStorageSize] => string(1) "0" [hrStorageUsed] => string(1) "0" [hrStorageAllocationFailures] => string(1) "0" ) [2] => array( [hrStorageIndex] => string(1) "2" [hrStorageType] => string(18) "hrStorageFixedDisk" [hrStorageDescr] => string(35) "C:\\ Label: Serial Number b2ea2839" [hrStorageAllocationUnits] => string(4) "4096" [hrStorageSize] => string(8) "10395647" [hrStorageUsed] => string(7) "6710883" [hrStorageAllocationFailures] => string(1) "0" ) [3] => array( [hrStorageIndex] => string(1) "3" [hrStorageType] => string(20) "hrStorageCompactDisc" [hrStorageDescr] => string(4) "D:\\" [hrStorageAllocationUnits] => string(1) "0" [hrStorageSize] => string(1) "0" [hrStorageUsed] => string(1) "0" [hrStorageAllocationFailures] => string(1) "0" ) [4] => array( [hrStorageIndex] => string(1) "4" [hrStorageType] => string(18) "hrStorageFixedDisk" [hrStorageDescr] => string(44) "E:\\ Label:WSUS Data Serial Number b4cc07f2" [hrStorageAllocationUnits] => string(4) "4096" [hrStorageSize] => string(8) "13098747" [hrStorageUsed] => string(8) "10556359" [hrStorageAllocationFailures] => string(1) "0" ) [5] => array( [hrStorageIndex] => string(1) "5" [hrStorageType] => string(22) "hrStorageVirtualMemory" [hrStorageDescr] => string(14) "Virtual Memory" [hrStorageAllocationUnits] => string(5) "65536" [hrStorageSize] => string(6) "151544" [hrStorageUsed] => string(5) "29533" [hrStorageAllocationFailures] => string(1) "0" ) [6] => array( [hrStorageIndex] => string(1) "6" [hrStorageType] => string(12) "hrStorageRam" [hrStorageDescr] => string(15) "Physical Memory" [hrStorageAllocationUnits] => string(5) "65536" [hrStorageSize] => string(6) "131064" [hrStorageUsed] => string(5) "23897" [hrStorageAllocationFailures] => string(1) "0" ) ) > $storage - /opt/observium/poller.php:163 /opt/observium/includes/polling/storage.inc.php:35 =============================================== array( [storage_id] => string(2) "11" [device_id] => string(1) "8" [storage_mib] => string(18) "host-resources-mib" [storage_index] => string(1) "2" [storage_type] => string(18) "hrStorageFixedDisk" [storage_descr] => string(35) "C:\\ Label: Serial Number b2ea2839" [storage_hc] => string(1) "0" [storage_deleted] => string(1) "0" [storage_warn_limit] => null [storage_crit_limit] => null [storage_ignore] => null [storage_polled] => string(10) "1463072183" [units] => string(4) "4096" [used] => int(27487776768) [size] => int(42580570112) [free] => int(15092793344) ) RRD /opt/observium/rrd/ampere.companyname.pvt/storage-host-resources-mib-C____Label___Serial_Number_b2ea2839.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/storage-host-resources-mib-C____Label___Serial_Number_b2ea2839.rrd N:27487776768:15092793344] RRD RUNTIME[0.0012s] RRD STDOUT[OK u:0.00 s:0.00 r:0.13] RRD_STATUS[TRUE] SQL[UPDATE `storage-state` set `storage_polled` ='1463072186',`storage_used` ='27487776768',`storage_free` ='15092793344',`storage_size` ='42580570112',`storage_units` ='4096',`storage_perc` ='64.55' WHERE `storage_id` = '11'] ROWS[1] SQL RUNTIME[0.00011206s] > $data - /opt/observium/includes/polling/functions.inc.php:681 /opt/observium/includes/alerts.inc.php:61 ===================================================== array( [storage_perc] => double(64.55) [storage_free] => int(15092793344) [storage_used] => int(27487776768) ) - /opt/observium/poller.php:163 /opt/observium/includes/polling/storage.inc.php:35 ========================================== array( [storage_id] => string(2) "41" [device_id] => string(1) "8" [storage_mib] => string(18) "host-resources-mib" [storage_index] => string(1) "4" [storage_type] => string(18) "hrStorageFixedDisk" [storage_descr] => string(44) "E:\\ Label:WSUS Data Serial Number b4cc07f2" [storage_hc] => string(1) "0" [storage_deleted] => string(1) "0" [storage_warn_limit] => null [storage_crit_limit] => null [storage_ignore] => null [storage_polled] => string(10) "1463072183" [units] => string(4) "4096" [used] => int(43238846464) [size] => int(53652467712) [free] => int(10413621248) ) RRD /opt/observium/rrd/ampere.companyname.pvt/storage-host-resources-mib-E____Label_WSUS_Data__Serial_Number_b4cc07f2.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/storage-host-resources-mib-E____Label_WSUS_Data__Serial_Number_b4cc07f2.rrd N:43238846464:10413621248] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.13] RRD_STATUS[TRUE] SQL[UPDATE `storage-state` set `storage_polled` ='1463072186',`storage_used` ='43238846464',`storage_free` ='10413621248',`storage_size` ='53652467712',`storage_units` ='4096',`storage_perc` ='80.59' WHERE `storage_id` = '41'] ROWS[1] SQL RUNTIME[0.00010490s] - /opt/observium/includes/polling/functions.inc.php:681 /opt/observium/includes/alerts.inc.php:61 ================================================== array( [storage_perc] => double(80.59) [storage_free] => int(10413621248) [storage_used] => int(43238846464) ) Load class 'cli\Table' from '/opt/observium/libs/cli/Table.php': OK Load class 'cli\Shell' from '/opt/observium/libs/cli/Shell.php': OK Load class 'cli\table\Renderer' from '/opt/observium/libs/cli/table/Renderer.php': OK Load class 'cli\table\Ascii' from '/opt/observium/libs/cli/table/Ascii.php': OK Load class 'cli\Colors' from '/opt/observium/libs/cli/Colors.php': OK Load class 'cli\Streams' from '/opt/observium/libs/cli/Streams.php': OK +----------------------------------------------+--------------------+-------+--------+--------+--------+--------+ | Label | Type | Index | Total | Used | Free | Perc | +----------------------------------------------+--------------------+-------+--------+--------+--------+--------+ | C:\\ Label: Serial Number b2ea2839 | host-resources-mib | 2 | 39.6GB | 25.6GB | 14.0GB | 64.55% | | E:\\ Label:WSUS Data Serial Number b4cc07f2 | host-resources-mib | 4 | 49.9GB | 40.2GB | 9.7GB | 80.59% | +----------------------------------------------+--------------------+-------+--------+--------+--------+--------+ o Module time 0.0477s ##### ampere.companyname.pvt [8] completed poller modules at 2016-05-12 18:56:26 ##### o Graphs [checked] ping, ping_snmp, uptime, storage o Poller time 0.1327 seconds Updating ampere.companyname.pvt - > $update_array ======== array( [uptime] => int(5250) [last_polled] => array( [0] => string(5) "NOW()" ) [last_polled_timetaken] => double(0.1327) [device_state] => string(140) "a:1:{s:15:"poller_mod_perf";a:3:{s:6:"system";d:0.037100000000000001;s:2:"os";d:0.029600000000000001;s:7:"storage";d:0.047699999999999999;}}" ? serialized ~ array( [poller_mod_perf] => array( [system] => double(0.0371) [os] => double(0.0296) [storage] => double(0.0477) ) ) ) SQL[UPDATE `devices` set `uptime` ='5250',`last_polled` =NOW(),`last_polled_timetaken` ='0.1327',`device_state` ='a:1:{s:15:\"poller_mod_perf\";a:3:{s:6:\"system\";d:0.037100000000000001;s:2:\"os\";d:0.029600000000000001;s:7:\"storage\";d:0.047699999999999999;}}' WHERE `device_id` = '8'] ROWS[1] SQL RUNTIME[0.00059080s] o Updated Data uptime, last_polled, last_polled_timetaken, device_state - /opt/observium/poller.php:163 /opt/observium/includes/alerts.inc.php:61 ====================================== array( [device_status] => string(1) "1" [device_status_type] => string(0) "" [device_ping] => string(4) "0.11" [device_snmp] => string(4) "4.61" [device_uptime] => string(4) "5247" [device_rebooted] => int(0) [device_duration_poll] => string(4) "0.41" ) SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"storage_perc\":null}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1463072186',`last_ok` ='1463072186' WHERE `alert_table_id` = '44'] ROWS[1] SQL RUNTIME[0.00027299s] RRD /opt/observium/rrd/ampere.companyname.pvt/alert-44.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/ampere.companyname.pvt/alert-44.rrd N:1:1] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.00 r:0.16] RRD_STATUS[TRUE] SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '25859' AND `process_name` = 'poller.php' AND `device_id` = '8'] ROWS[1] SQL RUNTIME[0.00040102s] SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('poll','ampere.companyname.pvt','1463072185.9941','0.228','1')] ROWS[1] SQL RUNTIME[0.00021100s] ./poller.php: ampere.companyname.pvt - 1 devices polled in 0.228 secs ##### Completed polling run at 2016-05-12 18:56:26 ##### NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output. o Devices Polled 1 o Poller Time 0.228 secs o Memory usage 8.5MB (peak: 8.75MB) o MySQL Usage Cell[4/0.001s] Row[12/0.006s] Rows[11/0.005s] Column[0/0s] Update[8/0.005s] Insert[2/0.001s] Delete[1/0.001s] o RRDTool Usage update[7/0.008s] RRD PIPE CLOSE[TRUE]