DEBUG!

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

CMD EXITCODE[0]
CMD RUNTIME[0.0128s]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/branches/stable
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 11451
Node Kind: directory
Schedule: normal
Last Changed Author: adama
Last Changed Rev: 11450
Last Changed Date: 2021-07-01 04:06:28 -0700 (Thu, 01 Jul 2021)

]

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

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

SQL[SET SESSION `sql_mode` = 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION']
SQL RUNTIME[0.00019002s]
DB mode(s) disabled: STRICT_TRANS_TABLES, ERROR_FOR_DIVISION_BY_ZERO

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0024s]
STDOUT[
-07:00
]

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

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

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

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


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

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

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

CMD[/opt/observium/scripts/distro]

CMD EXITCODE[0]
CMD RUNTIME[0.014s]
STDOUT[
Linux|3.10.0-1160.15.2.el7.x86_64|amd64|CentOS|7|kvm|
]

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

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

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

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

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

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

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

CMD[/usr/sbin/fping -v 2>&1]

CMD EXITCODE[0]
CMD RUNTIME[0.0026s]
STDOUT[
/usr/sbin/fping: Version 3.10
/usr/sbin/fping: comments to david@schweikert.ch
]

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

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

]

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

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

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

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

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

 o OS                   Linux 3.10.0-1160.15.2.el7.x86_64 [amd64] (CentOS 7)
 o Apache               2.4.6
 o PHP                  7.2.34 (OPcache: ENABLED)
 o Python               2.7.5
 o MariaDB              10.4.13-MariaDB-log (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.2
 o RRDtool              1.7.1
 o Fping                3.10 (IPv4 and IPv6)

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

 o PHP                  128MB

#####  MariaDB mode  #####

 o MariaDB              NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

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

 o PHP                  UTF-8
 o MariaDB              utf8

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

 o Date                 Friday, 02-Jul-21 17:53:28 UTC
 o PHP                  +00:00
 o MariaDB              +00:00


SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1625248408' AND `maint_end` > '1625248408']
SQL RUNTIME[0.00041986s]
#####  Starting polling run at 2021-07-02 17:53:28  #####


SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'sb-hny-dsw-01.example.com' AND `poller_id` = '0' ORDER BY `device_id` ASC]
SQL RUNTIME[0.00054717s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '47']
SQL RUNTIME[0.00068498s]

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

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '47' AND `poller_id` = '0']
SQL RUNTIME[0.00030112s]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('18045','poller.php','10884','0','php ./poller.php -d -m sensors -h sb-hny-dsw-01.example.com','1625248408','47')]
SQL RUNTIME[0.00556493s]

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

SQL[SELECT * FROM  `alert_table` WHERE `device_id` = '47']
SQL RUNTIME[0.00038314s]
#####  sb-hny-dsw-01.example.com [47]  #####

 o OS                   netonix-switch
 o Last poll duration   8.39 seconds
 o Last Polled          2021-07-02 17:51:14
 o SNMP Version         v2c

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0474s]
STDOUT[
sysObjectID.0 = enterprises.46242
sysUpTime.0 = 38:4:59:41.74
]
SNMP STATUS[TRUE]
 o Device status        Device is reachable by SNMP (47.41ms)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/status.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/status.rrd N:1]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.05]
RRD_STATUS[TRUE]

RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/ping_snmp.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/ping_snmp.rrd N:47.41]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.05]
RRD_STATUS[TRUE]


SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '47']
SQL RUNTIME[0.00055909s]


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

JSON DECODE[Not string passed]
JSON DECODE[Not string passed]

SQL[SELECT `mib` FROM `devices_mibs` WHERE `device_id` = '47' AND `use` = 'mib' AND `disabled` = '1']
SQL RUNTIME[0.00034118s]
 o SNMPv2-MIB
CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -Ih -OQUsx --hexOutputLength=0 -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0466s]
STDOUT[
sysUpTime.0 = 38:4:59:41.79
sysLocation.0 = "48 6F 6E 65 79 "
sysContact.0 = "61 64 6D 69 6E 40 73 68 61 73 74 61 62 65 61 6D 2E 63 6F 6D "
sysName.0 = "73 62 2D 68 6E 79 2D 64 73 77 2D 30 31 "
]
SNMP Hex string converted..
   HEX: 48 6F 6E 65 79
STRING: Honey

SNMP Hex string converted..
   HEX: 61 64 6D 69 6E 40 73 68 61 73 74 61 62 65 61 6D 2E 63 6F 6D
STRING: admin@shastabeam.com

SNMP Hex string converted..
   HEX: 73 62 2D 68 6E 79 2D 64 73 77 2D 30 31
STRING: sb-hny-dsw-01

SNMP STATUS[TRUE]
Timeticks converted 38:4:59:41.79 -> 3301181

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0487s]
STDOUT[
"4E 65 74 6F 6E 69 78 20 57 53 2D 31 32 2D 32 35 30 2D 41 43 "
]
SNMP Hex string converted..
   HEX: 4E 65 74 6F 6E 69 78 20 57 53 2D 31 32 2D 32 35 30 2D 41 43
STRING: Netonix WS-12-250-AC

SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0464s]
STDOUT[
.1.3.6.1.4.1.46242
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUv -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' snmpEngineID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0484s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '47' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'SNMP-FRAMEWORK-MIB' AND `oid` = 'snmpEngineID.0';]
SQL RUNTIME[0.00055099s]

SQL[UPDATE `snmp_errors` set `error_count` ='342811',`updated` ='1625248409' WHERE `error_id` = '902']
SQL RUNTIME[0.00579596s]


CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUv -m HOST-RESOURCES-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' hrSystemUptime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0484s]
STDOUT[
38:5:02:27.02
]
SNMP STATUS[TRUE]
Timeticks converted 38:5:02:27.02 -> 3301347

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUv -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' snmpEngineTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0459s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '47' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'SNMP-FRAMEWORK-MIB' AND `oid` = 'snmpEngineTime.0';]
SQL RUNTIME[0.00055695s]

SQL[UPDATE `snmp_errors` set `error_count` ='342810',`updated` ='1625248409' WHERE `error_id` = '903']
SQL RUNTIME[0.00592089s]
Using SNMP Agent hrSystemUptime (3301347 sec. => 38 days, 5h 2m 27s)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/uptime.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/uptime.rrd N:3301347]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.36]
RRD_STATUS[TRUE]

 o Uptime               38 days, 5h 2m 27s
 o Last reboot          05-25-2021 12:50:05


  /opt/observium/includes/polling/system.inc.php:227
array(
  [use]            => string(14) "hrSystemUptime"
  [sysUpTime]      => int(3301181)
  [hrSystemUptime] => int(3301347)
  [uptime]         => int(3301347)
  [formatted]      => string(18) "38 days, 5h 2m 27s"
  [message]        => string(31) "Using SNMP Agent hrSystemUptime"
  [previous]       => string(7) "3301204"
  [diff]           => int(-143)
  [last_rebooted]  => string(10) "1621947005"
  [rebooted]       => int(0)
)

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUsn -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' .1.3.6.1.4.1.2021.10.1.5.1 .1.3.6.1.4.1.2021.10.1.5.2 .1.3.6.1.4.1.2021.10.1.5.3]

CMD EXITCODE[0]
CMD RUNTIME[0.0479s]
STDOUT[
.1.3.6.1.4.1.2021.10.1.5.1 = 2
.1.3.6.1.4.1.2021.10.1.5.2 = 13
.1.3.6.1.4.1.2021.10.1.5.3 = 16
]
SNMP STATUS[TRUE]
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/la.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/la.rrd N:2:13:16]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.41]
RRD_STATUS[TRUE]

 o Load average         0.02, 0.13, 0.16
sysLocation rewritten from 'Honey' to '8700 Honey Lane, Millville, CA, USA' by $config['location']['map'].
 o sysObjectID          .1.3.6.1.4.1.46242
 o snmpEngineID
 o sysDescr             Netonix WS-12-250-AC
 o sysName              sb-hny-dsw-01
 o Location             8700 Honey Lane, Millville, CA, USA

SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '47']
SQL RUNTIME[0.00053406s]
 o Module time          0.3597s


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

Added OS param from sysDescr pattern: 'hardware' = 'WS-12-250-AC' (/Netonix (?<hardware>\S+)/)

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m NETONIX-SWITCH-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/netonix 'udp':'sb-hny-dsw-01.example.com':'161' firmwareVersion.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0463s]
STDOUT[
"31 2E 35 2E 32 72 63 34 "
]
SNMP Hex string converted..
   HEX: 31 2E 35 2E 32 72 63 34
STRING: 1.5.2rc4

SNMP STATUS[TRUE]
Added Device param from SNMP definition by [NETONIX-SWITCH-MIB::firmwareVersion.0]: 'version' = '1.5.2rc4'
 o OS Poller            Generic
 o Type                 Network
 o Vendor               Netonix
 o Hardware             WS-12-250-AC
 o Version              1.5.2rc4
 o Features             <empty>
 o Serial               <empty>
 o Asset                <empty>

 o Module time          0.0492s


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


SQL[SELECT DISTINCT `sensor_class` FROM `sensors` WHERE `device_id` = '47' AND `sensor_deleted` = '0' AND `sensor_class` IN ('temperature','humidity','fanspeed','dewpoint','airflow','voltage','current','power','apower','rpower','crestfactor','powerfactor','impedance','resistance','frequency','dbm','attenuation','snr','dust','concentration','sound','capacity','load','runtime','volume','waterflow','pressure','velocity','distance','illuminance','wavelength','gauge')]
SQL RUNTIME[0.00075817s]

SQL[SELECT * FROM `entity_attribs` WHERE `device_id` = '47' AND `entity_type` = 'sensor']
SQL RUNTIME[0.00031495s]

SQL[SELECT DISTINCT `sensor_oid` FROM `sensors` WHERE `device_id` = '47' AND `sensor_deleted` = '0' AND `poller_type` = 'snmp']
SQL RUNTIME[0.00033402s]

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUsn -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' .1.3.6.1.2.1.105.1.3.1.1.4.8 .1.3.6.1.2.1.105.1.3.1.1.4.9 .1.3.6.1.2.1.105.1.3.1.1.4.12 .1.3.6.1.4.1.46242.2.1.2.1 .1.3.6.1.4.1.46242.3.1.3.1 .1.3.6.1.4.1.46242.3.1.3.2 .1.3.6.1.4.1.46242.3.1.3.3 .1.3.6.1.4.1.46242.4.1.3.1 .1.3.6.1.4.1.46242.4.1.3.2 .1.3.6.1.4.1.46242.4.1.3.3 .1.3.6.1.4.1.46242.6.0.0]

CMD EXITCODE[0]
CMD RUNTIME[0.1966s]
STDOUT[
.1.3.6.1.2.1.105.1.3.1.1.4.8 = 9
.1.3.6.1.2.1.105.1.3.1.1.4.9 = 4
.1.3.6.1.2.1.105.1.3.1.1.4.12 = 0
.1.3.6.1.4.1.46242.2.1.2.1 = 8820
.1.3.6.1.4.1.46242.3.1.3.1 = 55
.1.3.6.1.4.1.46242.3.1.3.2 = 67
.1.3.6.1.4.1.46242.3.1.3.3 = 67
.1.3.6.1.4.1.46242.4.1.3.1 = 4860
.1.3.6.1.4.1.46242.4.1.3.2 = 2440
.1.3.6.1.4.1.46242.4.1.3.3 = 330
.1.3.6.1.4.1.46242.6.0.0 = No Such Instance currently exists at this OID
]
SNMP STATUS[TRUE]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'power' AND `device_id` = '47' AND `sensor_deleted` = '0' ORDER BY `sensor_oid`]
SQL RUNTIME[0.00090003s]
Checking (snmp) power Port 12 PoE Power

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "115"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(5) "power"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(29) ".1.3.6.1.2.1.105.1.3.1.1.4.12"
  [sensor_mib]                => string(0) ""
  [sensor_object]             => string(0) ""
  [sensor_index]              => string(30) "pethMainPseConsumptionPower.12"
  [sensor_type]               => string(18) "power-ethernet-mib"
  [sensor_descr]              => string(17) "Port 12 PoE Power"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => null
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => null
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => string(2) "12"
  [measured_class]            => string(4) "port"
  [measured_entity]           => string(3) "719"
  [measured_entity_label]     => null
  [entPhysicalIndex]          => string(2) "12"
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(18) "0.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248266"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(0)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.12.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.12.rrd N:0]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.67]
RRD_STATUS[TRUE]

