DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0367s]
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: 9910
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 9910
Last Changed Date: 2019-05-22 21:59:43 +0200 (Wed, 22 May 2019)

]

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

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

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

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

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


CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.068s]
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.0049s]
STDOUT[
Python 2.7.5
]

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

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0118s]
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.0217s]
STDOUT[
RRDCacheD 1.6.0
]

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

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

]

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

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

CMD[date "+%:z"]

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

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

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

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

#####  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 11:12:29 CEST
 o PHP                  +02:00
 o MySQL                +02:00


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

REQUEST[http://www.observium.org/versions.php]
REQUEST STATUS[TRUE]
REQUEST RUNTIME[0.0852s]
RESPONSE CODE[200 OK]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver')]
SQL RUNTIME[0.00091696s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='19.5.9912' WHERE `attrib_type` = 'latest_ver']
SQL RUNTIME[0.00412893s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev')]
SQL RUNTIME[0.00155020s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='9912' WHERE `attrib_type` = 'latest_rev']
SQL RUNTIME[0.00301385s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date')]
SQL RUNTIME[0.00123501s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='2019-05-23' WHERE `attrib_type` = 'latest_rev_date']
SQL RUNTIME[0.00094819s]

SQL[SELECT EXISTS (SELECT 1 FROM `observium_attribs` WHERE `attrib_type` = 'last_versioncheck')]
SQL RUNTIME[0.00134587s]

SQL[UPDATE `observium_attribs` set `attrib_value` ='1558602749' WHERE `attrib_type` = 'last_versioncheck']
SQL RUNTIME[0.01190495s]

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

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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
SQL RUNTIME[0.00086594s]
There is a newer revision of Observium available!
Version 19.5.9912 (23rd May 2019) is 2 revisions ahead.

#####  Starting discovery run at 2019-05-23 11:12:29  #####


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.00176477s]

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.0164s]
STDOUT[
sysObjectID.0 = enterprises.12148.9
sysUpTime.0 = 0:12:56:09.54
]
SNMP STATUS[TRUE]

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

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

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

 o OS Type              eltek
 o SNMP Version         v2c
 o Last discovery       2019-05-23 10:07:08
 o Last duration        24.92 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.00076103s]

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '687' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00077701s]
 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.0849s]
STDOUT[
235
]
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: 235, ,

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.00106907s]

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.00166106s]
LCurrent sensor value: "235", scale: "1"
  limit_high: "264.5" -> "270.25"
  limit_high_warn: "" -> ""
  limit_low: "195.5" -> "199.75"
  limit_low_warn: "" -> ""


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

