DEBUG!

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
SQL RUNTIME[0.00007606s]

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00008106s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
SQL RUNTIME[0.00005388s]

SQL[SELECT * FROM `config`]
SQL RUNTIME[0.00005293s]

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0032s]
STDOUT[
observium.partnersandsimons.com
]

  ___   _                              _
 / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
| | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
| |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
 \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                         Observium Professional 0.16.4.7767
                                   http://www.observium.org


SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
SQL RUNTIME[0.00012898s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00005698s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00005698s]

CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.028s]
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.0038s]
STDOUT[
Python 2.7.9
]

SQL[SELECT version();]
SQL RUNTIME[0.00015807s]

CMD[/usr/bin/snmpget --version 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0042s]
STDOUT[
NET-SNMP version: 5.7.2.1
]

CMD[/usr/bin/rrdtool --version |head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0065s]
STDOUT[
RRDtool 1.4.8  Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0028s]
STDOUT[
-04:00
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
SQL RUNTIME[0.00018311s]

CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.0342s]
STDOUT[
Apache/2.4.10
]

SQL[SELECT @@SESSION.sql_mode;]
SQL RUNTIME[0.00017095s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
SQL RUNTIME[0.00027800s]

#####  Software versions  #####

 o OS                   Linux 3.16.0-4-amd64 [amd64] (Debian 8.4)
 o Apache               2.4.10
 o PHP                  5.6.19-0+deb8u1 (OPcache: DISABLED)
 o Python               2.7.9
 o MySQL                5.5.47-0+deb8u1 (extension: mysqli 5.5.47)
 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                 Friday, 22-Apr-16 10:18:45 EDT
 o PHP                  -04:00
 o MySQL                -04:00


SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1461334725' AND `maint_end` > '1461334725']
SQL RUNTIME[0.00020599s]
#####  Starting polling run at 2016-04-22 10:18:45  #####


SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'pdu.partnersandsimons.com' ORDER BY `device_id` ASC]
SQL RUNTIME[0.00047112s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '21']
SQL RUNTIME[0.00022101s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '21']
SQL RUNTIME[0.00007200s]

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '21']
SQL RUNTIME[0.00017500s]

CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 24471]

CMD EXITCODE[0]
CMD RUNTIME[0.0112s]
STDOUT[
  PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
24471 15696     0     0 pts/0    S+   00:00:00 Fri Apr 22 10:18:44 2016 php ./poller.php -d -m sensors -h pdu.partnersandsimons.com
]

CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 15696]

CMD EXITCODE[0]
CMD RUNTIME[0.0105s]
STDOUT[
  PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
15696 15688     0     0 pts/0    Ss   00:00:00 Fri Apr 22 10:12:45 2016 -bash
]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('24471','poller.php','15696','0','php ./poller.php -d -m sensors -h pdu.partnersandsimons.com','1461334724','21')]
SQL RUNTIME[0.00173187s]

SQL[SELECT * FROM `alert_tests` WHERE 1]
SQL RUNTIME[0.00010991s]
Cached 20 alert rules.

SQL[SELECT * FROM  `alert_table` WHERE `device_id` = '21']
SQL RUNTIME[0.00022984s]
#####  pdu.partnersandsimons.com [21]  #####

 o OS                   poweralert
 o Last poll duration   3.72 seconds
 o Last Polled          2016-04-22 10:18:17
 o SNMP Version         v1

CMD[/usr/bin/fping -t 500 -c 1 -q 192.168.3.20 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0041s]
STDOUT[
192.168.3.20 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.93/0.93/0.93
]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0106s]
STDOUT[
sysObjectID.0 = enterprises.850.1
sysUpTime.0 = 36882
]
SNMP STATUS[TRUE]
 o Device status        Device is reachable by PING (0.93ms) and SNMP (10.61ms)
RRD /opt/observium/rrd/pdu.partnersandsimons.com/status.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/status.rrd N:1]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.06]
RRD_STATUS[TRUE]