Checking (snmp) power Port 8 PoE Power

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "196"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(5) "power"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(28) ".1.3.6.1.2.1.105.1.3.1.1.4.8"
  [sensor_mib]                => string(0) ""
  [sensor_object]             => string(0) ""
  [sensor_index]              => string(29) "pethMainPseConsumptionPower.8"
  [sensor_type]               => string(18) "power-ethernet-mib"
  [sensor_descr]              => string(16) "Port 8 PoE Power"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(1) "9"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => null
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => string(1) "8"
  [measured_class]            => string(4) "port"
  [measured_entity]           => string(3) "715"
  [measured_entity_label]     => null
  [entPhysicalIndex]          => string(1) "8"
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "10.0000000000000000"
  [sensor_event]              => string(5) "alert"
  [sensor_status]             => string(36) "Sensor critical thresholds exceeded."
  [sensor_polled]             => string(10) "1625248266"
  [sensor_last_change]        => string(10) "1625247379"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(9)
)

SQL[SELECT * FROM `ports`  WHERE `ports`.`port_id` = '715']
SQL RUNTIME[0.00054502s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'port' AND `entity_id` = '715']
SQL RUNTIME[0.00034499s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '47']
SQL RUNTIME[0.00046301s]

SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '47']
SQL RUNTIME[0.00033998s]
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.8.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.8.rrd N:9]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.67]
RRD_STATUS[TRUE]

Checking (snmp) power Port 9 PoE Power

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "114"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(5) "power"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(28) ".1.3.6.1.2.1.105.1.3.1.1.4.9"
  [sensor_mib]                => string(0) ""
  [sensor_object]             => string(0) ""
  [sensor_index]              => string(29) "pethMainPseConsumptionPower.9"
  [sensor_type]               => string(18) "power-ethernet-mib"
  [sensor_descr]              => string(16) "Port 9 PoE Power"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(3) "4.5"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => null
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => string(1) "9"
  [measured_class]            => string(4) "port"
  [measured_entity]           => string(3) "716"
  [measured_entity_label]     => null
  [entPhysicalIndex]          => string(1) "9"
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(18) "8.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248266"
  [sensor_last_change]        => string(10) "1625247975"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(4)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.9.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-power-ethernet-mib-pethMainPseConsumptionPower.9.rrd N:4]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.67]
RRD_STATUS[TRUE]

Checking (snmp) power Total Power Consumption

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "116"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(5) "power"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(24) ".1.3.6.1.4.1.46242.6.0.0"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(21) "totalPowerConsumption"
  [sensor_index]              => string(1) "0"
  [sensor_type]               => string(40) "NETONIX-SWITCH-MIB-totalPowerConsumption"
  [sensor_descr]              => string(23) "Total Power Consumption"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(3) "0.1"
  [sensor_limit]              => string(4) "30.3"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => null
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(18) "0.0000000000000000"
  [sensor_event]              => string(5) "alert"
  [sensor_status]             => string(36) "Sensor critical thresholds exceeded."
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1614423668"
)

