DEBUG! CMD[/usr/bin/svn info /opt/observium]  CMD EXITCODE[0] CMD RUNTIME[0.0219s] 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: 9059 Node Kind: directory Schedule: normal Last Changed Author: adama Last Changed Rev: 9059 Last Changed Date: 2018-02-14 18:23:55 +0000 (Wed, 14 Feb 2018) ] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';] SQL RUNTIME[0.00025797s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00026917s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';] SQL RUNTIME[0.00022793s] SQL[SELECT * FROM `config`] SQL RUNTIME[0.00037408s] CMD[/bin/hostname -f]  CMD EXITCODE[0] CMD RUNTIME[0.0032s] STDOUT[ bsplin709.bsp.ox.ac.uk ]  ___ _ _ / _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |\__ \| __/| | \ V / | || |_| || | | | | | \___/ |_.__/ |___/ \___||_| \_/ |_| \__,_||_| |_| |_| Observium Professional 18.2.9059 http://www.observium.org  CMD[/opt/observium/scripts/distro]  CMD EXITCODE[0] CMD RUNTIME[0.0583s] STDOUT[ Linux|3.16.0-5-amd64|amd64|Debian|8.10|vmware ] 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.00054216s] CMD[/usr/bin/snmpget --version 2>&1]  CMD EXITCODE[0] CMD RUNTIME[0.004s] STDOUT[ NET-SNMP version: 5.7.2.1 ] CMD[/usr/bin/rrdtool --version | head -n1]  CMD EXITCODE[0] CMD RUNTIME[0.0084s] STDOUT[ RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker ] CMD[/usr/bin/rrdcached -h | head -n1]  CMD EXITCODE[0] CMD RUNTIME[0.01s] STDOUT[ RRDCacheD 1.4.8 ] CMD[/usr/sbin/apache2 -v | awk '/Server version:/ {print $3}']  CMD EXITCODE[0] CMD RUNTIME[0.0619s] STDOUT[ Apache/2.4.23 ] CMD[date "+%:z"]  CMD EXITCODE[0] CMD RUNTIME[0.0023s] STDOUT[ +00:00 ] SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);] SQL RUNTIME[0.00056386s] SQL[SELECT @@SESSION.sql_mode;] SQL RUNTIME[0.00025797s] SQL[SHOW VARIABLES LIKE 'character_set_connection'] SQL RUNTIME[0.00077701s] ##### Software versions #####   o OS  Linux 3.16.0-5-amd64 [amd64] (Debian 8.10)  o Apache  2.4.23  o PHP  7.0.16-1~dotdeb+8.1 (OPcache: ENABLED)  o Python  2.7.9  o MySQL  10.1.26-MariaDB-0+deb9u1 (extension: mysqli 5.0.12-dev)  o SNMP  NET-SNMP 5.7.2.1  o RRDtool  1.4.8 (rrdcached 1.4.8: unix:/var/run/rrdcached.sock) ##### Memory Limit #####   o PHP  Unlimited ##### MySQL mode #####   o MySQL  NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION ##### Charset info #####   o PHP  UTF-8  o MySQL  utf8 ##### Timezones info #####   o Date  Wednesday, 14-Feb-18 19:04:52 GMT  o PHP  +00:00  o MySQL  +00:00 SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';] SQL RUNTIME[0.00024605s] SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';] SQL RUNTIME[0.00022292s] ##### Starting discovery run at 2018-02-14 19:04:52 #####  SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'bspups02' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC] SQL RUNTIME[0.00084186s] CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bspups02':'161' sysObjectID.0 sysUpTime.0]  CMD EXITCODE[0] CMD RUNTIME[0.0178s] STDOUT[ sysObjectID.0 = enterprises.705.1 sysUpTime.0 = 2846546233 ] SNMP STATUS[TRUE] SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '72'] SQL RUNTIME[0.00036812s] SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '72'] SQL RUNTIME[0.00049996s] CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 24042]  CMD EXITCODE[0] CMD RUNTIME[0.0248s] STDOUT[ PID PPID UID GID TT STAT TIME STARTED COMMAND 24042 31320 0 0 pts/0 S+ 00:00:00 Wed Feb 14 19:04:51 2018 php ./discovery.php -h bspups02 -m sensors -d ] SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`) VALUES ('24042','discovery.php','31320','0','php ./discovery.php -h bspups02 -m sensors -d','1518635091','72')] SQL RUNTIME[0.00148582s] ##### bspups02 [72] #####   o OS Type  mgeups  o OS Group  ups  o SNMP Version  v2c  o Last discovery  2018-02-14 19:03:52  o Last duration  0.74 seconds ##### Module Start: sensors #####  SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '72' AND `attrib_type` = 'sysORID'] SQL RUNTIME[0.00027514s] SQL[SELECT * FROM `observium_attribs`] SQL RUNTIME[0.00027895s]  o MG-SNMP-UPS-MIB  CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgInputPhaseTable]  CMD EXITCODE[0] CMD RUNTIME[0.0446s] STDOUT[ mginputVoltage.1.0 = 2350 mginputVoltage.2.0 = 0 mginputVoltage.3.0 = 0 mginputFrequency.1.0 = 500 mginputFrequency.2.0 = 0 mginputFrequency.3.0 = 0 mginputMinimumVoltage.0 = 500 mginputMaximumVoltage.0 = 0 mginputCurrent.1.0 = 9 mginputCurrent.2.0 = 0 mginputCurrent.3.0 = 0 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -Oqv -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgInputPhaseNum.0]  CMD EXITCODE[0] CMD RUNTIME[0.0218s] STDOUT[ 1 ] SNMP STATUS[TRUE] Discover sensor: voltage, bspups02, .1.3.6.1.4.1.705.1.6.2.1.2.1.0, 101, mge-ups, Input, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 235, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00034404s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00028181s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3856' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00020909s] .Discover sensor: current, bspups02, .1.3.6.1.4.1.705.1.6.2.1.6.1.0, 101, mge-ups, Input, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 0.9, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00021505s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00025296s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '30227' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00023007s] .Discover sensor: frequency, bspups02, .1.3.6.1.4.1.705.1.6.2.1.3.1.0, 101, mge-ups, Input, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 50, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'frequency' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00021791s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '101'] SQL RUNTIME[0.00025892s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3858' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00022197s] . CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgOutput]  CMD EXITCODE[0] CMD RUNTIME[0.0558s] STDOUT[ upsmgOutputPhaseNum.0 = 1 mgoutputPhaseIndex.1 = 1 mgoutputPhaseIndex.2 = 2 mgoutputPhaseIndex.3 = 3 mgoutputVoltage.1 = 2390 mgoutputVoltage.2 = 2390 mgoutputVoltage.3 = 2390 mgoutputFrequency.1 = 500 mgoutputFrequency.2 = 500 mgoutputFrequency.3 = 500 mgoutputLoadPerPhase.1 = 52 mgoutputLoadPerPhase.2 = 52 mgoutputLoadPerPhase.3 = 52 mgoutputCurrent.1 = 90 mgoutputCurrent.2 = 90 mgoutputCurrent.3 = 90 upsmgOutputOnBattery.0 = no upsmgOutputOnByPass.0 = no upsmgOutputUtilityOff.0 = no upsmgOutputInverterOff.0 = no upsmgOutputOverLoad.0 = no upsmgOutputOverTemp.0 = no ] SNMP STATUS[TRUE] Discover status: bspups02, .1.3.6.1.4.1.705.1.7.3.0, upsmgOutputOnBattery.0, mge-status-state, On Battery, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOnBattery.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00034022s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOnBattery.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00028610s] .Discover status: bspups02, .1.3.6.1.4.1.705.1.7.4.0, upsmgOutputOnByPass.0, mge-status-state, On Bypass, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOnByPass.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00018787s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOnByPass.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00025797s] .Discover status: bspups02, .1.3.6.1.4.1.705.1.7.7.0, upsmgOutputUtilityOff.0, mge-status-state, Utility Off, 2, snmp, , other SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputUtilityOff.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00019217s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputUtilityOff.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00027394s] . CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -Oqv -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgIdentFamilyName.0]  CMD EXITCODE[0] CMD RUNTIME[0.0208s] STDOUT[ "9135" ] SNMP STATUS[TRUE] Discover status: bspups02, .1.3.6.1.4.1.705.1.7.9.0, upsmgOutputInverterOff.0, mge-status-inverter, Inverter Off, 2, snmp, , other SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-inverter' AND `status_index` = 'upsmgOutputInverterOff.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00028300s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-inverter' AND `status_index` = 'upsmgOutputInverterOff.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00026488s] .Discover status: bspups02, .1.3.6.1.4.1.705.1.7.10.0, upsmgOutputOverLoad.0, mge-status-state, Over Load, 2, snmp, , other SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOverLoad.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00021911s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOverLoad.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00027108s] .Discover status: bspups02, .1.3.6.1.4.1.705.1.7.11.0, upsmgOutputOverTemp.0, mge-status-state, Over Temperature, 2, snmp, , other SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOverTemp.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00024796s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgOutputOverTemp.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00023293s] . CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgOutputPhaseTable]  CMD EXITCODE[0] CMD RUNTIME[0.0433s] STDOUT[ mgoutputPhaseIndex.1 = 1 mgoutputPhaseIndex.2 = 2 mgoutputPhaseIndex.3 = 3 mgoutputVoltage.1 = 2390 mgoutputVoltage.2 = 2390 mgoutputVoltage.3 = 2390 mgoutputFrequency.1 = 500 mgoutputFrequency.2 = 500 mgoutputFrequency.3 = 500 mgoutputLoadPerPhase.1 = 52 mgoutputLoadPerPhase.2 = 52 mgoutputLoadPerPhase.3 = 52 mgoutputCurrent.1 = 90 mgoutputCurrent.2 = 90 mgoutputCurrent.3 = 90 ] SNMP STATUS[TRUE] CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -Oqv -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgOutputPhaseNum.0]  CMD EXITCODE[0] CMD RUNTIME[0.0216s] STDOUT[ 1 ] SNMP STATUS[TRUE] Discover sensor: load, bspups02, .1.3.6.1.4.1.705.1.7.2.1.4.1, mgoutputLoadPerPhase.1, mge-ups, Output Load, SCALE: 1, LIMITS: (, , 70, 85), CURRENT: 52, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'load' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = 'mgoutputLoadPerPhase.1'] SQL RUNTIME[0.00038004s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'load' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = 'mgoutputLoadPerPhase.1'] SQL RUNTIME[0.00031590s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '28704' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00022507s] .Discover sensor: voltage, bspups02, .1.3.6.1.4.1.705.1.7.2.1.2.1, 1, mge-ups, Output, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 239, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00021195s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00027299s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3860' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00021410s] .Discover sensor: current, bspups02, .1.3.6.1.4.1.705.1.7.2.1.5.1, 1, mge-ups, Output, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 9, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00020790s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00025988s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3861' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00021005s] .Discover sensor: frequency, bspups02, .1.3.6.1.4.1.705.1.7.2.1.3.1, 1, mge-ups, Output, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 50, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'frequency' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00026107s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '72' AND `sensor_type` = 'mge-ups' AND `sensor_index` = '1'] SQL RUNTIME[0.00027609s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3862' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00023794s] . upsmgBattery CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUsb -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgBattery]  CMD EXITCODE[0] CMD RUNTIME[0.0264s] STDOUT[ upsmgBatteryRemainingTime.0 = 2331 upsmgBatteryLevel.0 = 100 upsmgBatteryVoltage.0 = 2080 upsmgBatteryCurrent.0 = 0 upsmgBatteryFaultBattery.0 = no upsmgBatteryReplacement.0 = no upsmgBatteryLowBattery.0 = no upsmgBatteryChargerFault.0 = no upsmgBatteryLowCondition.0 = no ] SNMP STATUS[TRUE] Discover sensor: voltage, bspups02, .1.3.6.1.4.1.705.1.5.5.0, upsmgBatteryVoltage.0, mge, Battery, SCALE: 0.1, LIMITS: (, , , ), CURRENT: 208, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryVoltage.0'] SQL RUNTIME[0.00040197s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryVoltage.0'] SQL RUNTIME[0.00033188s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3863' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00020409s] . CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -Oqv -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgConfigLowBatteryLevel.0]  CMD EXITCODE[0] CMD RUNTIME[0.0207s] STDOUT[ 20 ] SNMP STATUS[TRUE] Discover sensor: capacity, bspups02, .1.3.6.1.4.1.705.1.5.2.0, upsmgBatteryLevel.0, mge, Battery Capacity, SCALE: 1, LIMITS: (20, , , ), CURRENT: 100, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'capacity' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryLevel.0'] SQL RUNTIME[0.00039411s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'capacity' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryLevel.0'] SQL RUNTIME[0.00028706s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3865' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00023818s] . CMD[/usr/bin/snmpget -t '3' -r '5' -v2c -c *** -Pu -Oqv -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgConfigLowBatteryTime.0]  CMD EXITCODE[0] CMD RUNTIME[0.0222s] STDOUT[ 180 ] SNMP STATUS[TRUE] Discover sensor: runtime, bspups02, .1.3.6.1.4.1.705.1.5.1.0, upsmgBatteryRemainingTime.0, mge, Battery Runtime Remaining, SCALE: 0.016666666666667, LIMITS: (, , , ), CURRENT: 38.85, snmp, , SQL[SELECT COUNT(`sensor_id`) FROM `sensors`  WHERE `poller_type`= 'snmp' AND `sensor_class` = 'runtime' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryRemainingTime.0'] SQL RUNTIME[0.00033903s] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'runtime' AND `device_id` = '72' AND `sensor_type` = 'mge' AND `sensor_index` = 'upsmgBatteryRemainingTime.0'] SQL RUNTIME[0.00031614s] SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '3866' AND `attrib_type` = 'sensor_addition'] SQL RUNTIME[0.00021791s] .Discover status: bspups02, .1.3.6.1.4.1.705.1.5.9.0, upsmgBatteryFaultBattery.0, mge-status-state, Battery Fault, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryFaultBattery.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00020909s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryFaultBattery.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00025105s] .Redirecting call to discover_status(). Discover status: bspups02, .1.3.6.1.4.1.705.1.5.15.0, upsmgBatteryChargerFault.0, mge-status-state, Charger Fault, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryChargerFault.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00021911s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryChargerFault.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00026393s] .Redirecting call to discover_status(). Discover status: bspups02, .1.3.6.1.4.1.705.1.5.16.0, upsmgBatteryLowCondition.0, mge-status-state, Battery Low, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryLowCondition.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00021005s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryLowCondition.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00025415s] .Redirecting call to discover_status(). Discover status: bspups02, .1.3.6.1.4.1.705.1.5.11.0, upsmgBatteryReplacement.0, mge-status-state, Battery Replacement Needed, 2, snmp, , battery SQL[SELECT COUNT(*) FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryReplacement.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00020504s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `status_type` = 'mge-status-state' AND `status_index` = 'upsmgBatteryReplacement.0' AND `poller_type`= 'snmp'] SQL RUNTIME[0.00025105s] . CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUsb -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgEnviron]  CMD EXITCODE[0] CMD RUNTIME[0.0483s] STDOUT[ upsmgEnvironAmbientTemp.0 = 0 upsmgEnvironAmbientHumidity.0 = 0 upsmgEnvironmentNum.0 = 1 upsmgEnvironmentIndex.1 = 1 upsmgEnvironmentComFailure.1 = yes upsmgEnvironmentTemperature.1 = 0 upsmgEnvironmentTemperatureLow.1 = no upsmgEnvironmentTemperatureHigh.1 = no upsmgEnvironmentHumidity.1 = 0 upsmgEnvironmentHumidityLow.1 = no upsmgEnvironmentHumidityHigh.1 = no upsmgEnvironmentInput1State.1 = open upsmgEnvironmentInput2State.1 = open ] SNMP STATUS[TRUE] upsmgConfigEnvironmentTable CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUsb -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgConfigEnvironmentTable]  CMD EXITCODE[0] CMD RUNTIME[0.047s] STDOUT[ upsmgConfigSensorIndex.1 = 1 upsmgConfigSensorName.1 = "Environment sensor" upsmgConfigTemperatureLow.1 = 5 upsmgConfigTemperatureHigh.1 = 40 upsmgConfigTemperatureHysteresis.1 = 2 upsmgConfigHumidityLow.1 = 5 upsmgConfigHumidityHigh.1 = 90 upsmgConfigHumidityHysteresis.1 = 5 upsmgConfigInput1Name.1 = "Input #1" upsmgConfigInput1ClosedLabel.1 = "closed" upsmgConfigInput1OpenLabel.1 = "open" upsmgConfigInput2Name.1 = "Input #2" upsmgConfigInput2ClosedLabel.1 = "closed" upsmgConfigInput2OpenLabel.1 = "open" ] SNMP STATUS[TRUE] upsmgEnvironmentSensorTable CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUsb -m MG-SNMP-UPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' upsmgEnvironmentSensorTable]  CMD EXITCODE[0] CMD RUNTIME[0.0484s] STDOUT[ upsmgEnvironmentIndex.1 = 1 upsmgEnvironmentComFailure.1 = yes upsmgEnvironmentTemperature.1 = 0 upsmgEnvironmentTemperatureLow.1 = no upsmgEnvironmentTemperatureHigh.1 = no upsmgEnvironmentHumidity.1 = 0 upsmgEnvironmentHumidityLow.1 = no upsmgEnvironmentHumidityHigh.1 = no upsmgEnvironmentInput1State.1 = open upsmgEnvironmentInput2State.1 = open ] SNMP STATUS[TRUE]  o XUPS-MIB  CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m XUPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' xupsInput]  CMD EXITCODE[0] CMD RUNTIME[0.0289s] STDOUT[ xupsInput = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m XUPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' xupsOutput]  CMD EXITCODE[0] CMD RUNTIME[0.0298s] STDOUT[ xupsOutput = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m XUPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' xupsBypass]  CMD EXITCODE[0] CMD RUNTIME[0.0306s] STDOUT[ xupsBypass = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] Skipped by unknown state value: , Input Source Skipped by unknown state value: , Output Source CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m XUPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' xupsBattery]  CMD EXITCODE[0] CMD RUNTIME[0.0296s] STDOUT[ xupsBattery = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m XUPS-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eaton 'udp':'bspups02':'161' xupsEnvironment]  CMD EXITCODE[0] CMD RUNTIME[0.0307s] STDOUT[ xupsEnvironment = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] Skipped by unknown state value: , Battery Status  o ENTITY-SENSOR-MIB  CMD[/usr/bin/snmpbulkwalk -t '3' -r '5' -v2c -c *** -Pu -OQUs -m ENTITY-MIB:ENTITY-SENSOR-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'bspups02':'161' entPhySensorValue]  CMD EXITCODE[0] CMD RUNTIME[0.0284s] STDOUT[ entPhySensorValue = No Such Object available on this agent at this OID ] SNMP STATUS[FALSE] SNMP ERROR[#1000 - Failed response] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'temperature' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00045395s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'humidity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026917s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'fanspeed' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00030303s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'dewpoint' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025916s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'airflow' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024295s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'voltage' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025582s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'current' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026488s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'power' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025105s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'apower' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00028396s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'rpower' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025105s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'crestfactor' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024199s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'powerfactor' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024819s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'impedance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025606s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'resistance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026178s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'frequency' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00027204s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'dbm' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025392s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'snr' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026798s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'dust' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026417s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'sound' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024199s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'capacity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026393s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'load' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026608s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'runtime' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024509s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'volume' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024915s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'waterflow' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00024104s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'pressure' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025082s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'velocity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026989s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'illuminance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00026917s] SQL[SELECT * FROM `sensors` WHERE `device_id` = '72' AND `sensor_class` = 'counter' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0'] SQL RUNTIME[0.00025010s] SQL[SELECT * FROM `status` WHERE `device_id` = '72' AND `poller_type` = 'snmp' AND `status_deleted` = '0'] SQL RUNTIME[0.00026798s]  o Duration  0.6824s SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='power',`last_discovered_timetaken` ='0.7129',`force_discovery` ='0' WHERE `device_id` = '72'] SQL RUNTIME[0.00164986s] ##### bspups02 [72] completed discovery modules at 2018-02-14 19:04:53 #####   o Discovery time  0.7129 seconds SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '24042' AND `process_name` = 'discovery.php' AND `device_id` = '72'] SQL RUNTIME[0.00120115s] ##### Finished discovery run at 2018-02-14 19:04:53 #####  ./discovery.php: bspups02 - 1 devices discovered in 0.907 secs SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1518620692'] SQL RUNTIME[0.00035882s] 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.907 secs  o Memory usage  8MB (peak: 12MB)  o MySQL Usage  Cell[24/0.012s] Row[35/0.016s] Rows[36/0.018s] Column[0/0s] Update[1/0.002s] Insert[1/0.002s] Delete[1/0.001s]  o RRDTool Usage