RRD /opt/observium/rrd/pdu.partnersandsimons.com/ping.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/ping.rrd N:0.93]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.06]
RRD_STATUS[TRUE]

RRD /opt/observium/rrd/pdu.partnersandsimons.com/ping_snmp.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/ping_snmp.rrd N:10.61]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.06]
RRD_STATUS[TRUE]


SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '21']
SQL RUNTIME[0.00012302s]
 o Modules Enabled      system, os, sensors


including: includes/polling/system.inc.php
#####  Module Start: system  #####


CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0133s]
STDOUT[
sysUpTime.0 = 0:0:06:08.84
sysLocation.0 = 1111 W. 35th St., Chicago, IL 60609
sysContact.0 = www.tripplite.com
sysName.0 = pdu.partnersandsimons.com
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0099s]
STDOUT[
POWERALERT 12
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
STDOUT[
.1.3.6.1.4.1.850.1
]
SNMP STATUS[TRUE]
Using SNMP Agent sysUpTime (368 sec. => 6m 8s)
RRD /opt/observium/rrd/pdu.partnersandsimons.com/uptime.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/uptime.rrd N:368]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.11]
RRD_STATUS[TRUE]

 o Uptime               6m 8s


> $uptimes - /opt/observium/poller.php:163
/opt/observium/includes/polling/system.inc.php:188
===============================================
array(
  [sysUpTime] => int(368)
  [use]       => string(9) "sysUpTime"
  [uptime]    => int(368)
  [formatted] => string(5) "6m 8s"
  [message]   => string(26) "Using SNMP Agent sysUpTime"
  [previous]  => string(3) "337"
  [diff]      => int(-31)
  [rebooted]  => int(0)
)
sysLocation rewritten from '1111 W. 35th St., Chicago, IL 60609' to '25 Drydock Ave Boston MA 02210' by DB override.
 o sysObjectID          .1.3.6.1.4.1.850.1
 o snmpEngineID         
 o sysDescr             POWERALERT 12
 o sysName              pdu.partnersandsimons.com
 o Location             25 Drydock Ave Boston MA 02210

SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '21']
SQL RUNTIME[0.00013900s]
 o Module time          0.0519s


including: includes/polling/os.inc.php
#####  Module Start: os  #####