CMD[/usr/bin/snmpget -t '5' -v2c -c *** -Pud -OQUv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'sb-hny-dsw-01.example.com':'161' .1.3.6.1.4.1.46242.6.0.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0465s]
STDOUT[
No Such Instance currently exists at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR[#1000 - Failed response]

SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '47' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `mib` = 'SNMPv2-MIB' AND `oid` = '.1.3.6.1.4.1.46242.6.0.0';]
SQL RUNTIME[0.00053310s]

SQL[UPDATE `snmp_errors` set `error_count` ='260565',`updated` ='1625248409' WHERE `error_id` = '3785']
SQL RUNTIME[0.00660086s]


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => string(0) ""
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-NETONIX-SWITCH-MIB-totalPowerConsumption-0.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-power-NETONIX-SWITCH-MIB-totalPowerConsumption-0.rrd N:]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.73]
RRD_STATUS[TRUE]


SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'fanspeed' AND `device_id` = '47' AND `sensor_deleted` = '0' ORDER BY `sensor_oid`]
SQL RUNTIME[0.00061202s]
Checking (snmp) fanspeed Fan

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "117"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(8) "fanspeed"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.2.1.2.1"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(8) "fanSpeed"
  [sensor_index]              => string(1) "1"
  [sensor_type]               => string(27) "NETONIX-SWITCH-MIB-fanSpeed"
  [sensor_descr]              => string(3) "Fan"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(5) "10000"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(1) "0"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "1"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(21) "8850.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1625246764"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(8820)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-fanspeed-NETONIX-SWITCH-MIB-fanSpeed-1.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-fanspeed-NETONIX-SWITCH-MIB-fanSpeed-1.rrd N:8820]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.73]
RRD_STATUS[TRUE]


SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '47' AND `sensor_deleted` = '0' ORDER BY `sensor_oid`]
SQL RUNTIME[0.00058603s]
Checking (snmp) temperature Board Temp

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "118"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(11) "temperature"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.3.1.3.1"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(4) "temp"
  [sensor_index]              => string(1) "1"
  [sensor_type]               => string(23) "NETONIX-SWITCH-MIB-temp"
  [sensor_descr]              => string(10) "Board Temp"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(4) "86.4"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(1) "0"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "55.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1625081768"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(55)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-1.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-1.rrd N:55]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]

Checking (snmp) temperature CPU Temp

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "119"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(11) "temperature"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.3.1.3.2"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(4) "temp"
  [sensor_index]              => string(1) "2"
  [sensor_type]               => string(23) "NETONIX-SWITCH-MIB-temp"
  [sensor_descr]              => string(8) "CPU Temp"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(5) "105.6"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(1) "0"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "67.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(67)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-2.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-2.rrd N:67]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]

Checking (snmp) temperature PHY Temp

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "120"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(11) "temperature"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.3.1.3.3"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(4) "temp"
  [sensor_index]              => string(1) "3"
  [sensor_type]               => string(23) "NETONIX-SWITCH-MIB-temp"
  [sensor_descr]              => string(8) "PHY Temp"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(1) "1"
  [sensor_limit]              => string(3) "104"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(1) "0"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "66.0000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(67)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-3.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-temperature-NETONIX-SWITCH-MIB-temp-3.rrd N:67]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]


SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '47' AND `sensor_deleted` = '0' ORDER BY `sensor_oid`]
SQL RUNTIME[0.00066495s]
Checking (snmp) voltage Board 48V

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "121"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(7) "voltage"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.4.1.3.1"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(7) "voltage"
  [sensor_index]              => string(1) "1"
  [sensor_type]               => string(26) "NETONIX-SWITCH-MIB-voltage"
  [sensor_descr]              => string(9) "Board 48V"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(4) "0.01"
  [sensor_limit]              => string(6) "55.775"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(6) "41.225"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "48.6000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(4860)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-1.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-1.rrd N:48.6]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]

Checking (snmp) voltage Board 24V

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "122"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(7) "voltage"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.4.1.3.2"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(7) "voltage"
  [sensor_index]              => string(1) "2"
  [sensor_type]               => string(26) "NETONIX-SWITCH-MIB-voltage"
  [sensor_descr]              => string(9) "Board 24V"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(4) "0.01"
  [sensor_limit]              => string(5) "28.06"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(5) "20.74"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(19) "24.3000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(2440)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-2.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-2.rrd N:24.4]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]