SQL[UPDATE `sensors` set `sensor_limit` ='270.25',`sensor_limit_low` ='199.75' WHERE `sensor_id` = '6435']
SQL RUNTIME[0.00254393s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6435' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00073504s]
.
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.087s]
STDOUT[
243
]
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: 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` = '2')]
SQL RUNTIME[0.00165200s]

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.00583100s]
LCurrent sensor value: "243", scale: "1"
  limit_high: "272.55" -> "279.45"
  limit_high_warn: "" -> ""
  limit_low: "201.45" -> "206.55"
  limit_low_warn: "" -> ""


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

SQL[UPDATE `sensors` set `sensor_limit` ='279.45',`sensor_limit_low` ='206.55' WHERE `sensor_id` = '6438']
SQL RUNTIME[0.02014494s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6438' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00094891s]
.
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.0831s]
STDOUT[
246
]
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: 246, ,

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.00103092s]

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.00110292s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6441' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00073719s]
.
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[16.4854s]
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 = 20
rectifierStatusOutputCurrent.1 = 21
rectifierStatusOutputCurrent.2 = 22
rectifierStatusOutputCurrent.3 = 22
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 = 33
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.00111198s]

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.00107479s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6444' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00093818s]
.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: 1, limits: (, , , ), CURRENT: 20, ,

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.00178599s]

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.00107622s]
LCurrent sensor value: "20", scale: "1"
  limit_high: "33" -> "30"
  limit_high_warn: "" -> ""
  limit_low: "" -> ""
  limit_low_warn: "" -> ""


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

SQL[UPDATE `sensors` set `sensor_limit` ='30' WHERE `sensor_id` = '6447']
SQL RUNTIME[0.00393510s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6447' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00092697s]
.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.00095201s]

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.00120401s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6450' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00086212s]
.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.00093389s]

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.00091696s]
.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.00090289s]

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.00117302s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6453' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00082898s]
.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: 1, limits: (, , , ), CURRENT: 21, ,

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.00094199s]

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.00105190s]
LCurrent sensor value: "21", scale: "1"
  limit_high: "28.5" -> "31.5"
  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 -> \"31.5\"')]
SQL RUNTIME[0.00330901s]

SQL[UPDATE `sensors` set `sensor_limit` ='31.5' WHERE `sensor_id` = '6456']
SQL RUNTIME[0.00270605s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6456' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00088596s]
.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: 33, ,

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.00101614s]

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.00101590s]
LCurrent sensor value: "33", scale: "1"
  limit_high: "54.4" -> "52.8"
  limit_high_warn: "" -> ""
  limit_low: "0" -> "0"
  limit_low_warn: "" -> ""


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

SQL[UPDATE `sensors` set `sensor_limit` ='52.8' WHERE `sensor_id` = '6459']
SQL RUNTIME[0.00303507s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6459' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00101995s]
.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.00081205s]

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.00102210s]
.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.00101614s]

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.00188112s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6462' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00094795s]
.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: 1, limits: (, , , ), CURRENT: 22, ,

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.00076294s]

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.00270796s]
LCurrent sensor value: "22", scale: "1"
  limit_high: "34.5" -> "33"
  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 -> \"33\"')]
SQL RUNTIME[0.00344300s]

SQL[UPDATE `sensors` set `sensor_limit` ='33' WHERE `sensor_id` = '6465']
SQL RUNTIME[0.00515819s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6465' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00108504s]
.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.00100899s]

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.00098085s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6468' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00076008s]
.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.00081205s]

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.00101113s]
.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.00183201s]

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.00122309s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6471' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00080991s]
.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: 1, limits: (, , , ), CURRENT: 22, ,

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.00097704s]

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.00117111s]
LCurrent sensor value: "22", scale: "1"
  limit_high: "31.5" -> "33"
  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 -> \"33\"')]
SQL RUNTIME[0.00613999s]

SQL[UPDATE `sensors` set `sensor_limit` ='33' WHERE `sensor_id` = '6474']
SQL RUNTIME[0.00320292s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6474' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00138283s]
.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.00526023s]

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.00149393s]
LCurrent sensor value: "34", scale: "1"
  limit_high: "56" -> "54.4"
  limit_high_warn: "" -> ""
  limit_low: "0" -> "0"
  limit_low_warn: "" -> ""


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

SQL[UPDATE `sensors` set `sensor_limit` ='54.4' WHERE `sensor_id` = '6477']
SQL RUNTIME[0.01029110s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6477' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00211906s]
.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.00112295s]

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.00108194s]
.
 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.1565s]
STDOUT[
batteryVoltage.0 = 5374
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryVoltage
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: (, , , ), 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.00127697s]

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.00120616s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6480' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00078988s]
.] 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.1431s]
STDOUT[
batteryCurrent.0 = 5
]
SNMP STATUS[TRUE]
Store in cache Table OID: ELTEK-DISTRIBUTED-MIB::batteryCurrent
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: (, , , ), 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.00133705s]

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.00115204s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6483' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00070190s]
.] 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.1437s]
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.00125599s]

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.00112104s]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '6486' AND `attrib_type` = 'sensor_addition']
SQL RUNTIME[0.00077987s]
.]
 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.2441s]
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.00119901s]

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.00095582s]
.]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


 o Duration             17.6683s


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

 o Discovery time       17.6731 seconds


SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '12347' AND `process_name` = 'discovery.php' AND `device_id` = '687']
SQL RUNTIME[0.00325203s]
#####  Finished discovery run at 2019-05-23 11:12:47  #####

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

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1558588349']
SQL RUNTIME[0.00085092s]
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       18.08 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[31/0.044s] Row[48/0.071s] Rows[37/0.044s] Column[1/0.001s] Update[13/0.128s] Insert[9/0.036s] Delete[1/0.003s]
 o RRDTool Usage