SQL[SELECT * FROM `observium_attribs`]
SQL RUNTIME[0.00006795s]
 o OS Poller            OS

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' upsIdentModel.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0693s]
STDOUT[
PDUMV15NET
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m TRIPPLITE-MIB -M /opt/observium/mibs 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.4.1.850.10.2.2.1.12.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0684s]
STDOUT[
""
]
SNMP STATUS[FALSE]
SNMP ERROR[#999 - Unknown]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m TRIPPLITE-MIB -M /opt/observium/mibs 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.2.1.33.1.1.5.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0677s]
STDOUT[
Device 1
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m TRIPPLITE-MIB -M /opt/observium/mibs 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.4.1.850.100.1.1.4.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0137s]
STDOUT[
2349AY016745600207
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' upsIdentAgentSoftwareVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0648s]
STDOUT[
12.06.0061
]
SNMP STATUS[TRUE]
 o Hardware             <empty>
 o Version              12.06.0061
 o Features             <empty>
 o Serial               2349AY016745600207
 o Asset                <empty>

 o Module time          0.3103s


including: includes/polling/sensors.inc.php
#####  Module Start: sensors  #####


SQL[SELECT COUNT(*) FROM `sensors` WHERE `device_id` = '21' AND `sensor_deleted` = '0';]
SQL RUNTIME[0.00014591s]
 o Sensor Count         3

SQL[SELECT `sensor_type` FROM `sensors` WHERE `device_id` = '21' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0' GROUP BY `sensor_type`]
SQL RUNTIME[0.00007391s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'temperature' AND `device_id` = '21']
SQL RUNTIME[0.00030303s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'humidity' AND `device_id` = '21']
SQL RUNTIME[0.00016999s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'fanspeed' AND `device_id` = '21']
SQL RUNTIME[0.00020909s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'airflow' AND `device_id` = '21']
SQL RUNTIME[0.00017405s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'voltage' AND `device_id` = '21']
SQL RUNTIME[0.00021291s]
Checking (snmp) voltage Input Array
(
    [sensor_id] => 180
    [sensor_deleted] => 0
    [sensor_class] => voltage
    [device_id] => 21
    [poller_type] => snmp
    [sensor_oid] => .1.3.6.1.2.1.33.1.3.3.1.3.1
    [sensor_mib] => 
    [sensor_object] => 
    [sensor_index] => upsInputEntry.1
    [sensor_type] => ups-mib
    [sensor_descr] => Input
    [sensor_unit] => 
    [sensor_multiplier] => 1
    [sensor_limit] => 1260.4
    [sensor_limit_warn] => 
    [sensor_limit_low] => 931.6
    [sensor_limit_low_warn] => 
    [sensor_custom_limit] => 0
    [entPhysicalIndex] => 
    [entPhysicalClass] => 
    [entPhysicalIndex_measured] => 
    [measured_class] => 
    [measured_entity] => 
    [sensor_ignore] => 0
    [sensor_disable] => 0
    [sensor_value] => 1095.00000
    [sensor_event] => ok
    [sensor_status] => 
    [sensor_polled] => 1461334695
    [sensor_last_change] => 1461334610
)

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OUqnv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.2.1.33.1.3.3.1.3.1]

CMD EXITCODE[0]
CMD RUNTIME[0.1253s]
STDOUT[
1095
]
SNMP STATUS[TRUE]
Array
(
    [sensor_value] => 1095
)

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/sensor-voltage-ups-mib-upsInputEntry.1.rrd N:1095]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.56]
RRD_STATUS[TRUE]



> $data - /opt/observium/includes/polling/sensors.inc.php:47
/opt/observium/includes/alerts.inc.php:57
====================================================
array(
  [sensor_value]        => int(1095)
  [sensor_event]        => string(2) "ok"
  [sensor_event_uptime] => int(115)
  [sensor_status]       => string(0) ""
)

SQL[UPDATE `sensors-state` set `sensor_value` ='1095',`sensor_event` ='ok',`sensor_status` ='',`sensor_last_change` ='1461334610',`sensor_polled` ='1461334725' WHERE `sensor_id` = '180']
SQL RUNTIME[0.00025201s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'current' AND `device_id` = '21']
SQL RUNTIME[0.00032592s]
Checking (snmp) current Output Array
(
    [sensor_id] => 182
    [sensor_deleted] => 0
    [sensor_class] => current
    [device_id] => 21
    [poller_type] => snmp
    [sensor_oid] => .1.3.6.1.2.1.33.1.4.4.1.3.1
    [sensor_mib] => 
    [sensor_object] => 
    [sensor_index] => upsOutputEntry.1
    [sensor_type] => ups-mib
    [sensor_descr] => Output
    [sensor_unit] => 
    [sensor_multiplier] => 0.1
    [sensor_limit] => 0
    [sensor_limit_warn] => 
    [sensor_limit_low] => 
    [sensor_limit_low_warn] => 
    [sensor_custom_limit] => 0
    [entPhysicalIndex] => 
    [entPhysicalClass] => 
    [entPhysicalIndex_measured] => 
    [measured_class] => 
    [measured_entity] => 
    [sensor_ignore] => 0
    [sensor_disable] => 0
    [sensor_value] => 0.00000
    [sensor_event] => ok
    [sensor_status] => 
    [sensor_polled] => 1461334696
    [sensor_last_change] => 1461334610
)

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OUqnv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.2.1.33.1.4.4.1.3.1]