Checking (snmp) voltage Board 3V

  /opt/observium/includes/entities/sensor.inc.php:703
array(
  [sensor_id]                 => string(3) "123"
  [sensor_deleted]            => string(1) "0"
  [sensor_class]              => string(7) "voltage"
  [device_id]                 => string(2) "47"
  [poller_type]               => string(4) "snmp"
  [sensor_oid]                => string(26) ".1.3.6.1.4.1.46242.4.1.3.3"
  [sensor_mib]                => string(18) "NETONIX-SWITCH-MIB"
  [sensor_object]             => string(7) "voltage"
  [sensor_index]              => string(1) "3"
  [sensor_type]               => string(26) "NETONIX-SWITCH-MIB-voltage"
  [sensor_descr]              => string(8) "Board 3V"
  [sensor_unit]               => null
  [sensor_multiplier]         => string(4) "0.01"
  [sensor_limit]              => string(5) "3.795"
  [sensor_limit_warn]         => null
  [sensor_limit_low]          => string(5) "2.805"
  [sensor_limit_low_warn]     => null
  [sensor_custom_limit]       => string(1) "0"
  [entPhysicalIndex_measured] => null
  [measured_class]            => null
  [measured_entity]           => null
  [measured_entity_label]     => null
  [entPhysicalIndex]          => null
  [entPhysicalClass]          => null
  [sensor_ignore]             => string(1) "0"
  [sensor_disable]            => string(1) "0"
  [sensor_value]              => string(18) "3.3000000000000000"
  [sensor_event]              => string(2) "ok"
  [sensor_status]             => string(0) ""
  [sensor_polled]             => string(10) "1625248267"
  [sensor_last_change]        => string(10) "1522092029"
)
value taken from oid_cache


  /opt/observium/includes/entities/sensor.inc.php:778
array(
  [sensor_value] => int(330)
)
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-3.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/sensor-voltage-NETONIX-SWITCH-MIB-voltage-3.rrd N:3.3]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.74]
RRD_STATUS[TRUE]

MultiUpdate sensors DB.

SQL[INSERT INTO `sensors` (`sensor_id`,`sensor_value`,`sensor_event`,`sensor_status`,`sensor_last_change`,`sensor_polled`)  VALUES ('115','0','ok','','1522092029','1625248409'),('196','9','alert','Sensor critical thresholds exceeded.','1625247379','1625248409'),('114','4','ok','','1625247975','1625248409'),('116','','alert','Sensor critical thresholds exceeded.','1614423668','1625248409'),('117','8820','ok','','1625246764','1625248409'),('118','55','ok','','1625081768','1625248409'),('119','67','ok','','1522092029','1625248409'),('120','67','ok','','1522092029','1625248409'),('121','48.6','ok','','1522092029','1625248409'),('122','24.4','ok','','1522092029','1625248409'),('123','3.3','ok','','1522092029','1625248409') ON DUPLICATE KEY UPDATE `sensor_id`=VALUES(`sensor_id`),`sensor_value`=VALUES(`sensor_value`),`sensor_event`=VALUES(`sensor_event`),`sensor_status`=VALUES(`sensor_status`),`sensor_last_change`=VALUES(`sensor_last_change`),`sensor_polled`=VALUES(`sensor_polled`)]
SQL RUNTIME[0.00563598s]
SQL WARNINGS[
 1364: Field 'sensor_class' doesn't have a default value
 1364: Field 'sensor_oid' doesn't have a default value
 1366: Incorrect double value: '' for column `observium`.`sensors`.`sensor_value` at row 4
]
+-------------------------+-------------+------------------------------------------+--------+----------+-------+---------------------+
| Descr                   | Class       | Type                                     | Origin | Value    | Event | Last Changed        |
+-------------------------+-------------+------------------------------------------+--------+----------+-------+---------------------+
| Port 12 PoE Power       | power       | power-ethernet-mib                       | snmp   | 0W       | ok    | 03-26-2018 19:20:29 |
| Port 8 PoE Power        | power       | power-ethernet-mib                       | snmp   | 9W       | alert | 07-02-2021 17:36:19 |
| Port 9 PoE Power        | power       | power-ethernet-mib                       | snmp   | 4W       | ok    | 07-02-2021 17:46:15 |
| Total Power Consumption | power       | NETONIX-SWITCH-MIB-totalPowerConsumption | snmp   | W        | alert | 02-27-2021 11:01:08 |
| Fan                     | fanspeed    | NETONIX-SWITCH-MIB-fanSpeed              | snmp   | 8820RPM  | ok    | 07-02-2021 17:26:04 |
| Board Temp              | temperature | NETONIX-SWITCH-MIB-temp                  | snmp   | 55&deg;C | ok    | 06-30-2021 19:36:08 |
| CPU Temp                | temperature | NETONIX-SWITCH-MIB-temp                  | snmp   | 67&deg;C | ok    | 03-26-2018 19:20:29 |
| PHY Temp                | temperature | NETONIX-SWITCH-MIB-temp                  | snmp   | 67&deg;C | ok    | 03-26-2018 19:20:29 |
| Board 48V               | voltage     | NETONIX-SWITCH-MIB-voltage               | snmp   | 48.6V    | ok    | 03-26-2018 19:20:29 |
| Board 24V               | voltage     | NETONIX-SWITCH-MIB-voltage               | snmp   | 24.4V    | ok    | 03-26-2018 19:20:29 |
| Board 3V                | voltage     | NETONIX-SWITCH-MIB-voltage               | snmp   | 3.3V     | ok    | 03-26-2018 19:20:29 |
+-------------------------+-------------+------------------------------------------+--------+----------+-------+---------------------+

 o Module time          0.3022s

