DEBUG!

CMD[/usr/bin/svn info /opt/observium]

CMD EXITCODE[0]
CMD RUNTIME[0.0198s]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/trunk
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 9914
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 9914
Last Changed Date: 2019-05-23 12:19:11 +0200 (Thu, 23 May 2019)

]

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

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

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

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.0255s]
STDOUT[
Linux|3.10.0-693.el7.x86_64|amd64|CentOS|7|vmware|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0043s]
STDOUT[
Python 2.7.5
]

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0085s]
STDOUT[
NET-SNMP version: 5.7.2
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
STDOUT[
RRDtool 1.6.0  Copyright by Tobias Oetiker <tobi@oetiker.ch>
]

CMD[/usr/bin/env rrdcached -h -h | head -n1]

CMD EXITCODE[0]
CMD RUNTIME[0.0096s]
STDOUT[
RRDCacheD 1.6.0
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0077s]
STDOUT[

]

CMD[/usr/sbin/httpd -v | awk '/Server version:/ {print $3}']

CMD EXITCODE[0]
CMD RUNTIME[0.0345s]
STDOUT[
Apache/2.4.6
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0112s]
STDOUT[
+02:00
]

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

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

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

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

 o OS                   Linux 3.10.0-693.el7.x86_64 [amd64] (CentOS 7)
 o Apache               2.4.6
 o PHP                  7.2.14 (OPcache: DISABLED)
 o Python               2.7.5
 o MySQL                10.1.35-MariaDB (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.2
 o RRDtool              1.6.0 (rrdcached 1.6.0: unix:/var/run/rrdcached.sock)
 o Fping

#####  Memory Limit  #####

 o PHP                  4GB

#####  MySQL mode  #####

 o MySQL                NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

#####  Charset info  #####

 o PHP                  UTF-8
 o MySQL                utf8

#####  Timezones info  #####

 o Date                 Thursday, 23-May-19 12:45:40 CEST
 o PHP                  +02:00
 o MySQL                +02:00


SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck';]
SQL RUNTIME[0.00081205s]

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
SQL RUNTIME[0.00361204s]
#####  Starting discovery run at 2019-05-23 12:45:40  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE '10.14.3.129' AND `status` = '1' AND `poller_id` = '0' ORDER BY `last_discovered_timetaken` ASC]
SQL RUNTIME[0.00165296s]

CMD[/usr/bin/snmpget -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'10.14.3.129':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.029s]
STDOUT[
sysObjectID.0 = enterprises.12148.9
sysUpTime.0 = 0:14:29:20.35
]
SNMP STATUS[TRUE]

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

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '687']
SQL RUNTIME[0.00095797s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('8150','discovery.php','28919','1000','php ./discovery.php -d -m sensors -h 10.14.3.129','1558608340','687')]
SQL RUNTIME[0.01736307s]
#####  10.14.3.129 [687]  #####

 o OS Type              eltek
 o SNMP Version         v2c
 o Last discovery       2019-05-23 12:45:26
 o Last duration        23.63 seconds

#####  Module Start: sensors  #####


SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '687' AND `attrib_type` = 'sysORID']
SQL RUNTIME[0.00102305s]

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '687' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00082183s]
 o ELTEK-DISTRIBUTED-MIB