CMD EXITCODE[0]
CMD RUNTIME[0.118s]
STDOUT[
0
]
SNMP STATUS[TRUE]
Array
(
    [sensor_value] => 0
)

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/sensor-current-ups-mib-upsOutputEntry.1.rrd N:0]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.69]
RRD_STATUS[TRUE]



 - /opt/observium/includes/polling/sensors.inc.php:47
/opt/observium/includes/alerts.inc.php:57
================================================
array(
  [sensor_value]        => double(0)
  [sensor_event]        => string(2) "ok"
  [sensor_event_uptime] => int(115)
  [sensor_status]       => string(0) ""
)

SQL[UPDATE `sensors-state` set `sensor_value` ='0',`sensor_event` ='ok',`sensor_status` ='',`sensor_last_change` ='1461334610',`sensor_polled` ='1461334725' WHERE `sensor_id` = '182']
SQL RUNTIME[0.00021887s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'power' AND `device_id` = '21']
SQL RUNTIME[0.00027800s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'apower' AND `device_id` = '21']
SQL RUNTIME[0.00016499s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'rpower' AND `device_id` = '21']
SQL RUNTIME[0.00019884s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'impedance' AND `device_id` = '21']
SQL RUNTIME[0.00016189s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'resistance' AND `device_id` = '21']
SQL RUNTIME[0.00021005s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'frequency' AND `device_id` = '21']
SQL RUNTIME[0.00022006s]
Checking (snmp) frequency Input Array
(
    [sensor_id] => 181
    [sensor_deleted] => 0
    [sensor_class] => frequency
    [device_id] => 21
    [poller_type] => snmp
    [sensor_oid] => .1.3.6.1.2.1.33.1.3.3.1.2.1
    [sensor_mib] => 
    [sensor_object] => 
    [sensor_index] => upsInputEntry.1
    [sensor_type] => ups-mib
    [sensor_descr] => Input
    [sensor_unit] => 
    [sensor_multiplier] => 0.1
    [sensor_limit] => 628.95
    [sensor_limit_warn] => 
    [sensor_limit_low] => 569.05
    [sensor_limit_low_warn] => 
    [sensor_custom_limit] => 0
    [entPhysicalIndex] => 
    [entPhysicalClass] => 
    [entPhysicalIndex_measured] => 
    [measured_class] => 
    [measured_entity] => 
    [sensor_ignore] => 0
    [sensor_disable] => 0
    [sensor_value] => 599.00000
    [sensor_event] => ok
    [sensor_status] => 
    [sensor_polled] => 1461334696
    [sensor_last_change] => 1461334611
)

CMD[/usr/bin/snmpget -v1 -c *** -Pu -OUqnv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'pdu.partnersandsimons.com':'161' .1.3.6.1.2.1.33.1.3.3.1.2.1]

CMD EXITCODE[0]
CMD RUNTIME[0.0906s]
STDOUT[
5990
]
SNMP STATUS[TRUE]
Array
(
    [sensor_value] => 5990
)

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/sensor-frequency-ups-mib-upsInputEntry.1.rrd N:599]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.79]
RRD_STATUS[TRUE]



 - /opt/observium/includes/polling/sensors.inc.php:47
/opt/observium/includes/alerts.inc.php:57
================================================
array(
  [sensor_value]        => double(599)
  [sensor_event]        => string(2) "ok"
  [sensor_event_uptime] => int(115)
  [sensor_status]       => string(0) ""
)

SQL[UPDATE `sensors-state` set `sensor_value` ='599',`sensor_event` ='ok',`sensor_status` ='',`sensor_last_change` ='1461334611',`sensor_polled` ='1461334726' WHERE `sensor_id` = '181']
SQL RUNTIME[0.00025201s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'dbm' AND `device_id` = '21']
SQL RUNTIME[0.00026488s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'snr' AND `device_id` = '21']
SQL RUNTIME[0.00019503s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'capacity' AND `device_id` = '21']
SQL RUNTIME[0.00020289s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'load' AND `device_id` = '21']
SQL RUNTIME[0.00015306s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'runtime' AND `device_id` = '21']
SQL RUNTIME[0.00021911s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'state' AND `device_id` = '21']
SQL RUNTIME[0.00014901s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'waterflow' AND `device_id` = '21']
SQL RUNTIME[0.00015092s]