#####  sb-hny-dsw-01.example.com [47] completed poller modules at 2021-07-02 17:53:29  #####

 o Graphs [checked]     availability, ping_snmp, uptime, la, power, fanspeed, temperature, voltage
 o Poller time          0.7722 seconds
Updating sb-hny-dsw-01.example.com -

  /opt/observium/includes/polling/functions.inc.php:464
array(
  [uptime]                => int(3301347)
  [last_polled]           => array(
                               [0] => string(5) "NOW()"
                             )
  [last_polled_timetaken] => double(0.7722)
)


SQL[UPDATE `devices` set `uptime` ='3301347',`last_polled` =NOW(),`last_polled_timetaken` ='0.7722' WHERE `device_id` = '47']
SQL RUNTIME[0.00621915s]
 o Updated Data         uptime, last_polled, last_polled_timetaken

SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"device_status\":\"1\"}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1625248409',`last_ok` ='1625248409' WHERE `alert_table_id` = '40']
SQL RUNTIME[0.00529385s]
RRD /opt/observium/rrd/sb-hny-dsw-01.example.com/alert-40.rrd already exists - no need to create.

RRD CMD[update /opt/observium/rrd/sb-hny-dsw-01.example.com/alert-40.rrd N:1:1]
RRD RUNTIME[0.0011s]
RRD STDOUT[OK u:0.00 s:0.00 r:0.78]
RRD_STATUS[TRUE]



SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '18045' AND `process_name` = 'poller.php' AND `device_id` = '47' AND `poller_id` = '0']
SQL RUNTIME[0.00541210s]
poller.php: sb-hny-dsw-01.example.com - 1 devices polled in 0.869 secs
#####  Completed polling run at 2021-07-02 17:53:29  #####

NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
 o Devices Polled       1
 o Poller Time          0.869 secs
 o Memory usage         6MB (peak: 6MB)
 o MySQL Usage          Insert[1/0.006s] Update[6/0.036s] Delete[1/0.006s] Cell[4/0.002s] Row[12/0.007s] Rows[19/0.011s] Col[3/0.002s]
                        Connect[1/0.003s](0.073s 8.445%)
 o RRDTool Usage        update[16/0.018s] (0.018s 2.021%)
 o SNMP Usage           snmpget[11/0.669s] errors[/0s] (0.669s 76.999%)