CMD[/usr/bin/snmpget -v2c -c *** -Pud -OUvq -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' .1.3.6.1.4.1.12148.9.6.1.0]

CMD EXITCODE[0]
CMD RUNTIME[0.1047s]
STDOUT[
231
]
SNMP STATUS[TRUE]
Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.6.1.0, index: 1, type: eltek-distributed-mib_acVoltage, descr: AC Voltage 1, scale: 1, limits: (, , , ), CURRENT: 231, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '1')]
SQL RUNTIME[0.00090814s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '1']
SQL RUNTIME[0.00093794s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6435' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00064802s]
.
CMD[/usr/bin/snmpget -v2c -c *** -Pud -OUvq -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' .1.3.6.1.4.1.12148.9.6.2.0]

CMD EXITCODE[0]
CMD RUNTIME[0.1635s]
STDOUT[
241
]
SNMP STATUS[TRUE]
Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.6.2.0, index: 2, type: eltek-distributed-mib_acVoltage, descr: AC Voltage 2, scale: 1, limits: (, , , ), CURRENT: 241, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '2')]
SQL RUNTIME[0.00094008s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '2']
SQL RUNTIME[0.00115013s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6438' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00066710s]
.
CMD[/usr/bin/snmpget -v2c -c *** -Pud -OUvq -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' .1.3.6.1.4.1.12148.9.6.3.0]

CMD EXITCODE[0]
CMD RUNTIME[0.1148s]
STDOUT[
243
]
SNMP STATUS[TRUE]
Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.6.3.0, index: 3, type: eltek-distributed-mib_acVoltage, descr: AC Voltage 3, scale: 1, limits: (, , , ), CURRENT: 243, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '3')]
SQL RUNTIME[0.00666404s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_acVoltage' AND `sensor_index` = '3']
SQL RUNTIME[0.00371909s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6441' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00081301s]
.
CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -OQUs -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' rectifierStatusTable]

CMD EXITCODE[0]
CMD RUNTIME[18.8455s]
STDOUT[
rectifierStatusID.0 = 1
rectifierStatusID.1 = 2
rectifierStatusID.2 = 3
rectifierStatusID.3 = 4
rectifierStatusID.4 = 5
rectifierStatusID.5 = 6
rectifierStatusID.6 = 7
rectifierStatusID.7 = 8
rectifierStatusID.8 = 9
rectifierStatusID.9 = 10
rectifierStatusID.10 = 11
rectifierStatusID.11 = 12
rectifierStatusID.12 = 13
rectifierStatusID.13 = 14
rectifierStatusID.14 = 15
rectifierStatusID.15 = 16
rectifierStatusID.16 = 17
rectifierStatusID.17 = 18
rectifierStatusID.18 = 19
rectifierStatusID.19 = 20
rectifierStatusStatus.0 = normal
rectifierStatusStatus.1 = normal
rectifierStatusStatus.2 = normal
rectifierStatusStatus.3 = normal
rectifierStatusStatus.4 = notPresent
rectifierStatusStatus.5 = notPresent
rectifierStatusStatus.6 = notPresent
rectifierStatusStatus.7 = notPresent
rectifierStatusStatus.8 = notPresent
rectifierStatusStatus.9 = notPresent
rectifierStatusStatus.10 = notPresent
rectifierStatusStatus.11 = notPresent
rectifierStatusStatus.12 = notPresent
rectifierStatusStatus.13 = notPresent
rectifierStatusStatus.14 = notPresent
rectifierStatusStatus.15 = notPresent
rectifierStatusStatus.16 = notPresent
rectifierStatusStatus.17 = notPresent
rectifierStatusStatus.18 = notPresent
rectifierStatusStatus.19 = notPresent
rectifierStatusOutputCurrent.0 = 22
rectifierStatusOutputCurrent.1 = 20
rectifierStatusOutputCurrent.2 = 23
rectifierStatusOutputCurrent.3 = 21
rectifierStatusOutputCurrent.4 = 0
rectifierStatusOutputCurrent.5 = 0
rectifierStatusOutputCurrent.6 = 0
rectifierStatusOutputCurrent.7 = 0
rectifierStatusOutputCurrent.8 = 0
rectifierStatusOutputCurrent.9 = 0
rectifierStatusOutputCurrent.10 = 0
rectifierStatusOutputCurrent.11 = 0
rectifierStatusOutputCurrent.12 = 0
rectifierStatusOutputCurrent.13 = 0
rectifierStatusOutputCurrent.14 = 0
rectifierStatusOutputCurrent.15 = 0
rectifierStatusOutputCurrent.16 = 0
rectifierStatusOutputCurrent.17 = 0
rectifierStatusOutputCurrent.18 = 0
rectifierStatusOutputCurrent.19 = 0
rectifierStatusOutputVoltage.0 = 5373
rectifierStatusOutputVoltage.1 = 5376
rectifierStatusOutputVoltage.2 = 5382
rectifierStatusOutputVoltage.3 = 5369
rectifierStatusOutputVoltage.4 = 0
rectifierStatusOutputVoltage.5 = 0
rectifierStatusOutputVoltage.6 = 0
rectifierStatusOutputVoltage.7 = 0
rectifierStatusOutputVoltage.8 = 0
rectifierStatusOutputVoltage.9 = 0
rectifierStatusOutputVoltage.10 = 0
rectifierStatusOutputVoltage.11 = 0
rectifierStatusOutputVoltage.12 = 0
rectifierStatusOutputVoltage.13 = 0
rectifierStatusOutputVoltage.14 = 0
rectifierStatusOutputVoltage.15 = 0
rectifierStatusOutputVoltage.16 = 0
rectifierStatusOutputVoltage.17 = 0
rectifierStatusOutputVoltage.18 = 0
rectifierStatusOutputVoltage.19 = 0
rectifierStatusTemp.0 = 34
rectifierStatusTemp.1 = 34
rectifierStatusTemp.2 = 34
rectifierStatusTemp.3 = 34
rectifierStatusTemp.4 = 0
rectifierStatusTemp.5 = 0
rectifierStatusTemp.6 = 0
rectifierStatusTemp.7 = 0
rectifierStatusTemp.8 = 0
rectifierStatusTemp.9 = 0
rectifierStatusTemp.10 = 0
rectifierStatusTemp.11 = 0
rectifierStatusTemp.12 = 0
rectifierStatusTemp.13 = 0
rectifierStatusTemp.14 = 0
rectifierStatusTemp.15 = 0
rectifierStatusTemp.16 = 0
rectifierStatusTemp.17 = 0
rectifierStatusTemp.18 = 0
rectifierStatusTemp.19 = 0
rectifierStatusType.0 = MINIPACK 48/800 WI
rectifierStatusType.1 = MINIPACK 48/800 WI
rectifierStatusType.2 = MINIPACK 48/800 WI
rectifierStatusType.3 = MINIPACK 48/800 WI
rectifierStatusType.4 = -
rectifierStatusType.5 = -
rectifierStatusType.6 = -
rectifierStatusType.7 = -
rectifierStatusType.8 = -
rectifierStatusType.9 = -
rectifierStatusType.10 = -
rectifierStatusType.11 = -
rectifierStatusType.12 = -
rectifierStatusType.13 = -
rectifierStatusType.14 = -
rectifierStatusType.15 = -
rectifierStatusType.16 = -
rectifierStatusType.17 = -
rectifierStatusType.18 = -
rectifierStatusType.19 = -
rectifierStatusSKU.0 = 241117.130
rectifierStatusSKU.1 = 241117.130
rectifierStatusSKU.2 = 241117.130
rectifierStatusSKU.3 = 241117.130
rectifierStatusSKU.4 = -
rectifierStatusSKU.5 = -
rectifierStatusSKU.6 = -
rectifierStatusSKU.7 = -
rectifierStatusSKU.8 = -
rectifierStatusSKU.9 = -
rectifierStatusSKU.10 = -
rectifierStatusSKU.11 = -
rectifierStatusSKU.12 = -
rectifierStatusSKU.13 = -
rectifierStatusSKU.14 = -
rectifierStatusSKU.15 = -
rectifierStatusSKU.16 = -
rectifierStatusSKU.17 = -
rectifierStatusSKU.18 = -
rectifierStatusSKU.19 = -
rectifierStatusSerialNo.0 = 133871114068
rectifierStatusSerialNo.1 = 135271120388
rectifierStatusSerialNo.2 = 135271120376
rectifierStatusSerialNo.3 = 133471128544
rectifierStatusSerialNo.4 = -
rectifierStatusSerialNo.5 = -
rectifierStatusSerialNo.6 = -
rectifierStatusSerialNo.7 = -
rectifierStatusSerialNo.8 = -
rectifierStatusSerialNo.9 = -
rectifierStatusSerialNo.10 = -
rectifierStatusSerialNo.11 = -
rectifierStatusSerialNo.12 = -
rectifierStatusSerialNo.13 = -
rectifierStatusSerialNo.14 = -
rectifierStatusSerialNo.15 = -
rectifierStatusSerialNo.16 = -
rectifierStatusSerialNo.17 = -
rectifierStatusSerialNo.18 = -
rectifierStatusSerialNo.19 = -
rectifierStatusRevisionLevel.0 = 1.5
rectifierStatusRevisionLevel.1 = 1.5
rectifierStatusRevisionLevel.2 = 1.5
rectifierStatusRevisionLevel.3 = 1.5
rectifierStatusRevisionLevel.4 = -
rectifierStatusRevisionLevel.5 = -
rectifierStatusRevisionLevel.6 = -
rectifierStatusRevisionLevel.7 = -
rectifierStatusRevisionLevel.8 = -
rectifierStatusRevisionLevel.9 = -
rectifierStatusRevisionLevel.10 = -
rectifierStatusRevisionLevel.11 = -
rectifierStatusRevisionLevel.12 = -
rectifierStatusRevisionLevel.13 = -
rectifierStatusRevisionLevel.14 = -
rectifierStatusRevisionLevel.15 = -
rectifierStatusRevisionLevel.16 = -
rectifierStatusRevisionLevel.17 = -
rectifierStatusRevisionLevel.18 = -
rectifierStatusRevisionLevel.19 = -
]
SNMP STATUS[TRUE]
Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.4.0, index: 0, type: eltek-distributed-mib_rectifierStatusOutputVoltage, descr: Rectifier 1 (MINIPACK 48/800 WI), scale: 0.01, limits: (, , , ), CURRENT: 53.73, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '0')]
SQL RUNTIME[0.00103092s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '0']
SQL RUNTIME[0.00111008s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6444' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00068903s]
.Discover sensor: [class: current, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.3.0, index: 0, type: eltek-distributed-mib_rectifierStatusOutputCurrent, descr: Rectifier 1 (MINIPACK 48/800 WI), scale: 0.1, limits: (, , , ), CURRENT: 2.2, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '0')]
SQL RUNTIME[0.00084114s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '0']
SQL RUNTIME[0.00096917s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6447' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00073385s]
.Discover sensor: [class: temperature, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.5.0, index: 0, type: eltek-distributed-mib_rectifierStatusTemp, descr: Rectifier 1 (MINIPACK 48/800 WI), scale: 1, limits: (, , , ), CURRENT: 34, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '0')]
SQL RUNTIME[0.00094104s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '0']
SQL RUNTIME[0.00099516s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6450' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00192213s]
.Discover status: [device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.2.0, index: rectifierStatusStatus.0, type: eltek-distributed-mib_rectifierStatusStatus, descr: Rectifier 1 (MINIPACK 48/800 WI), CURRENT: 1, , ]

SQL[SELECT EXISTS (SELECT 1 FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.0' AND `poller_type`= 'snmp')]
SQL RUNTIME[0.00077319s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.0' AND `poller_type`= 'snmp']
SQL RUNTIME[0.00084209s]
.Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.4.1, index: 1, type: eltek-distributed-mib_rectifierStatusOutputVoltage, descr: Rectifier 2 (MINIPACK 48/800 WI), scale: 0.01, limits: (, , , ), CURRENT: 53.76, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '1')]
SQL RUNTIME[0.00078106s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '1']
SQL RUNTIME[0.00090003s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6453' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00066400s]
.Discover sensor: [class: current, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.3.1, index: 1, type: eltek-distributed-mib_rectifierStatusOutputCurrent, descr: Rectifier 2 (MINIPACK 48/800 WI), scale: 0.1, limits: (, , , ), CURRENT: 2, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '1')]
SQL RUNTIME[0.00093293s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '1']
SQL RUNTIME[0.00110698s]
LCurrent sensor value: "2", scale: "0.1"
  limit_high: "3.45" -> "3"
  limit_high_warn: "" -> ""
  limit_low: "" -> ""
  limit_low_warn: "" -> ""


SQL[INSERT INTO `eventlog` (`device_id`,`entity_id`,`entity_type`,`timestamp`,`severity`,`message`)  VALUES ('687','6456','sensor',NOW(),'6','Sensor updated (limits): limit_high -> \"3\"')]
SQL RUNTIME[0.02650285s]

SQL[UPDATE `sensors` set `sensor_limit` ='3' WHERE `sensor_id` = '6456']
SQL RUNTIME[0.00461602s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6456' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00308990s]
.Discover sensor: [class: temperature, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.5.1, index: 1, type: eltek-distributed-mib_rectifierStatusTemp, descr: Rectifier 2 (MINIPACK 48/800 WI), scale: 1, limits: (, , , ), CURRENT: 34, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '1')]
SQL RUNTIME[0.00092101s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '1']
SQL RUNTIME[0.00103688s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6459' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00073695s]
.Discover status: [device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.2.1, index: rectifierStatusStatus.1, type: eltek-distributed-mib_rectifierStatusStatus, descr: Rectifier 2 (MINIPACK 48/800 WI), CURRENT: 1, , ]

SQL[SELECT EXISTS (SELECT 1 FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.1' AND `poller_type`= 'snmp')]
SQL RUNTIME[0.00070596s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.1' AND `poller_type`= 'snmp']
SQL RUNTIME[0.00084019s]
.Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.4.2, index: 2, type: eltek-distributed-mib_rectifierStatusOutputVoltage, descr: Rectifier 3 (MINIPACK 48/800 WI), scale: 0.01, limits: (, , , ), CURRENT: 53.82, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '2')]
SQL RUNTIME[0.00081301s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '2']
SQL RUNTIME[0.00091290s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6462' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00066495s]
.Discover sensor: [class: current, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.3.2, index: 2, type: eltek-distributed-mib_rectifierStatusOutputCurrent, descr: Rectifier 3 (MINIPACK 48/800 WI), scale: 0.1, limits: (, , , ), CURRENT: 2.3, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '2')]
SQL RUNTIME[0.00099111s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '2']
SQL RUNTIME[0.00088501s]
LCurrent sensor value: "2.3", scale: "0.1"
  limit_high: "3" -> "3.45"
  limit_high_warn: "" -> ""
  limit_low: "" -> ""
  limit_low_warn: "" -> ""


SQL[INSERT INTO `eventlog` (`device_id`,`entity_id`,`entity_type`,`timestamp`,`severity`,`message`)  VALUES ('687','6465','sensor',NOW(),'6','Sensor updated (limits): limit_high -> \"3.45\"')]
SQL RUNTIME[0.00334382s]

SQL[UPDATE `sensors` set `sensor_limit` ='3.45' WHERE `sensor_id` = '6465']
SQL RUNTIME[0.00253510s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6465' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00084400s]
.Discover sensor: [class: temperature, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.5.2, index: 2, type: eltek-distributed-mib_rectifierStatusTemp, descr: Rectifier 3 (MINIPACK 48/800 WI), scale: 1, limits: (, , , ), CURRENT: 34, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '2')]
SQL RUNTIME[0.00078392s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '2']
SQL RUNTIME[0.00109100s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6468' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00064492s]
.Discover status: [device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.2.2, index: rectifierStatusStatus.2, type: eltek-distributed-mib_rectifierStatusStatus, descr: Rectifier 3 (MINIPACK 48/800 WI), CURRENT: 1, , ]

SQL[SELECT EXISTS (SELECT 1 FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.2' AND `poller_type`= 'snmp')]
SQL RUNTIME[0.00071597s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.2' AND `poller_type`= 'snmp']
SQL RUNTIME[0.00085592s]
.Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.4.3, index: 3, type: eltek-distributed-mib_rectifierStatusOutputVoltage, descr: Rectifier 4 (MINIPACK 48/800 WI), scale: 0.01, limits: (, , , ), CURRENT: 53.69, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '3')]
SQL RUNTIME[0.00103807s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputVoltage' AND `sensor_index` = '3']
SQL RUNTIME[0.00253296s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6471' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00084710s]
.Discover sensor: [class: current, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.3.3, index: 3, type: eltek-distributed-mib_rectifierStatusOutputCurrent, descr: Rectifier 4 (MINIPACK 48/800 WI), scale: 0.1, limits: (, , , ), CURRENT: 2.1, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '3')]
SQL RUNTIME[0.00080204s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusOutputCurrent' AND `sensor_index` = '3']
SQL RUNTIME[0.00087881s]
LCurrent sensor value: "2.1", scale: "0.1"
  limit_high: "3.3" -> "3.15"
  limit_high_warn: "" -> ""
  limit_low: "" -> ""
  limit_low_warn: "" -> ""


SQL[INSERT INTO `eventlog` (`device_id`,`entity_id`,`entity_type`,`timestamp`,`severity`,`message`)  VALUES ('687','6474','sensor',NOW(),'6','Sensor updated (limits): limit_high -> \"3.15\"')]
SQL RUNTIME[0.00937486s]

SQL[UPDATE `sensors` set `sensor_limit` ='3.15' WHERE `sensor_id` = '6474']
SQL RUNTIME[0.00468993s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6474' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00580788s]
.Discover sensor: [class: temperature, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.5.3, index: 3, type: eltek-distributed-mib_rectifierStatusTemp, descr: Rectifier 4 (MINIPACK 48/800 WI), scale: 1, limits: (, , , ), CURRENT: 34, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '3')]
SQL RUNTIME[0.00673890s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'eltek-distributed-mib_rectifierStatusTemp' AND `sensor_index` = '3']
SQL RUNTIME[0.00684595s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6477' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00564480s]
.Discover status: [device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.5.5.2.1.2.3, index: rectifierStatusStatus.3, type: eltek-distributed-mib_rectifierStatusStatus, descr: Rectifier 4 (MINIPACK 48/800 WI), CURRENT: 1, , ]

SQL[SELECT EXISTS (SELECT 1 FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.3' AND `poller_type`= 'snmp')]
SQL RUNTIME[0.01059699s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `status_type` = 'eltek-distributed-mib_rectifierStatusStatus' AND `status_index` = 'rectifierStatusStatus.3' AND `poller_type`= 'snmp']
SQL RUNTIME[0.01077890s]
.
 o ELTEK-DISTRIBUTED-MIB batteryVoltage [
CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryVoltage]

CMD EXITCODE[0]
CMD RUNTIME[0.1389s]
STDOUT[
batteryVoltage.0 = 5374
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryVoltage

CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryLowMajorAlarmVoltageConfig]

CMD EXITCODE[0]
CMD RUNTIME[0.2158s]
STDOUT[
batteryLowMajorAlarmVoltageConfig.0 = 4630
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryLowMajorAlarmVoltageConfig

CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryHighMajorAlarmVoltageConfig]

CMD EXITCODE[0]
CMD RUNTIME[0.2809s]
STDOUT[
batteryHighMajorAlarmVoltageConfig.0 = 5700
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryHighMajorAlarmVoltageConfig
Discover sensor: [class: voltage, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.3.2.0, index: 0, type: ELTEK-DISTRIBUTED-MIB-batteryVoltage, descr: Battery Voltage, scale: 0.01, limits: (46.3, , , 57), CURRENT: 53.74, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryVoltage' AND `sensor_index` = '0')]
SQL RUNTIME[0.00153708s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryVoltage' AND `sensor_index` = '0']
SQL RUNTIME[0.00117397s]
LCurrent sensor value: "53.74", scale: "0.01"
  limit_high: "61.801" -> "57"
  limit_high_warn: "" -> ""
  limit_low: "45.951" -> "46.3"
  limit_low_warn: "" -> ""


SQL[INSERT INTO `eventlog` (`device_id`,`entity_id`,`entity_type`,`timestamp`,`severity`,`message`)  VALUES ('687','6480','sensor',NOW(),'6','Sensor updated (limits): limit_high -> \"57\"')]
SQL RUNTIME[0.00233603s]

SQL[UPDATE `sensors` set `sensor_limit` ='57' WHERE `sensor_id` = '6480']
SQL RUNTIME[0.00243807s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6480' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00071287s]
.] batteryCurrent [
CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryCurrent]

CMD EXITCODE[0]
CMD RUNTIME[0.2785s]
STDOUT[
batteryCurrent.0 = 5
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryCurrent

CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryChargeCurrentLimitValue]

CMD EXITCODE[0]
CMD RUNTIME[0.1458s]
STDOUT[
batteryChargeCurrentLimitValue.0 = 350
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryChargeCurrentLimitValue
Discover sensor: [class: current, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.3.3.0, index: 0, type: ELTEK-DISTRIBUTED-MIB-batteryCurrent, descr: Battery Current, scale: 1, limits: (, , , 350), CURRENT: 5, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryCurrent' AND `sensor_index` = '0')]
SQL RUNTIME[0.00566816s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryCurrent' AND `sensor_index` = '0']
SQL RUNTIME[0.00282884s]
LCurrent sensor value: "5", scale: "1"
  limit_high: "7.5" -> "350"
  limit_high_warn: "" -> ""
  limit_low: "" -> ""
  limit_low_warn: "" -> ""


SQL[INSERT INTO `eventlog` (`device_id`,`entity_id`,`entity_type`,`timestamp`,`severity`,`message`)  VALUES ('687','6483','sensor',NOW(),'6','Sensor updated (limits): limit_high -> \"350\"')]
SQL RUNTIME[0.01324987s]

SQL[UPDATE `sensors` set `sensor_limit` ='350' WHERE `sensor_id` = '6483']
SQL RUNTIME[0.00647283s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6483' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00212693s]
.] batteryTemp [
CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryTemp]

CMD EXITCODE[0]
CMD RUNTIME[0.1645s]
STDOUT[
batteryTemp.0 = 35
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryTemp
Discover sensor: [class: temperature, device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.3.4.0, index: 0, type: ELTEK-DISTRIBUTED-MIB-batteryTemp, descr: Battery Temperature, scale: 1, limits: (, , , ), CURRENT: 35, ,

SQL[SELECT EXISTS (SELECT 1 FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryTemp' AND `sensor_index` = '0')]
SQL RUNTIME[0.00638604s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '687' AND `sensor_type` = 'ELTEK-DISTRIBUTED-MIB-batteryTemp' AND `sensor_index` = '0']
SQL RUNTIME[0.00179815s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6486' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00081205s]
.]
 o ELTEK-DISTRIBUTED-MIB batteryBreakerStatus [
CMD[/usr/bin/snmpwalk -v2c -c *** -Pud -Ih -OQUsb -m ELTEK-DISTRIBUTED-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/eltek 'udp':'10.14.3.129':'161' batteryBreakerStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.2653s]
STDOUT[
batteryBreakerStatus.0 = normal
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryBreakerStatus
Discover status: [device: 10.14.3.129, oid: .1.3.6.1.4.1.12148.9.3.5.0, index: 0, type: batteryBreakerStatus, descr: Battery Breaker Status, CURRENT: 0, , battery]

SQL[SELECT EXISTS (SELECT 1 FROM `status` WHERE `device_id` = '687' AND `status_mib` = 'ELTEK-DISTRIBUTED-MIB' AND `status_object` = 'batteryBreakerStatus' AND `status_type` = 'batteryBreakerStatus' AND `status_index` = '0' AND `poller_type`= 'snmp')]
SQL RUNTIME[0.00091004s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `status_mib` = 'ELTEK-DISTRIBUTED-MIB' AND `status_object` = 'batteryBreakerStatus' AND `status_type` = 'batteryBreakerStatus' AND `status_index` = '0' AND `poller_type`= 'snmp']
SQL RUNTIME[0.00087500s]
.]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'temperature' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00197005s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'humidity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00985599s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'fanspeed' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00879598s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'dewpoint' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00085497s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'airflow' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00288701s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'voltage' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00119686s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'current' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00178003s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'power' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00112391s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'apower' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00092387s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'rpower' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00976205s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'crestfactor' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00089598s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'powerfactor' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00109220s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'impedance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00111198s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'resistance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00111008s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'frequency' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00358796s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'dbm' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00318003s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'snr' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00090194s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'dust' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00077891s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'sound' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00083399s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'capacity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00081491s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'load' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00347209s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'runtime' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00091696s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'volume' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00087714s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'waterflow' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00288391s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'pressure' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00094700s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'velocity' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00088501s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'illuminance' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00089717s]

SQL[SELECT * FROM `sensors` WHERE `device_id` = '687' AND `sensor_class` = 'wavelength' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
SQL RUNTIME[0.00112295s]

SQL[SELECT * FROM `status` WHERE `device_id` = '687' AND `poller_type` = 'snmp' AND `status_deleted` = '0']
SQL RUNTIME[0.00080299s]

SQL[SELECT * FROM `counters` WHERE `device_id` = '687' AND `poller_type` = 'snmp' AND `counter_deleted` = '0']
SQL RUNTIME[0.00078297s]


 o Duration             21.0358s


SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='power',`last_discovered_timetaken` ='21.0556',`force_discovery` ='0' WHERE `device_id` = '687']
SQL RUNTIME[0.00634003s]
#####  10.14.3.129 [687] completed discovery modules at 2019-05-23 12:46:01  #####

 o Discovery time       21.0556 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '8150' AND `process_name` = 'discovery.php' AND `device_id` = '687']
SQL RUNTIME[0.00745201s]
#####  Finished discovery run at 2019-05-23 12:46:01  #####

./discovery.php: 10.14.3.129 - 1 devices discovered in 21.26 secs
Log file '/opt/observium/logs/observium.log' is not writable, check file permissions.

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1558593940']
SQL RUNTIME[0.00120711s]
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       21.26 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[27/0.076s] Row[46/0.088s] Rows[37/0.084s] Column[1/0.001s] Update[6/0.028s] Insert[6/0.074s] Delete[1/0.008s]