SQL[SELECT * FROM `sensors` LEFT JOIN `sensors-state` USING(`sensor_id`) WHERE `sensor_class` = 'counter' AND `device_id` = '21']
SQL RUNTIME[0.00017500s]
Descr	Class	Type	Origin	Value	Event	Last Changed
Input	voltage	ups-mib	snmp	1095V	ok	2016-04-22 10:16:50
Output	current	ups-mib	snmp	0A	ok	2016-04-22 10:16:50
Input	frequency	ups-mib	snmp	599Hz	ok	2016-04-22 10:16:51

 o Module time          0.3750s

#####  pdu.partnersandsimons.com [21] completed poller modules at 2016-04-22 10:18:46  #####

 o Graphs [checked]     ping, ping_snmp, uptime, voltage, current, frequency
 o Poller time          0.7712 seconds
Updating pdu.partnersandsimons.com - 

> $update_array
========
array(
  [uptime]                => int(368)
  [last_polled]           => array(
                               [0] => string(5) "NOW()"
                             )
  [last_polled_timetaken] => double(0.7712)
  [device_state]          => string(124) "a:1:{s:15:"poller_mod_perf";a:3:{s:6:"system";d:0.051900000000000002;s:2:"os";d:0.31030000000000002;s:7:"sensors";d:0.375;}}"
                             â”— serialized ~ array(
                               [poller_mod_perf] => array(
                                                      [system]  => double(0.0519)
                                                      [os]      => double(0.3103)
                                                      [sensors] => double(0.375)
                                                    )
                             )
)
 

SQL[UPDATE `devices` set `uptime` ='368',`last_polled` =NOW(),`last_polled_timetaken` ='0.7712',`device_state` ='a:1:{s:15:\"poller_mod_perf\";a:3:{s:6:\"system\";d:0.051900000000000002;s:2:\"os\";d:0.31030000000000002;s:7:\"sensors\";d:0.375;}}' WHERE `device_id` = '21']
SQL RUNTIME[0.01161003s]
 o Updated Data         uptime, last_polled, last_polled_timetaken, device_state


 - /opt/observium/poller.php:163
/opt/observium/includes/alerts.inc.php:57
======================================
array(
  [device_status]        => string(1) "1"
  [device_status_type]   => string(0) ""
  [device_ping]          => string(4) "0.93"
  [device_snmp]          => string(5) "10.61"
  [device_uptime]        => string(3) "337"
  [device_rebooted]      => int(0)
  [device_duration_poll] => string(4) "3.72"
)

SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"device_status\":\"1\"}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1461334726',`last_ok` ='1461334726' WHERE `alert_table_id` = '216']
SQL RUNTIME[0.00166512s]

RRD CMD[update /opt/observium/rrd/pdu.partnersandsimons.com/alert-216.rrd N:1:1]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.82]
RRD_STATUS[TRUE]



SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '24471' AND `process_name` = 'poller.php' AND `device_id` = '21']
SQL RUNTIME[0.00111389s]

SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`)  VALUES ('poll','pdu.partnersandsimons.com','1461334725.165','0.947','1')]
SQL RUNTIME[0.00292301s]
./poller.php: pdu.partnersandsimons.com - 1 devices polled in 0.947 secs
#####  Completed polling run at 2016-04-22 10:18:46  #####

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.947 secs
 o Memory usage         8.25MB (peak: 8.25MB)
 o MySQL Usage          Cell[5/0.002s] Row[7/0.003s] Rows[31/0.013s] Column[0/0s] Update[5/0.015s] Insert[2/0.005s] Delete[1/0.001s] 
 o RRDTool Usage        update[8/0.009s]