[root@observium2 observium]# ./poller.php -h p101-sts-rack01 -m sensor -d DEBUG! CMD[/usr/bin/svn info /opt/observium] CMD EXITCODE[0] CMD RUNTIME[0.042s] STDOUT[ Path: . Working Copy Root Path: /opt/observium URL: http://svn.observium.org/svn/observium/branches/stable Repository Root: http://svn.observium.org/svn Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8 Revision: 9184 Node Kind: directory Schedule: normal Last Changed Author: adama Last Changed Rev: 9073 Last Changed Date: 2018-03-02 23:37:46 +0100 (Fri, 02 Mar 2018) ] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00173211s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00010800s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00015688s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00014806s] ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 18.3.9073 http://www.observium.org SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';] SQL RUNTIME[0.00015998s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00013089s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';] SQL RUNTIME[0.00012493s] CMD[/opt/observium/scripts/distro] CMD EXITCODE[0] CMD RUNTIME[0.1768s] STDOUT[ Linux|3.10.0-693.11.1.el7.x86_64|amd64|CentOS|7|vmware ] CMD[/usr/bin/env python --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.1176s] STDOUT[ Python 2.7.5 ] SQL[SELECT version();] SQL RUNTIME[0.00147700s] CMD[/usr/bin/snmpget --version 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0612s] STDOUT[ NET-SNMP version: 5.7.2 ] CMD[/usr/bin/rrdtool --version | head -n1] CMD EXITCODE[0] CMD RUNTIME[0.0543s] STDOUT[ RRDtool 1.6.0 Copyright by Tobias Oetiker ] CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.0355s] STDOUT[ ] CMD[/usr/sbin/httpd -v | awk '/Server version:/ {print $3}'] CMD EXITCODE[0] CMD RUNTIME[0.1042s] STDOUT[ Apache/2.4.6 ] CMD[date "+%:z"] CMD EXITCODE[0] CMD RUNTIME[0.0298s] CMD EXITDELAY[10ms] STDOUT[ +02:00 ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00015497s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00136113s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00041008s] ##### Software versions ##### o OS Linux 3.10.0-693.11.1.el7.x86_64 [amd64] (CentOS 7) o Apache 2.4.6 o PHP 7.0.25 (OPcache: DISABLED) o Python 2.7.5 o MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) o SNMP NET-SNMP 5.7.2 o RRDtool 1.6.0 ##### Memory Limit ##### o PHP 512MB ##### MySQL mode ##### o MySQL ##### Charset info ##### o PHP UTF-8 o MySQL utf8 ##### Timezones info ##### o Date Tuesday, 17-Apr-18 08:01:31 UTC o PHP +00:00 o MySQL +02:00 SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1523952091' AND `maint_end` > '1523952091'] SQL RUNTIME[0.00103903s] ##### Starting polling run at 2018-04-17 08:01:31 ##### SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'p101-sts-rack01' ORDER BY `device_id` ASC] SQL RUNTIME[0.00427103s] SQL[SELECT * FROM `devices` WHERE `device_id` = '468'] SQL RUNTIME[0.00070786s] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '468'] SQL RUNTIME[0.00028801s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '468'] SQL RUNTIME[0.00018001s] CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 15596] CMD EXITCODE[0] CMD RUNTIME[0.0787s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 15596 28892 0 0 pts/0 S+ 00:00:00 Tue Apr 17 10:01:29 2018 php ./poller.php -h p101-sts-rack01 -m sensor -d ] CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 28892] CMD EXITCODE[0] CMD RUNTIME[0.0626s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 28892 28792 0 0 pts/0 Ss 00:00:00 Fri Apr 13 14:01:36 2018 -bash ] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('15596','poller.php','28892','0','php ./poller.php -h p101-sts-rack01 -m sensor -d','1523952089','468')] SQL RUNTIME[0.00107503s] SQL[SELECT * FROM `alert_tests` WHERE 1] SQL RUNTIME[0.00041795s] Cached 13 alert rules. SQL[SELECT * FROM `alert_table` WHERE `device_id` = '468'] SQL RUNTIME[0.00116992s] ##### p101-sts-rack01 [468] ##### o OS apc o Last poll duration 5.34 seconds o Last Polled 2018-04-17 09:55:32 o SNMP Version v1 CMD[/sbin/fping -t 2000 -c 1 -q 10.52.10.13 2>&1] CMD EXITCODE[0] CMD RUNTIME[0.0802s] STDOUT[ 10.52.10.13 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 1.66/1.66/1.66 ] CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'p101-sts-rack01':'161' sysObjectID.0 sysUpTime.0] CMD EXITCODE[0] CMD RUNTIME[0.0664s] STDOUT[ sysObjectID.0 = enterprises.318.1.3.32 sysUpTime.0 = 12515120 ] SNMP STATUS[TRUE] o Device status Device is reachable by PING (1.66ms) and SNMP (66.38ms) RRD /opt/observium/rrd/p101-sts-rack01/status.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/p101-sts-rack01/status.rrd N:1] RRD RUNTIME[0.0011s] RRD STDOUT[] RRD_STATUS[TRUE] RRD /opt/observium/rrd/p101-sts-rack01/ping.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/p101-sts-rack01/ping.rrd N:1.66] RRD RUNTIME[0.0011s] RRD STDOUT[] RRD_STATUS[TRUE] RRD /opt/observium/rrd/p101-sts-rack01/ping_snmp.rrd already exists - no need to create. RRD CMD[update /opt/observium/rrd/p101-sts-rack01/ping_snmp.rrd N:66.38] RRD RUNTIME[0.0011s] RRD STDOUT[] RRD_STATUS[TRUE] SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '468'] SQL RUNTIME[0.00024390s] o Modules Enabled system, os including: includes/polling/system.inc.php ##### Module Start: system ##### SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '468' AND `attrib_type` = 'sysORID'] SQL RUNTIME[0.00094914s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '468' AND `attrib_type` = 'sysORID'] SQL RUNTIME[0.00019312s] SQL[SELECT * FROM `observium_attribs`] SQL RUNTIME[0.00015497s] Using SNMP Agent sysUpTime ( sec. => 0s) Device does not have any uptime counter or uptime equals zero. /opt/observium/includes/polling/system.inc.php:296 array( [use] => string(9) "sysUpTime" [sysUpTime] => null [uptime] => null [formatted] => string(2) "0s" [message] => string(26) "Using SNMP Agent sysUpTime" ) o sysObjectID o snmpEngineID o sysDescr o sysName o Location SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '468'] SQL RUNTIME[0.00084090s] o Module time 0.0045s including: includes/polling/os.inc.php ##### Module Start: os ##### CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' upsAdvIdentSerialNumber.0] CMD EXITCODE[2] CMD RUNTIME[0.1493s] STDOUT[ ] STDERR[ Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::upsAdvIdentSerialNumber.0 ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '468' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'PowerNet-MIB' AND `oid` = 'upsAdvIdentSerialNumber.0';] SQL RUNTIME[0.00026202s] SQL[UPDATE `snmp_errors` set `error_count` ='3133',`updated` ='1523952091' WHERE `error_id` = '14605'] SQL RUNTIME[0.00323009s] CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' atsIdentSerialNumber.0] CMD EXITCODE[0] CMD RUNTIME[0.1368s] STDOUT[ "5A1807T43747" ] SNMP STATUS[TRUE] Added OS param from SNMP definition walk: 'serial' = '5A1807T43747' o OS Poller OS CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' 1.3.6.1.4.1.318.1.4.2.4.1.4.1] CMD EXITCODE[0] CMD RUNTIME[0.1619s] STDOUT[ "v6.5.0" ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' 1.3.6.1.4.1.318.1.4.2.4.1.4.2] CMD EXITCODE[0] CMD RUNTIME[0.1399s] STDOUT[ "v6.5.1" ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' upsBasicIdentModel.0] CMD EXITCODE[2] CMD RUNTIME[0.1468s] STDOUT[ ] STDERR[ Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::upsBasicIdentModel.0 ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '468' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'PowerNet-MIB' AND `oid` = 'upsBasicIdentModel.0';] SQL RUNTIME[0.00027299s] SQL[UPDATE `snmp_errors` set `error_count` ='722',`updated` ='1523952092' WHERE `error_id` = '15082'] SQL RUNTIME[0.00464487s] CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQv -m PowerNet-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/apc 'udp':'p101-sts-rack01':'161' upsAdvIdentFirmwareRevision.0] CMD EXITCODE[2] CMD RUNTIME[0.1312s] STDOUT[ ] STDERR[ Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: PowerNet-MIB::upsAdvIdentFirmwareRevision.0 ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '468' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'PowerNet-MIB' AND `oid` = 'upsAdvIdentFirmwareRevision.0';] SQL RUNTIME[0.00020099s] SQL[UPDATE `snmp_errors` set `error_count` ='722',`updated` ='1523952092' WHERE `error_id` = '15083'] SQL RUNTIME[0.00034094s] o Hardware o Version v6.5.0 o Features App v6.5.1 o Serial 5A1807T43747 o Asset o Module time 0.8881s ##### p101-sts-rack01 [468] completed poller modules at 2018-04-17 08:01:32 ##### o Graphs [checked] availability, ping, ping_snmp o Poller time 1.2058 seconds Updating p101-sts-rack01 - > $update_array /opt/observium/includes/polling/functions.inc.php:792 array( [last_polled] => array( [0] => string(5) "NOW()" ) [last_polled_timetaken] => double(1.2058) ) SQL[UPDATE `devices` set `last_polled` =NOW(),`last_polled_timetaken` ='1.2058' WHERE `device_id` = '468'] SQL RUNTIME[0.00437403s] o Updated Data last_polled, last_polled_timetaken SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '15596' AND `process_name` = 'poller.php' AND `device_id` = '468'] SQL RUNTIME[0.00293589s] ./poller.php: p101-sts-rack01 - 1 devices polled in 1.830 secs ##### Completed polling run at 2018-04-17 08:01:32 ##### 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 1.830 secs o Memory usage 12MB (peak: 14MB) o MySQL Usage Insert[1/0.001s] Update[4/0.013s] Delete[1/0.003s] Cell[4/0.003s] Row[12/0.007s] Rows[10/0.009s] Col[0/0s] (0.037s 2.041%) o RRDTool Usage update[3/0.003s] (0.003s 0.176%) o SNMP Usage snmpget[7/0.944s] (0.944s 51.589%) [root@observium2 observium]#