DEBUG!
Load class 'Console_Color2' from '/opt/observium/libs/pear/Console/Color2.php': OK

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

CMD EXITCODE[0]
CMD RUNTIME[0.0082s]
STDOUT[
Path: .
Working Copy Root Path: /opt/observium
URL: http://svn.observium.org/svn/observium/trunk
Relative URL: ^/observium/trunk
Repository Root: http://svn.observium.org/svn
Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8
Revision: 9229
Node Kind: directory
Schedule: normal
Last Changed Author: mike
Last Changed Rev: 9229
Last Changed Date: 2018-05-14 15:54:24 +0000 (Mon, 14 May 2018)

]

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

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00071788s]

SQL[SET SESSION `sql_mode` = 'NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION']
ROWS[0]
SQL RUNTIME[0.00095606s]
DB mode(s) disabled: STRICT_TRANS_TABLES, ONLY_FULL_GROUP_BY

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

SQL[SELECT * FROM `config`]
ROWS[13]
SQL RUNTIME[0.00089312s]

CMD[/bin/hostname -f]

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
monitoring01.c.leafspace-183416.internal
]
Load class 'Net_IPv6' from '/opt/observium/libs/pear/Net/IPv6.php': OK

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


CMD[/opt/observium/scripts/distro]

Wrong process status! Issue in proc_get_status(), see: https://bugs.php.net/bug.php?id=69014
CMD EXITCODE[0]
CMD RUNTIME[0.0088s]
STDOUT[
Linux|4.13.0-31-generic|amd64|Ubuntu|16.04|kvm|
]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0021s]
STDOUT[
Python 2.7.12
]

SQL[SELECT version();]
ROWS[1]
SQL RUNTIME[0.00087810s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0023s]
STDOUT[
NET-SNMP version: 5.7.3
]

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

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

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

CMD EXITCODE[0]
CMD RUNTIME[0.0365s]
STDOUT[
Apache/2.4.18
]

CMD[date "+%:z"]

CMD EXITCODE[0]
CMD RUNTIME[0.0019s]
STDOUT[
+00:00
]

SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
ROWS[1]
SQL RUNTIME[0.00089192s]

SQL[SELECT @@SESSION.sql_mode;]
ROWS[1]
SQL RUNTIME[0.00066400s]

SQL[SHOW VARIABLES LIKE 'character_set_connection']
ROWS[1]
SQL RUNTIME[0.00240302s]

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

 o OS                   Linux 4.13.0-31-generic [amd64] (Ubuntu 16.04)
 o Apache               2.4.18
 o PHP                  7.0.30-0ubuntu0.16.04.1 (OPcache: DISABLED)
 o Python               2.7.12
 o MySQL                5.7.14-google-log (extension: mysqli 5.0.12-dev)
 o SNMP                 NET-SNMP 5.7.3
 o RRDtool              1.5.5

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

 o PHP                  Unlimited

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

 o MySQL                NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION 

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

 o PHP                  UTF-8
 o MySQL                utf8

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

 o Date                 Tuesday, 15-May-18 09:38:14 UTC
 o PHP                  +00:00
 o MySQL                +00:00


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

SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
ROWS[1]
SQL RUNTIME[0.00060201s]
#####  Starting discovery run at 2018-05-15 09:38:14  #####


SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `device_id` = '52' AND `status` = '1' ORDER BY `last_discovered_timetaken` ASC]
ROWS[1]
SQL RUNTIME[0.00104499s]

CMD[/usr/bin/snmpget -v2c -c 'public' -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' sysObjectID.0 sysUpTime.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0556s]
STDOUT[
sysObjectID.0 = enterprises.18334.1.2.1.2.1.131.2.8
sysUpTime.0 = 5939314
]
SNMP STATUS[TRUE]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '52']
ROWS[0]
SQL RUNTIME[0.00117397s]

SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'discovery.php' AND `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00104904s]

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

CMD EXITCODE[0]
CMD RUNTIME[0.0085s]
STDOUT[
  PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
21103  6436     0     0 pts/2    S+   00:00:00 Tue May 15 09:38:13 2018 php ./discovery.php -h 52 -dd
]

SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('21103','discovery.php','6436','0','php ./discovery.php -h 52 -dd','1526377093','52')]
ROWS[1]
SQL RUNTIME[0.00462103s]


 > $device_discovery_cache_keys /opt/observium/includes/discovery/functions.inc.php:211 
array(
  [0] => string(10) "db_version"
  [1] => string(9) "localhost"
  [2] => string(8) "versions"
  [3] => string(8) "timezone"
  [4] => string(14) "entity_attribs"
)
#####  printer01.hq.leaf.space [52]  #####

 o OS Type              olivetti-printer
 o OS Group             printer
 o SNMP Version         v2c
 o Last discovery       2018-05-15 09:18:04
 o Last duration        15.09 seconds

#####  Module Start: os  #####


CMD[/usr/bin/snmpget -v2c -c 'public' -Pu -Ovq -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' sysDescr.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0265s]
STDOUT[
Generic 25C-9
]
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpget -v2c -c 'public' -Pu -Ovqn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' sysObjectID.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0539s]
STDOUT[
.1.3.6.1.4.1.18334.1.2.1.2.1.131.2.8
]
SNMP STATUS[TRUE]
Load class 'cli\Table' from '/opt/observium/libs/cli/Table.php': OK
Load class 'cli\Shell' from '/opt/observium/libs/cli/Shell.php': OK
Load class 'cli\table\Renderer' from '/opt/observium/libs/cli/table/Renderer.php': OK
Load class 'cli\table\Tabular' from '/opt/observium/libs/cli/table/Tabular.php': OK
Load class 'cli\Table\Ascii' from '/opt/observium/libs/cli/table/Ascii.php': OK
Load class 'cli\Colors' from '/opt/observium/libs/cli/Colors.php': OK
Load class 'cli\Streams' from '/opt/observium/libs/cli/Streams.php': OK
+-------------+--------------------------------------+
| OID     |                                      |
+-------------+--------------------------------------+
| sysDescr    | Generic 25C-9                        |
| sysObjectID | .1.3.6.1.4.1.18334.1.2.1.2.1.131.2.8 |
+-------------+--------------------------------------+

 o Detect OS matched (olivetti-printer: Olivetti Printer): 
+----------+---------------------+---------------+
| OID  | Matched definition |               |
+----------+---------------------+---------------+
| sysDescr | /^Generic \w+-\w+$/ | Generic 25C-9 |
+----------+---------------------+---------------+

 o sysORID table        
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' sysORID]

CMD EXITCODE[0]
CMD RUNTIME[0.0595s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2 = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUn, mib: 'SNMPv2-MIB', oid: 'sysORID', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.059541940689087

CMD[/usr/bin/snmptranslate -On -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'SNMPv2-MIB::sysORID']

CMD EXITCODE[0]
CMD RUNTIME[0.0112s]
STDOUT[
.1.3.6.1.2.1.1.9.1.2
]
SNMP TRANSLATE (CMD): 'SNMPv2-MIB::sysORID' -> '.1.3.6.1.2.1.1.9.1.2'

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' sysORDescr]

CMD EXITCODE[0]
CMD RUNTIME[1.0644s]
STDOUT[
sysORDescr = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'SNMPv2-MIB', oid: 'sysORDescr', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 1.0643630027771
<empty>

SQL[DELETE FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '52' AND `attrib_type` = 'sysORID']
ROWS[0]
SQL RUNTIME[0.00128603s]

 o Duration             1.2643s

#####  Module Start: ports  #####

 o Caching OIDs         ifDescr 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifDescr]

CMD EXITCODE[0]
CMD RUNTIME[1.0423s]
STDOUT[
ifDescr.1 = Ethernet 10/100/1000 Base-T
ifDescr.2 = Software Loopback
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]
ifAlias 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifAlias]

CMD EXITCODE[0]
CMD RUNTIME[0.0515s]
STDOUT[
ifAlias = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'IF-MIB', oid: 'ifAlias', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.05146598815918
ifName 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifName]

CMD EXITCODE[0]
CMD RUNTIME[1.0539s]
STDOUT[
ifName = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'IF-MIB', oid: 'ifName', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 1.0538818836212
ifType 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifType]

CMD EXITCODE[0]
CMD RUNTIME[0.0407s]
STDOUT[
ifType.1 = ethernetCsmacd
ifType.2 = softwareLoopback
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]
ifOperStatus 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifOperStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0413s]
STDOUT[
ifOperStatus.1 = up
ifOperStatus.2 = up
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '52' AND `attrib_type` = 'sysORID']
ROWS[0]
SQL RUNTIME[0.00134301s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '52']
ROWS[0]
SQL RUNTIME[0.00078201s]

SQL[SELECT * FROM `observium_attribs`]
ROWS[20]
SQL RUNTIME[0.00074697s]



  /opt/observium/includes/discovery/ports.inc.php:36 
array(
  [1] => array(
           [ifDescr]      => string(27) "Ethernet 10/100/1000 Base-T"
           [ifType]       => string(14) "ethernetCsmacd"
           [ifOperStatus] => string(2) "up"
         )
  [2] => array(
           [ifDescr]      => string(17) "Software Loopback"
           [ifType]       => string(16) "softwareLoopback"
           [ifOperStatus] => string(2) "up"
         )
)
 o Caching DB           
SQL[SELECT * FROM `ports` WHERE `device_id` = '52']
ROWS[2]
SQL RUNTIME[0.00102711s]
2 ports
 o Discovering ports    ..
ifIndex	ifDescr	ifName	ifAlias	ifType	Oper Status	Ignored
1	Ethernet 10/100/1000 Base-T		...	ethernetCsmacd	up	no
2	Software Loopback		...	softwareLoopback	up	no


 o Duration             2.2544s

#####  Module Start: ports-stack  #####


SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00086594s]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IF-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ifStackStatus]

CMD EXITCODE[0]
CMD RUNTIME[0.0516s]
STDOUT[
ifStackStatus = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'IF-MIB', oid: 'ifStackStatus', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.051576137542725


 o Duration             0.0568s

#####  Module Start: vlans  #####


SQL[SELECT * FROM `vlans` WHERE `device_id` = '52';]
ROWS[0]
SQL RUNTIME[0.00140095s]

SQL[SELECT * FROM `ports_vlans` WHERE `device_id` = '52';]
ROWS[0]
SQL RUNTIME[0.00074816s]


 > $ports_vlans_db /opt/observium/includes/discovery/vlans.inc.php:33 
array()


 o Duration             0.0035s

#####  Module Start: oids  #####


SQL[SELECT * FROM  `oids_entries` LEFT JOIN `oids` USING(`oid_id`) WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00084114s]

SQL[SELECT * FROM `oids` WHERE `oid_autodiscover` = '1']
ROWS[0]
SQL RUNTIME[0.00068808s]

 o Duration             0.0019s

#####  Module Start: ip-addresses  #####

 o IP-MIB               
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipAdEntIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.0429s]
STDOUT[
ipAdEntIfIndex.10.0.0.102 = 1
ipAdEntIfIndex.127.0.0.1 = 2
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipAdEntNetMask]

CMD EXITCODE[0]
CMD RUNTIME[0.0373s]
STDOUT[
ipAdEntNetMask.10.0.0.102 = 255.255.240.0
ipAdEntNetMask.127.0.0.1 = 255.0.0.0
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipAddressIfIndex]

CMD EXITCODE[0]
CMD RUNTIME[0.052s]
STDOUT[
ipAddressIfIndex = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'IP-MIB', oid: 'ipAddressIfIndex', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.051959991455078

 o IPV6-MIB             
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUsb -m IPV6-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipv6AddrEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0282s]
STDOUT[
ipv6AddrPfxLength.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = 128
ipv6AddrType.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = unknown
ipv6AddrAnycastFlag.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = false
ipv6AddrStatus.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = preferred
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]



 > $ip_data[$ip_version] /opt/observium/includes/discovery/ip-addresses.inc.php:28 
array(
  [1] => array(
           [10.0.0.102] => array(
                             [ifIndex] => string(1) "1"
                             [ip]      => string(10) "10.0.0.102"
                             [mask]    => string(13) "255.255.240.0"
                             [type]    => string(7) "unicast"
                           )
         )
  [2] => array(
           [127.0.0.1] => array(
                            [ifIndex] => string(1) "2"
                            [ip]      => string(9) "127.0.0.1"
                            [mask]    => string(9) "255.0.0.0"
                            [type]    => string(7) "unicast"
                          )
         )
)

SQL[SELECT * FROM `ipv4_addresses`
            LEFT JOIN `ports` USING(`port_id`)
            WHERE `device_id` = '52']
ROWS[2]
SQL RUNTIME[0.00193191s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '52' AND `ifIndex` = '1' LIMIT 1]
ROWS[1]
SQL RUNTIME[0.00066710s]

SQL[SELECT * FROM `ports`  WHERE `ports`.`port_id` = '2860']
ROWS[1]
SQL RUNTIME[0.00083518s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'port' AND `entity_id` = '2860']
ROWS[0]
SQL RUNTIME[0.00067711s]

SQL[SELECT * FROM `devices` WHERE `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00087595s]

SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '52']
ROWS[24]
SQL RUNTIME[0.00070786s]
Load class 'Net_IPv4' from '/opt/observium/libs/pear/Net/IPv4.php': OK

SQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '10.0.0.0/20']
ROWS[1]
SQL RUNTIME[0.00068808s]

SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '52' AND `ifIndex` = '2' LIMIT 1]
ROWS[1]
SQL RUNTIME[0.00063109s]

SQL[SELECT * FROM `ports`  WHERE `ports`.`port_id` = '2861']
ROWS[1]
SQL RUNTIME[0.00097680s]

SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'port' AND `entity_id` = '2861']
ROWS[0]
SQL RUNTIME[0.00062394s]

SQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8']
ROWS[1]
SQL RUNTIME[0.00064898s]

SQL[SELECT * FROM `ipv4_addresses`
            LEFT JOIN `ports` USING(`port_id`)
            WHERE `device_id` = '52']
ROWS[2]
SQL RUNTIME[0.00093389s]


  /opt/observium/includes/discovery/ip-addresses.inc.php:28 
array(
  [1] => array(
           [0000:0000:0000:0000:0000:0000:0000:0001] => array(
                                                          [ifIndex] => int(1)
                                                          [ip]      => string(39) "0000:0000:0000:0000:0000:0000:0000:0001"
                                                          [prefix]  => string(3) "128"
                                                          [origin]  => string(7) "unknown"
                                                        )
         )
)

SQL[SELECT * FROM `ipv6_addresses`
            LEFT JOIN `ports` USING(`port_id`)
            WHERE `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00105906s]

SQL[SELECT `ipv6_network_id` FROM `ipv6_networks` WHERE `ipv6_network` = '0:0:0:0:0:0:0:1/128']
ROWS[1]
SQL RUNTIME[0.00099587s]

SQL[SELECT * FROM `ipv6_addresses`
            LEFT JOIN `ports` USING(`port_id`)
            WHERE `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00093508s]
ifIndex	ifDescr	IP: Version	Address	Network	Origin
1	Ethernet 10/100/1000 Base-T	IPv4	10.0.0.102/20	10.0.0.0/20	
2	Software Loopback	IPv4	127.0.0.1/8	127.0.0.0/8	
1	Ethernet 10/100/1000 Base-T	IPv6	::1/128	0:0:0:0:0:0:0:1/128	unknown


 o Changes              3 unchanged
 o Duration             0.1945s

#####  Module Start: processors  #####

 o UCD-SNMP-MIB         
SQL[SELECT COUNT(*) FROM `processors` WHERE `device_id` = '52' AND `processor_type` != 'ucd-old']
ROWS[1]
SQL RUNTIME[0.00068593s]

CMD[/usr/bin/snmpget -v2c -c 'public' -Pu -OvQ -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ssCpuIdle.0]

CMD EXITCODE[0]
CMD RUNTIME[0.0275s]
STDOUT[
No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpget, options: -OvQ, mib: 'UCD-SNMP-MIB', oid: 'ssCpuIdle.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.027470111846924

 o HOST-RESOURCES-MIB   
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' hrDevice]

CMD EXITCODE[0]
CMD RUNTIME[1.1298s]
STDOUT[
hrDeviceIndex.1 = 1
hrDeviceIndex.2 = 2
hrDeviceIndex.3 = 3
hrDeviceIndex.4 = 4
hrDeviceType.1 = hrDevicePrinter
hrDeviceType.2 = hrDeviceOther
hrDeviceType.3 = hrDeviceNetwork
hrDeviceType.4 = hrDeviceDiskStorage
hrDeviceDescr.1 = Generic 25C-9
hrDeviceDescr.2 = Generic 25C-9
hrDeviceDescr.3 = Ethernet 10/100/1000 Base-T
hrDeviceDescr.4 = HDD
hrDeviceID.1 = enterprises.18334.1.2.1.2.1.131.2.8
hrDeviceID.2 = enterprises.18334.1.2.1.2.1.131.2.8
hrDeviceID.3 = enterprises.18334.1.1.2.1.1.1.1
hrDeviceID.4 = enterprises.18334.1.1.3.1.1.1.2
hrDeviceStatus.1 = warning
hrDeviceStatus.2 = running
hrDeviceStatus.3 = running
hrDeviceStatus.4 = running
hrDeviceErrors.1 = 0
hrDeviceErrors.2 = 0
hrDeviceErrors.3 = 0
hrDeviceErrors.4 = 0
hrNetworkIfIndex.3 = 1
hrPrinterStatus.1 = idle
hrPrinterDetectedErrorState.1 = "01 00 "
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' hrProcessorLoad]

CMD EXITCODE[0]
CMD RUNTIME[0.0839s]
STDOUT[
hrProcessorLoad = No Such Instance currently exists at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES', oid: 'hrProcessorLoad', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.083930969238281


SQL[SELECT * FROM `processors` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00137401s]

 o Duration             1.2554s

#####  Module Start: mempools  #####

 o UCD-SNMP-MIB         
CMD[/usr/bin/snmpget -v2c -c 'public' -Pu -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' memTotalReal.0 memAvailReal.0 memBuffer.0 memCached.0]

CMD EXITCODE[0]
CMD RUNTIME[0.027s]
STDOUT[
memTotalReal.0 = No Such Object available on this agent at this OID
memAvailReal.0 = No Such Object available on this agent at this OID
memBuffer.0 = No Such Object available on this agent at this OID
memCached.0 = No Such Object available on this agent at this OID
]
SNMP ERROR - device: 52, cmd: snmpget, options: -OQUs, mib: 'UCD-SNMP-MIB', oid: 'memTotalReal.0 memAvailReal.0 memBuffer.0 memCached.0', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.026998043060303
SNMP STATUS[FALSE]

 o HOST-RESOURCES-MIB   
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' hrStorageEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.1137s]
STDOUT[
hrStorageIndex.1 = 1
hrStorageIndex.2 = 2
hrStorageIndex.3 = 3
hrStorageIndex.4 = 4
hrStorageType.1 = hrStorageRam
hrStorageType.2 = hrStorageFixedDisk
hrStorageType.3 = hrStorageFlashMemory
hrStorageType.4 = hrStorageOther
hrStorageDescr.1 = RAM
hrStorageDescr.2 = HDD
hrStorageDescr.3 = SPIFlash
hrStorageDescr.4 = eMMC
hrStorageAllocationUnits.1 = 1048576
hrStorageAllocationUnits.2 = 1048576
hrStorageAllocationUnits.3 = 1048576
hrStorageAllocationUnits.4 = 1048576
hrStorageSize.1 = 2374
hrStorageSize.2 = 238454
hrStorageSize.3 = 2
hrStorageSize.4 = 4096
hrStorageUsed.1 = 2063
hrStorageUsed.2 = 107465
hrStorageUsed.3 = 2
hrStorageUsed.4 = 4096
hrStorageAllocationFailures.1 = 0
hrStorageAllocationFailures.2 = 0
hrStorageAllocationFailures.3 = 0
hrStorageAllocationFailures.4 = 0
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]
52 -> 1, HOST-RESOURCES-MIB::, RAM, 1048576, 2374, 2063

SQL[SELECT * FROM `mempools` WHERE `device_id` = '52' AND `mempool_index` = '1' AND `mempool_mib` = 'HOST-RESOURCES-MIB']
ROWS[1]
SQL RUNTIME[0.01676917s]
52 -> 4, HOST-RESOURCES-MIB::, eMMC, 1048576, 4096, 4096

SQL[SELECT * FROM `mempools` WHERE `device_id` = '52' AND `mempool_index` = '4' AND `mempool_mib` = 'HOST-RESOURCES-MIB']
ROWS[1]
SQL RUNTIME[0.00156307s]


SQL[SELECT * FROM `mempools` WHERE `device_id` = '52']
ROWS[2]
SQL RUNTIME[0.00109482s]
1 -> HOST-RESOURCES-MIB
4 -> HOST-RESOURCES-MIB


 > $valid['mempool'] /opt/observium/includes/discovery/mempools.inc.php:189 
array(
  [HOST-RESOURCES-MIB] => array(
                            [1] => int(1)
                            [4] => int(1)
                          )
)

 o Changes              2 unchanged
 o Duration             0.1695s

#####  Module Start: inventory  #####

 o ENTITY-MIB           ENTITY-MIB 
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/cisco 'udp':'printer01.hq.leaf.space':'161' entPhysicalEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0927s]
STDOUT[
entPhysicalEntry = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB', oid: 'entPhysicalEntry', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.092744112014771

 o HOST-RESOURCES-MIB   
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' hrDeviceEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.1267s]
STDOUT[
hrDeviceIndex.1 = 1
hrDeviceIndex.2 = 2
hrDeviceIndex.3 = 3
hrDeviceIndex.4 = 4
hrDeviceType.1 = hrDevicePrinter
hrDeviceType.2 = hrDeviceOther
hrDeviceType.3 = hrDeviceNetwork
hrDeviceType.4 = hrDeviceDiskStorage
hrDeviceDescr.1 = Generic 25C-9
hrDeviceDescr.2 = Generic 25C-9
hrDeviceDescr.3 = Ethernet 10/100/1000 Base-T
hrDeviceDescr.4 = HDD
hrDeviceID.1 = enterprises.18334.1.2.1.2.1.131.2.8
hrDeviceID.2 = enterprises.18334.1.2.1.2.1.131.2.8
hrDeviceID.3 = enterprises.18334.1.1.2.1.1.1.1
hrDeviceID.4 = enterprises.18334.1.1.3.1.1.1.2
hrDeviceStatus.1 = warning
hrDeviceStatus.2 = running
hrDeviceStatus.3 = running
hrDeviceStatus.4 = running
hrDeviceErrors.1 = 0
hrDeviceErrors.2 = 0
hrDeviceErrors.3 = 0
hrDeviceErrors.4 = 0
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' hrProcessorEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0848s]
STDOUT[
hrProcessorEntry = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES', oid: 'hrProcessorEntry', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.084847927093506


 > $hrDevices /opt/observium/includes/discovery/inventory/host-resources-mib.inc.php:20 
array(
  [1] => array(
           [hrDeviceIndex]  => string(1) "1"
           [hrDeviceType]   => string(15) "hrDevicePrinter"
           [hrDeviceDescr]  => string(13) "Generic 25C-9"
           [hrDeviceID]     => string(35) "enterprises.18334.1.2.1.2.1.131.2.8"
           [hrDeviceStatus] => string(7) "warning"
           [hrDeviceErrors] => string(1) "0"
         )
  [2] => array(
           [hrDeviceIndex]  => string(1) "2"
           [hrDeviceType]   => string(13) "hrDeviceOther"
           [hrDeviceDescr]  => string(13) "Generic 25C-9"
           [hrDeviceID]     => string(35) "enterprises.18334.1.2.1.2.1.131.2.8"
           [hrDeviceStatus] => string(7) "running"
           [hrDeviceErrors] => string(1) "0"
         )
  [3] => array(
           [hrDeviceIndex]  => string(1) "3"
           [hrDeviceType]   => string(15) "hrDeviceNetwork"
           [hrDeviceDescr]  => string(27) "Ethernet 10/100/1000 Base-T"
           [hrDeviceID]     => string(31) "enterprises.18334.1.1.2.1.1.1.1"
           [hrDeviceStatus] => string(7) "running"
           [hrDeviceErrors] => string(1) "0"
         )
  [4] => array(
           [hrDeviceIndex]  => string(1) "4"
           [hrDeviceType]   => string(19) "hrDeviceDiskStorage"
           [hrDeviceDescr]  => string(3) "HDD"
           [hrDeviceID]     => string(31) "enterprises.18334.1.1.3.1.1.1.2"
           [hrDeviceStatus] => string(7) "running"
           [hrDeviceErrors] => string(1) "0"
         )
)

SQL[SELECT COUNT(*) FROM `hrDevice` WHERE device_id = '52' AND hrDeviceIndex = '1']
ROWS[1]
SQL RUNTIME[0.00137401s]

SQL[UPDATE `hrDevice` set `hrDeviceType` ='hrDevicePrinter',`hrDeviceDescr` ='Generic 25C-9',`hrDeviceStatus` ='warning',`hrDeviceErrors` ='0',`hrProcessorLoad` =NULL WHERE device_id = '52' AND hrDeviceIndex = '1']
ROWS[0]
SQL RUNTIME[0.00073695s]
.
SQL[SELECT COUNT(*) FROM `hrDevice` WHERE device_id = '52' AND hrDeviceIndex = '2']
ROWS[1]
SQL RUNTIME[0.00067997s]

SQL[UPDATE `hrDevice` set `hrDeviceType` ='hrDeviceOther',`hrDeviceDescr` ='Generic 25C-9',`hrDeviceStatus` ='running',`hrDeviceErrors` ='0',`hrProcessorLoad` =NULL WHERE device_id = '52' AND hrDeviceIndex = '2']
ROWS[0]
SQL RUNTIME[0.00059891s]
.
SQL[SELECT COUNT(*) FROM `hrDevice` WHERE device_id = '52' AND hrDeviceIndex = '3']
ROWS[1]
SQL RUNTIME[0.00055480s]

SQL[UPDATE `hrDevice` set `hrDeviceType` ='hrDeviceNetwork',`hrDeviceDescr` ='Ethernet 10/100/1000 Base-T',`hrDeviceStatus` ='running',`hrDeviceErrors` ='0',`hrProcessorLoad` =NULL WHERE device_id = '52' AND hrDeviceIndex = '3']
ROWS[0]
SQL RUNTIME[0.00067496s]
.
SQL[SELECT COUNT(*) FROM `hrDevice` WHERE device_id = '52' AND hrDeviceIndex = '4']
ROWS[1]
SQL RUNTIME[0.00061202s]

SQL[UPDATE `hrDevice` set `hrDeviceType` ='hrDeviceDiskStorage',`hrDeviceDescr` ='HDD',`hrDeviceStatus` ='running',`hrDeviceErrors` ='0',`hrProcessorLoad` =NULL WHERE device_id = '52' AND hrDeviceIndex = '4']
ROWS[0]
SQL RUNTIME[0.00065494s]
.
SQL[SELECT * FROM `hrDevice` WHERE `device_id`  = '52']
ROWS[4]
SQL RUNTIME[0.00068283s]


SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00067401s]

 o Duration             0.3267s

#####  Module Start: printersupplies  #####

 o Printer-MIB          
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' prtMarkerSuppliesTable]

CMD EXITCODE[0]
CMD RUNTIME[1.3648s]
STDOUT[
prtMarkerSuppliesMarkerIndex.1.1 = 1
prtMarkerSuppliesMarkerIndex.1.2 = 1
prtMarkerSuppliesMarkerIndex.1.3 = 1
prtMarkerSuppliesMarkerIndex.1.4 = 1
prtMarkerSuppliesMarkerIndex.1.5 = 1
prtMarkerSuppliesMarkerIndex.1.6 = 1
prtMarkerSuppliesMarkerIndex.1.7 = 1
prtMarkerSuppliesMarkerIndex.1.8 = 1
prtMarkerSuppliesMarkerIndex.1.9 = 1
prtMarkerSuppliesMarkerIndex.1.10 = 1
prtMarkerSuppliesMarkerIndex.1.11 = 1
prtMarkerSuppliesMarkerIndex.1.12 = 1
prtMarkerSuppliesMarkerIndex.1.13 = 1
prtMarkerSuppliesMarkerIndex.1.14 = 1
prtMarkerSuppliesMarkerIndex.1.15 = 1
prtMarkerSuppliesMarkerIndex.1.16 = 1
prtMarkerSuppliesColorantIndex.1.1 = 1
prtMarkerSuppliesColorantIndex.1.2 = 2
prtMarkerSuppliesColorantIndex.1.3 = 3
prtMarkerSuppliesColorantIndex.1.4 = 4
prtMarkerSuppliesColorantIndex.1.5 = 1
prtMarkerSuppliesColorantIndex.1.6 = 1
prtMarkerSuppliesColorantIndex.1.7 = 2
prtMarkerSuppliesColorantIndex.1.8 = 2
prtMarkerSuppliesColorantIndex.1.9 = 3
prtMarkerSuppliesColorantIndex.1.10 = 3
prtMarkerSuppliesColorantIndex.1.11 = 4
prtMarkerSuppliesColorantIndex.1.12 = 4
prtMarkerSuppliesColorantIndex.1.13 = 0
prtMarkerSuppliesColorantIndex.1.14 = 0
prtMarkerSuppliesColorantIndex.1.15 = 0
prtMarkerSuppliesColorantIndex.1.16 = 0
prtMarkerSuppliesClass.1.1 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.2 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.3 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.4 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.5 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.6 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.7 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.8 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.9 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.10 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.11 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.12 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.13 = receptacleThatIsFilled
prtMarkerSuppliesClass.1.14 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.15 = supplyThatIsConsumed
prtMarkerSuppliesClass.1.16 = supplyThatIsConsumed
prtMarkerSuppliesType.1.1 = toner
prtMarkerSuppliesType.1.2 = toner
prtMarkerSuppliesType.1.3 = toner
prtMarkerSuppliesType.1.4 = toner
prtMarkerSuppliesType.1.5 = opc
prtMarkerSuppliesType.1.6 = developer
prtMarkerSuppliesType.1.7 = opc
prtMarkerSuppliesType.1.8 = developer
prtMarkerSuppliesType.1.9 = opc
prtMarkerSuppliesType.1.10 = developer
prtMarkerSuppliesType.1.11 = opc
prtMarkerSuppliesType.1.12 = developer
prtMarkerSuppliesType.1.13 = wasteToner
prtMarkerSuppliesType.1.14 = fuser
prtMarkerSuppliesType.1.15 = transferUnit
prtMarkerSuppliesType.1.16 = transferUnit
prtMarkerSuppliesDescription.1.1 = "Toner (Cyan)"
prtMarkerSuppliesDescription.1.2 = "Toner (Magenta)"
prtMarkerSuppliesDescription.1.3 = "Toner (Yellow)"
prtMarkerSuppliesDescription.1.4 = "Toner (Black)"
prtMarkerSuppliesDescription.1.5 = "Drum Cartridge (Cyan)"
prtMarkerSuppliesDescription.1.6 = "Developer Cartridge (Cyan)"
prtMarkerSuppliesDescription.1.7 = "Drum Cartridge (Magenta)"
prtMarkerSuppliesDescription.1.8 = "Developer Cartridge (Magenta)"
prtMarkerSuppliesDescription.1.9 = "Drum Cartridge (Yellow)"
prtMarkerSuppliesDescription.1.10 = "Developer Cartridge (Yellow)"
prtMarkerSuppliesDescription.1.11 = "Drum Cartridge (Black)"
prtMarkerSuppliesDescription.1.12 = "Developer Cartridge (Black)"
prtMarkerSuppliesDescription.1.13 = "Waste Toner Box"
prtMarkerSuppliesDescription.1.14 = "Fusing Unit"
prtMarkerSuppliesDescription.1.15 = "Image Transfer Belt Unit"
prtMarkerSuppliesDescription.1.16 = "Transfer Roller Unit"
prtMarkerSuppliesSupplyUnit.1.1 = percent
prtMarkerSuppliesSupplyUnit.1.2 = percent
prtMarkerSuppliesSupplyUnit.1.3 = percent
prtMarkerSuppliesSupplyUnit.1.4 = percent
prtMarkerSuppliesSupplyUnit.1.5 = percent
prtMarkerSuppliesSupplyUnit.1.6 = percent
prtMarkerSuppliesSupplyUnit.1.7 = percent
prtMarkerSuppliesSupplyUnit.1.8 = percent
prtMarkerSuppliesSupplyUnit.1.9 = percent
prtMarkerSuppliesSupplyUnit.1.10 = percent
prtMarkerSuppliesSupplyUnit.1.11 = percent
prtMarkerSuppliesSupplyUnit.1.12 = percent
prtMarkerSuppliesSupplyUnit.1.13 = other
prtMarkerSuppliesSupplyUnit.1.14 = percent
prtMarkerSuppliesSupplyUnit.1.15 = percent
prtMarkerSuppliesSupplyUnit.1.16 = percent
prtMarkerSuppliesMaxCapacity.1.1 = 100
prtMarkerSuppliesMaxCapacity.1.2 = 100
prtMarkerSuppliesMaxCapacity.1.3 = 100
prtMarkerSuppliesMaxCapacity.1.4 = 100
prtMarkerSuppliesMaxCapacity.1.5 = 100
prtMarkerSuppliesMaxCapacity.1.6 = 100
prtMarkerSuppliesMaxCapacity.1.7 = 100
prtMarkerSuppliesMaxCapacity.1.8 = 100
prtMarkerSuppliesMaxCapacity.1.9 = 100
prtMarkerSuppliesMaxCapacity.1.10 = 100
prtMarkerSuppliesMaxCapacity.1.11 = 100
prtMarkerSuppliesMaxCapacity.1.12 = 100
prtMarkerSuppliesMaxCapacity.1.13 = -2
prtMarkerSuppliesMaxCapacity.1.14 = 100
prtMarkerSuppliesMaxCapacity.1.15 = 100
prtMarkerSuppliesMaxCapacity.1.16 = 100
prtMarkerSuppliesLevel.1.1 = 100
prtMarkerSuppliesLevel.1.2 = 100
prtMarkerSuppliesLevel.1.3 = 100
prtMarkerSuppliesLevel.1.4 = 100
prtMarkerSuppliesLevel.1.5 = 99
prtMarkerSuppliesLevel.1.6 = 99
prtMarkerSuppliesLevel.1.7 = 99
prtMarkerSuppliesLevel.1.8 = 99
prtMarkerSuppliesLevel.1.9 = 99
prtMarkerSuppliesLevel.1.10 = 99
prtMarkerSuppliesLevel.1.11 = 99
prtMarkerSuppliesLevel.1.12 = 99
prtMarkerSuppliesLevel.1.13 = -3
prtMarkerSuppliesLevel.1.14 = 99
prtMarkerSuppliesLevel.1.15 = 99
prtMarkerSuppliesLevel.1.16 = 99
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' prtMarkerColorantTable]

CMD EXITCODE[0]
CMD RUNTIME[0.0593s]
STDOUT[
prtMarkerColorantMarkerIndex.1.1 = 1
prtMarkerColorantMarkerIndex.1.2 = 1
prtMarkerColorantMarkerIndex.1.3 = 1
prtMarkerColorantMarkerIndex.1.4 = 1
prtMarkerColorantRole.1.1 = process
prtMarkerColorantRole.1.2 = process
prtMarkerColorantRole.1.3 = process
prtMarkerColorantRole.1.4 = process
prtMarkerColorantValue.1.1 = "cyan"
prtMarkerColorantValue.1.2 = "magenta"
prtMarkerColorantValue.1.3 = "yellow"
prtMarkerColorantValue.1.4 = "black"
prtMarkerColorantTonality.1.1 = 256
prtMarkerColorantTonality.1.2 = 256
prtMarkerColorantTonality.1.3 = 256
prtMarkerColorantTonality.1.4 = 256
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00129390s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00080395s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.2']
ROWS[1]
SQL RUNTIME[0.00080490s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.2']
ROWS[1]
SQL RUNTIME[0.00077891s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.3']
ROWS[1]
SQL RUNTIME[0.00062203s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.3']
ROWS[1]
SQL RUNTIME[0.00064397s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.4']
ROWS[1]
SQL RUNTIME[0.00058413s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.4']
ROWS[1]
SQL RUNTIME[0.00069380s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.5']
ROWS[1]
SQL RUNTIME[0.00068998s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.5']
ROWS[1]
SQL RUNTIME[0.00073791s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.6']
ROWS[1]
SQL RUNTIME[0.00062895s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.6']
ROWS[1]
SQL RUNTIME[0.00061393s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.7']
ROWS[1]
SQL RUNTIME[0.00061178s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.7']
ROWS[1]
SQL RUNTIME[0.00078917s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.8']
ROWS[1]
SQL RUNTIME[0.00068998s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.8']
ROWS[1]
SQL RUNTIME[0.00064516s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.9']
ROWS[1]
SQL RUNTIME[0.00060296s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.9']
ROWS[1]
SQL RUNTIME[0.00063396s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.10']
ROWS[1]
SQL RUNTIME[0.00067496s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.10']
ROWS[1]
SQL RUNTIME[0.00067496s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.11']
ROWS[1]
SQL RUNTIME[0.00066900s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.11']
ROWS[1]
SQL RUNTIME[0.00063801s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.12']
ROWS[1]
SQL RUNTIME[0.00058007s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.12']
ROWS[1]
SQL RUNTIME[0.00073910s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.13']
ROWS[1]
SQL RUNTIME[0.00069714s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.13']
ROWS[1]
SQL RUNTIME[0.00071383s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.14']
ROWS[1]
SQL RUNTIME[0.00063086s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.14']
ROWS[1]
SQL RUNTIME[0.00068283s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.15']
ROWS[1]
SQL RUNTIME[0.00064087s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.15']
ROWS[1]
SQL RUNTIME[0.00073981s]

SQL[SELECT COUNT(`supply_id`) FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.16']
ROWS[1]
SQL RUNTIME[0.00062203s]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_index` = '1.16']
ROWS[1]
SQL RUNTIME[0.00073385s]



SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52']
ROWS[16]
SQL RUNTIME[0.00074100s]
................

 o Changes              16 unchanged
 o Duration             1.4598s

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

 o Printer-MIB          
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' prtMarkerEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0671s]
STDOUT[
prtMarkerMarkTech.1.1 = electrophotographicLaser
prtMarkerCounterUnit.1.1 = impressions
prtMarkerLifeCount.1.1 = 38
prtMarkerPowerOnCount.1.1 = 20
prtMarkerProcessColorants.1.1 = 4
prtMarkerSpotColorants.1.1 = 0
prtMarkerAddressabilityUnit.1.1 = tenThousandthsOfInches
prtMarkerAddressabilityFeedDir.1.1 = 600
prtMarkerAddressabilityXFeedDir.1.1 = 1800
prtMarkerNorthMargin.1.1 = 1667
prtMarkerSouthMargin.1.1 = 1181
prtMarkerWestMargin.1.1 = 1181
prtMarkerEastMargin.1.1 = 1181
prtMarkerStatus.1.1 = 0
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m Printer-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' prtMarkerSuppliesDescription]

CMD EXITCODE[0]
CMD RUNTIME[0.0836s]
STDOUT[
prtMarkerSuppliesDescription.1.1 = "Toner (Cyan)"
prtMarkerSuppliesDescription.1.2 = "Toner (Magenta)"
prtMarkerSuppliesDescription.1.3 = "Toner (Yellow)"
prtMarkerSuppliesDescription.1.4 = "Toner (Black)"
prtMarkerSuppliesDescription.1.5 = "Drum Cartridge (Cyan)"
prtMarkerSuppliesDescription.1.6 = "Developer Cartridge (Cyan)"
prtMarkerSuppliesDescription.1.7 = "Drum Cartridge (Magenta)"
prtMarkerSuppliesDescription.1.8 = "Developer Cartridge (Magenta)"
prtMarkerSuppliesDescription.1.9 = "Drum Cartridge (Yellow)"
prtMarkerSuppliesDescription.1.10 = "Developer Cartridge (Yellow)"
prtMarkerSuppliesDescription.1.11 = "Drum Cartridge (Black)"
prtMarkerSuppliesDescription.1.12 = "Developer Cartridge (Black)"
prtMarkerSuppliesDescription.1.13 = "Waste Toner Box"
prtMarkerSuppliesDescription.1.14 = "Fusing Unit"
prtMarkerSuppliesDescription.1.15 = "Image Transfer Belt Unit"
prtMarkerSuppliesDescription.1.16 = "Transfer Roller Unit"
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

SQL[SELECT * FROM `printersupplies` WHERE `device_id` = '52' AND `supply_mib` = 'jetdirect' AND `supply_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00136399s]
Discover sensor: counter, printer01.hq.leaf.space, .1.3.6.1.2.1.43.10.2.1.4.1.1, 1.1, Printer-MIB-prtMarkerLifeCount, Total Printed Impressions, SCALE: 1, LIMITS: (, , , ), CURRENT: 38, snmp, , 

SQL[SELECT COUNT(`sensor_id`) FROM `sensors`
                   WHERE `poller_type`= 'snmp' AND `sensor_class` = 'counter' AND `device_id` = '52' AND `sensor_type` = 'Printer-MIB-prtMarkerLifeCount' AND `sensor_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00092697s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'counter' AND `device_id` = '52' AND `sensor_type` = 'Printer-MIB-prtMarkerLifeCount' AND `sensor_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00083899s]
Compare float numbers: "1" with "1", epsilon: "1.0E-5", comparision: "0 < 1.0E-5", numbers: SAME
Compare float numbers: "0" with "0", epsilon: "1.0E-5", comparision: "0 < 1.0E-5", numbers: SAME

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '450' AND `attrib_type` = 'sensor_addition']
ROWS[0]
SQL RUNTIME[0.00076580s]
.Discover sensor: counter, printer01.hq.leaf.space, .1.3.6.1.2.1.43.10.2.1.5.1.1, 1.1, Printer-MIB-prtMarkerPowerOnCount, PowerOn Printed Impressions - Toner (Cyan), SCALE: 1, LIMITS: (, , , ), CURRENT: 20, snmp, , 

SQL[SELECT COUNT(`sensor_id`) FROM `sensors`
                   WHERE `poller_type`= 'snmp' AND `sensor_class` = 'counter' AND `device_id` = '52' AND `sensor_type` = 'Printer-MIB-prtMarkerPowerOnCount' AND `sensor_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00064993s]

SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'counter' AND `device_id` = '52' AND `sensor_type` = 'Printer-MIB-prtMarkerPowerOnCount' AND `sensor_index` = '1.1']
ROWS[1]
SQL RUNTIME[0.00087094s]
Compare float numbers: "1" with "1", epsilon: "1.0E-5", comparision: "0 < 1.0E-5", numbers: SAME
Compare float numbers: "0" with "0", epsilon: "1.0E-5", comparision: "0 < 1.0E-5", numbers: SAME

SQL[SELECT `attrib_value` FROM `entity_attribs` WHERE `entity_type` = 'sensor' AND `entity_id` = '451' AND `attrib_type` = 'sensor_addition']
ROWS[0]
SQL RUNTIME[0.00075603s]
.
 o ENTITY-SENSOR-MIB    
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m ENTITY-MIB:ENTITY-SENSOR-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' entPhySensorValue]

CMD EXITCODE[0]
CMD RUNTIME[0.0523s]
STDOUT[
entPhySensorValue = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'ENTITY-MIB:ENTITY-SENSOR-MIB', oid: 'entPhySensorValue', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.052258968353271



 > $valid['sensor'] /opt/observium/includes/discovery/sensors.inc.php:699 
array(
  [counter] => array(
                 [Printer-MIB-prtMarkerLifeCount]    => array(
                                                          [1.1] => int(1)
                                                        )
                 [Printer-MIB-prtMarkerPowerOnCount] => array(
                                                          [1.1] => int(1)
                                                        )
               )
)

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

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

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

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

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

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

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

SQL[SELECT * FROM `sensors` WHERE `device_id` = '52' AND `sensor_class` = 'charge' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
ROWS[0]
SQL RUNTIME[0.00063896s]

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

SQL[SELECT * FROM `sensors` WHERE `device_id` = '52' AND `sensor_class` = 'energy' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
ROWS[0]
SQL RUNTIME[0.00074792s]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SQL[SELECT * FROM `sensors` WHERE `device_id` = '52' AND `sensor_class` = 'counter' AND `poller_type` = 'snmp' AND `sensor_deleted` = '0']
ROWS[2]
SQL RUNTIME[0.00073481s]


 > $valid['status'] /opt/observium/includes/discovery/sensors.inc.php:705 
array()

SQL[SELECT * FROM `status` WHERE `device_id` = '52' AND `poller_type` = 'snmp' AND `status_deleted` = '0']
ROWS[0]
SQL RUNTIME[0.00070596s]


 o Duration             0.2498s

#####  Module Start: storage  #####

 o UCD-SNMP-MIB         
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m UCD-SNMP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' dskEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.06s]
STDOUT[
dskEntry = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'UCD-SNMP-MIB', oid: 'dskEntry', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.06002402305603

 o HOST-RESOURCES-MIB   52 -> 2, hrStorageFixedDisk, HOST-RESOURCES-MIB, HDD, 1048576, 250037141504, 112685219840, 0

SQL[SELECT * FROM `storage` WHERE `device_id` = '52' AND `storage_index` = '2' AND `storage_mib` = 'host-resources-mib']
ROWS[1]
SQL RUNTIME[0.00124002s]


 > $update /opt/observium/includes/discovery/functions.inc.php:1274 
array()
52 -> 3, hrStorageFlashMemory, HOST-RESOURCES-MIB, SPIFlash, 1048576, 2097152, 2097152, 0

SQL[SELECT * FROM `storage` WHERE `device_id` = '52' AND `storage_index` = '3' AND `storage_mib` = 'host-resources-mib']
ROWS[1]
SQL RUNTIME[0.00076699s]


  /opt/observium/includes/discovery/functions.inc.php:1274 
array()



 > $valid['storage'] /opt/observium/includes/discovery/storage.inc.php:19 
array(
  [host-resources-mib] => array(
                            [2] => string(3) "HDD"
                            [3] => string(8) "SPIFlash"
                          )
)

SQL[SELECT * FROM `storage` WHERE `device_id` = '52']
ROWS[2]
SQL RUNTIME[0.00141692s]
2 -> host-resources-mib
3 -> host-resources-mib


 > $valid[$module] /opt/observium/includes/discovery/storage.inc.php:40 
array(
  [host-resources-mib] => array(
                            [2] => string(3) "HDD"
                            [3] => string(8) "SPIFlash"
                          )
)

 o Changes              2 unchanged
 o Duration             0.0708s

#####  Module Start: neighbours  #####

 o LLDP-MIB             
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m LLDP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' lldpRemChassisIdSubtype]

CMD EXITCODE[0]
CMD RUNTIME[0.0569s]
STDOUT[
lldpRemChassisIdSubtype = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'LLDP-MIB', oid: 'lldpRemChassisIdSubtype', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.056887865066528


  /opt/observium/includes/discovery/neighbours/lldp-mib.inc.php:28 
array()


SQL[SELECT * FROM `neighbours` LEFT JOIN `ports` USING(`port_id`) WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00112700s]



 o Duration             0.0622s

#####  Module Start: arp-table  #####


SQL[SELECT port_id, ifIndex FROM ports WHERE device_id = '52' GROUP BY port_id]
ROWS[2]
SQL RUNTIME[0.00073409s]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OXqs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipNetToPhysicalPhysAddress]

CMD EXITCODE[0]
CMD RUNTIME[0.0505s]
STDOUT[
ipNetToPhysicalPhysAddress No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OXqs, mib: 'IP-MIB', oid: 'ipNetToPhysicalPhysAddress', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.050471782684326

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OXqs -m IPV6-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipv6NetToMediaPhysAddress]

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

]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]

CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OXqs -m IP-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' ipNetToMediaPhysAddress]

CMD EXITCODE[0]
CMD RUNTIME[0.307s]
STDOUT[
ipNetToMediaPhysAddress[1][10.0.0.1] e4:8d:8c:f:15:9b
ipNetToMediaPhysAddress[1][10.0.0.3] 70:4f:57:37:6c:db
ipNetToMediaPhysAddress[1][10.0.0.101] 0:4:56:a9:5f:a
ipNetToMediaPhysAddress[1][10.0.0.200] 4c:cc:6a:6e:45:44
ipNetToMediaPhysAddress[1][10.0.2.2] 64:0:6a:84:ce:ae
ipNetToMediaPhysAddress[1][10.0.2.3] 64:0:6a:84:cf:42
ipNetToMediaPhysAddress[1][10.0.2.7] d8:9e:f3:74:58:b7
ipNetToMediaPhysAddress[1][10.0.2.8] d8:9e:f3:75:4:ac
ipNetToMediaPhysAddress[1][10.0.2.100] 78:4f:43:5c:13:5a
ipNetToMediaPhysAddress[1][10.0.2.101] f8:da:c:4c:10:47
ipNetToMediaPhysAddress[1][10.0.5.76] 0:4:56:a9:5d:e0
ipNetToMediaPhysAddress[1][10.0.5.159] 64:0:6a:be:e2:d8
ipNetToMediaPhysAddress[1][10.0.5.160] bc:30:5b:ee:56:f0
ipNetToMediaPhysAddress[1][169.254.229.29] f8:da:c:4c:10:47
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[TRUE]
Used IP-MIB::ipNetToMediaPhysAddress

SQL[SELECT mac_id, mac_address, ip_address, ip_version, ifIndex FROM ip_mac AS M
          LEFT JOIN ports AS I ON M.port_id = I.port_id
          WHERE I.device_id = '52']
ROWS[13]
SQL RUNTIME[0.00207281s]
.......
SQL[INSERT INTO `ip_mac` (`port_id`,`mac_address`,`ip_address`,`ip_version`)  VALUES ('2860','d89ef37504ac','10.0.2.8','4')]
ROWS[1]
SQL RUNTIME[0.00516701s]
Added MAC address d8:9e:f3:75:04:ac for 10.0.2.8
+......

 o Duration             6.4156s

#####  Module Start: junose-atm-vp  #####


 o Duration             0.0007s

#####  Module Start: bgp-peers  #####


 o Duration             0.0025s

#####  Module Start: mac-accounting  #####


 o Duration             0.0002s

Module [ cisco-vrf ] is in the blacklist for printer
#####  Module Start: sla  #####

 o DISMAN-PING-MIB      
CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m DISMAN-PING-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' pingCtlEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0568s]
STDOUT[
pingCtlEntry = No Such Object available on this agent at this OID
]
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'DISMAN-PING-MIB', oid: 'pingCtlEntry', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.056824922561646



 > $sla_table /opt/observium/includes/discovery/sla.inc.php:22 
null

SQL[SELECT * FROM `slas` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00121403s]


  /opt/observium/includes/discovery/sla.inc.php:40 
array()

 o Duration             0.0637s

#####  Module Start: lsp  #####


 o Duration             0.0001s

#####  Module Start: pseudowires  #####


SQL[SELECT * FROM `pseudowires` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00093102s]

 o Duration             0.0016s

#####  Module Start: virtual-machines  #####



 o Duration             0.0005s

Module [ cisco-cbqos ] is in the blacklist for printer
#####  Module Start: ucd-diskio  #####


CMD[/usr/bin/snmpbulkwalk -v2c -c 'public' -Pu -OQUs -m UCD-DISKIO-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'printer01.hq.leaf.space':'161' diskIOEntry]

CMD EXITCODE[0]
CMD RUNTIME[0.0516s]
STDOUT[
diskIOEntry = No Such Object available on this agent at this OID
]
All quotes stripped from snmp output, also for indexes and values!
SNMP STATUS[FALSE]
SNMP ERROR - device: 52, cmd: snmpwalk, options: -OQUs, mib: 'UCD-DISKIO-MIB', oid: 'diskIOEntry', cmd exitcode: 0,
             snmp error code: #1000, reason: 'Failed response', runtime: 0.05161714553833

SQL[SELECT * FROM `ucd_diskio` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00113797s]


 o Duration             0.057s

#####  Module Start: wifi  #####


SQL[SELECT * FROM `wifi_radios` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00093603s]

SQL[SELECT * FROM `wifi_wlans` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00086403s]

SQL[SELECT * FROM `wifi_aps` WHERE `device_id` = '52']
ROWS[0]
SQL RUNTIME[0.00085282s]


 o Duration             0.0036s

#####  Module Start: p2p-radios  #####


 o Duration             0.0001s

#####  Module Start: graphs  #####


 o Duration             0.0004s

Module [ services ] disabled globally.
Module [ raid ] disabled globally.

SQL[SELECT `device_state` FROM `devices` WHERE `device_id` = '52';]
ROWS[1]
SQL RUNTIME[0.00104189s]


 > $old_device_state['discovery_history'] /opt/observium/includes/discovery/functions.inc.php:388 
array(
  [1526375869] => double(15.0863)
  [1526366050] => double(13.7733)
  [1526344449] => double(12.9566)
  [1526322886] => double(10.7845)
  [1526306401] => double(17.9989)
)


 > $discovery_history /opt/observium/includes/discovery/functions.inc.php:391 
array(
  [1526377094] => double(13.9382)
  [1526375869] => double(15.0863)
  [1526366050] => double(13.7733)
  [1526344449] => double(12.9566)
  [1526322886] => double(10.7845)
  [1526306401] => double(17.9989)
)

SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='printer',`last_discovered_timetaken` ='13.9382',`force_discovery` ='0',`device_state` ='a:3:{s:15:\"poller_mod_perf\";a:27:{s:6:\"system\";d:1.5879000000000001;s:2:\"os\";d:0.83699999999999997;s:7:\"sensors\";d:0.47070000000000001;s:6:\"status\";d:0.0011000000000000001;s:10:\"processors\";d:0.0025999999999999999;s:8:\"mempools\";d:0.31659999999999999;s:7:\"storage\";d:0.0129;s:8:\"netstats\";d:1.4885999999999999;s:6:\"hr-mib\";d:0.12540000000000001;s:7:\"ucd-mib\";d:0.14480000000000001;s:13:\"ipSystemStats\";d:0.2306;s:5:\"ports\";d:0.93300000000000005;s:9:\"bgp-peers\";d:0.0030000000000000001;s:15:\"printersupplies\";d:4.1532999999999998;s:10:\"ucd-diskio\";d:0.0032000000000000002;s:4:\"wifi\";d:0.00020000000000000001;s:10:\"p2p-radios\";d:0.0132;s:4:\"ospf\";d:0.00050000000000000001;s:3:\"sla\";d:0.0015;s:11:\"pseudowires\";d:0.0040000000000000001;s:14:\"mac-accounting\";d:0.0091999999999999998;s:12:\"loadbalancer\";d:0.00040000000000000002;s:15:\"entity-physical\";d:0.00020000000000000001;s:12:\"applications\";d:0.0022000000000000001;s:9:\"fdb-table\";d:0.22259999999999999;s:6:\"graphs\";d:0.00040000000000000002;s:4:\"oids\";d:0.0030000000000000001;}s:14:\"poller_history\";a:236:{i:1526376904;d:12.1051;i:1526376605;d:18.412199999999999;i:1526376305;d:11.5501;i:1526376005;d:12.407500000000001;i:1526375705;d:17.484999999999999;i:1526375405;d:13.962999999999999;i:1526375106;d:12.956;i:1526374805;d:21.3108;i:1526374505;d:16.272400000000001;i:1526374205;d:15.905099999999999;i:1526373905;d:15.2522;i:1526373605;d:13.5852;i:1526373305;d:11.9674;i:1526373005;d:10.890599999999999;i:1526372705;d:11.3035;i:1526372404;d:17.100000000000001;i:1526372104;d:18.746300000000002;i:1526371805;d:17.157299999999999;i:1526371504;d:13.1174;i:1526371205;d:17.206399999999999;i:1526370905;d:15.4923;i:1526370605;d:13.1305;i:1526370306;d:11.503;i:1526370005;d:14.3498;i:1526369705;d:16.347000000000001;i:1526369405;d:17.901499999999999;i:1526369105;d:13.316599999999999;i:1526368804;d:15.5297;i:1526368505;d:16.3188;i:1526368205;d:15.7143;i:1526367905;d:17.190200000000001;i:1526367604;d:19.297799999999999;i:1526367306;d:18.284700000000001;i:1526367005;d:15.2506;i:1526366705;d:14.44;i:1526366405;d:12.0867;i:1526366105;d:16.135899999999999;i:1526365805;d:11.339;i:1526365506;d:16.481100000000001;i:1526365205;d:12.1479;i:1526364905;d:14.555400000000001;i:1526364605;d:14.640000000000001;i:1526364305;d:17.093599999999999;i:1526364004;d:13.743600000000001;i:1526363705;d:18.050899999999999;i:1526363405;d:11.6281;i:1526363105;d:12.4727;i:1526362804;d:13.668699999999999;i:1526362505;d:16.313400000000001;i:1526362205;d:14.5365;i:1526361905;d:15.922700000000001;i:1526361605;d:14.3049;i:1526361305;d:10.450200000000001;i:1526361005;d:11.308199999999999;i:1526360705;d:19.616800000000001;i:1526360405;d:17.132400000000001;i:1526360105;d:12.1012;i:1526359805;d:14.23;i:1526359505;d:17.5488;i:1526359205;d:11.397500000000001;i:1526358905;d:14.823499999999999;i:1526358605;d:12.142300000000001;i:1526358305;d:14.411099999999999;i:1526358005;d:11.3904;i:1526357705;d:14.9223;i:1526357404;d:12.7827;i:1526357105;d:16.279599999999999;i:1526356805;d:14.536799999999999;i:1526356505;d:12.984500000000001;i:1526356205;d:16.8432;i:1526355905;d:12.1945;i:1526355605;d:10.656700000000001;i:1526355305;d:14.285399999999999;i:1526355005;d:16.9894;i:1526354705;d:12.8903;i:1526354405;d:15.753;i:1526354105;d:13.888400000000001;i:1526353805;d:12.302;i:1526353505;d:11.434200000000001;i:1526353205;d:11.786899999999999;i:1526352905;d:12.736800000000001;i:1526352605;d:11.646000000000001;i:1526352305;d:14.3141;i:1526352005;d:15.9626;i:1526351706;d:15.6332;i:1526351405;d:16.217500000000001;i:1526351105;d:15.963800000000001;i:1526350805;d:19.168099999999999;i:1526350504;d:15.7841;i:1526350204;d:15.9526;i:1526349905;d:16.319800000000001;i:1526349605;d:15.128399999999999;i:1526349305;d:11.909000000000001;i:1526349005;d:15.1516;i:1526348704;d:12.286300000000001;i:1526348405;d:16.048300000000001;i:1526348104;d:15.3292;i:1526347805;d:16.3797;i:1526347504;d:17.375299999999999;i:1526347205;d:13.1403;i:1526346905;d:17.333100000000002;i:1526346605;d:10.985799999999999;i:1526346305;d:15.2759;i:1526346005;d:14.3919;i:1526345705;d:10.383800000000001;i:1526345405;d:14.526400000000001;i:1526345105;d:16.248899999999999;i:1526344805;d:16.146100000000001;i:1526344506;d:12.958600000000001;i:1526344206;d:12.1821;i:1526343905;d:13.2066;i:1526343606;d:14.0418;i:1526343305;d:14.2896;i:1526343005;d:16.834800000000001;i:1526342705;d:18.266400000000001;i:1526342405;d:15.592700000000001;i:1526342105;d:11.6577;i:1526341805;d:16.041599999999999;i:1526341505;d:12.7509;i:1526341205;d:11.8164;i:1526340905;d:16.854099999999999;i:1526340605;d:12.947699999999999;i:1526340305;d:11.982100000000001;i:1526340005;d:17.996099999999998;i:1526339705;d:17.577400000000001;i:1526339405;d:17.638400000000001;i:1526339105;d:13.919499999999999;i:1526338805;d:18.907;i:1526338505;d:14.2447;i:1526338205;d:14.700799999999999;i:1526337905;d:14.1858;i:1526337605;d:13.5931;i:1526337305;d:17.133299999999998;i:1526337005;d:12.571099999999999;i:1526336706;d:13.2575;i:1526336405;d:15.975899999999999;i:1526336105;d:17.888000000000002;i:1526335805;d:13.7074;i:1526335505;d:18.2105;i:1526335205;d:14.6595;i:1526334905;d:12.251899999999999;i:1526334605;d:14.273899999999999;i:1526334305;d:13.248200000000001;i:1526334005;d:14.773899999999999;i:1526333705;d:10.6995;i:1526333405;d:12.0206;i:1526333105;d:13.1746;i:1526332805;d:14.9795;i:1526332505;d:12.070600000000001;i:1526332205;d:11.630699999999999;i:1526331905;d:14.648999999999999;i:1526331605;d:15.286799999999999;i:1526331305;d:14.239800000000001;i:1526331005;d:12.976599999999999;i:1526330705;d:14.764799999999999;i:1526330405;d:17.330200000000001;i:1526330105;d:15.3689;i:1526329805;d:16.1846;i:1526329505;d:12.6465;i:1526329205;d:12.960699999999999;i:1526328905;d:17.167200000000001;i:1526328605;d:13.725300000000001;i:1526328306;d:15.952500000000001;i:1526328005;d:15.353199999999999;i:1526327705;d:12.0761;i:1526327405;d:16.030000000000001;i:1526327105;d:15.224299999999999;i:1526326806;d:17.9163;i:1526326506;d:13.2439;i:1526326205;d:12.5313;i:1526325905;d:14.453200000000001;i:1526325605;d:17.945499999999999;i:1526325305;d:14.6938;i:1526325006;d:20.107500000000002;i:1526324706;d:14.5945;i:1526324405;d:13.8718;i:1526324105;d:20.3657;i:1526323805;d:14.8916;i:1526323505;d:13.8345;i:1526323205;d:16.129899999999999;i:1526322905;d:13.1242;i:1526322605;d:16.2315;i:1526322306;d:13.877599999999999;i:1526322005;d:11.253;i:1526321706;d:13.172700000000001;i:1526321405;d:14.582599999999999;i:1526321106;d:17.8292;i:1526320805;d:15.4457;i:1526320505;d:17.921399999999998;i:1526320206;d:17.193000000000001;i:1526319905;d:12.027100000000001;i:1526319605;d:14.818099999999999;i:1526319306;d:13.1325;i:1526319005;d:12.2872;i:1526318705;d:14.8878;i:1526318406;d:15.705;i:1526318105;d:14.186400000000001;i:1526317812;d:15.832599999999999;i:1526317505;d:46.1464;i:1526317205;d:13.8063;i:1526316905;d:16.542899999999999;i:1526316605;d:12.2072;i:1526316305;d:12.939;i:1526316005;d:15.5909;i:1526315705;d:13.2255;i:1526315405;d:14.7119;i:1526315105;d:15.772500000000001;i:1526314805;d:16.9711;i:1526314505;d:13.629300000000001;i:1526314205;d:16.9665;i:1526313906;d:13.9666;i:1526313605;d:12.7348;i:1526313305;d:13.137700000000001;i:1526313006;d:13.175800000000001;i:1526312705;d:13.4872;i:1526312405;d:19.6236;i:1526312105;d:15.668699999999999;i:1526311805;d:13.8835;i:1526311505;d:11.6706;i:1526311206;d:15.571899999999999;i:1526310905;d:17.77;i:1526310605;d:11.7826;i:1526310306;d:15.680899999999999;i:1526310006;d:14.158799999999999;i:1526309705;d:14.908300000000001;i:1526309405;d:16.721399999999999;i:1526309106;d:16.821899999999999;i:1526308805;d:24.448799999999999;i:1526308505;d:14.107900000000001;i:1526308205;d:14.505100000000001;i:1526307905;d:16.6511;i:1526307605;d:14.505699999999999;i:1526307305;d:20.250800000000002;i:1526307005;d:19.255800000000001;i:1526306706;d:12.5671;i:1526306420;d:11.337400000000001;}s:17:\"discovery_history\";a:6:{i:1526377094;d:13.9382;i:1526375869;d:15.0863;i:1526366050;d:13.773300000000001;i:1526344449;d:12.9566;i:1526322886;d:10.7845;i:1526306401;d:17.998899999999999;}}' WHERE `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00531507s]
#####  printer01.hq.leaf.space [52] completed discovery modules at 2018-05-15 09:38:28  #####

 o Discovery time       13.9382 seconds



 > $device_discovery_cache_keys /opt/observium/includes/discovery/functions.inc.php:422 
array(
  [5] => string(12) "discovery_os"
  [6] => string(7) "devices"
  [7] => string(7) "attribs"
  [8] => string(10) "port_index"
  [9] => string(4) "port"
)

SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '21103' AND `process_name` = 'discovery.php' AND `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00435591s]

SQL[SELECT * FROM `groups` ORDER BY `entity_type`]
ROWS[4]
SQL RUNTIME[0.00091195s]

SQL[SELECT * FROM `groups_assoc`]
ROWS[2]
SQL RUNTIME[0.00084090s]

SQL[SELECT device_id FROM `devices`  WHERE( IFNULL(`devices`.`hostname`, "") LIKE '%leaf.space')]
ROWS[23]
SQL RUNTIME[0.00084209s]

SQL[SELECT * FROM `group_table` WHERE `group_id` = '1']
ROWS[23]
SQL RUNTIME[0.00073099s]

SQL[SELECT device_id FROM `devices`  WHERE( IFNULL(`devices`.`hostname`, "") LIKE '%italia1.gs.leaf.space')]
ROWS[6]
SQL RUNTIME[0.00097489s]

SQL[SELECT * FROM `group_table` WHERE `group_id` = '2']
ROWS[6]
SQL RUNTIME[0.00092196s]

SQL[SELECT device_id FROM `devices`  WHERE( IFNULL(`devices`.`hostname`, "") LIKE '%lituania1.gs.leaf.space')]
ROWS[5]
SQL RUNTIME[0.00101089s]

SQL[SELECT * FROM `group_table` WHERE `group_id` = '3']
ROWS[5]
SQL RUNTIME[0.00080299s]

SQL[SELECT device_id FROM `devices`  WHERE( IFNULL(`devices`.`hostname`, "") LIKE '%.hq.leaf.space')]
ROWS[8]
SQL RUNTIME[0.00085092s]

SQL[SELECT * FROM `group_table` WHERE `group_id` = '4']
ROWS[8]
SQL RUNTIME[0.00078702s]

SQL[SELECT * FROM `alert_tests`]
ROWS[1]
SQL RUNTIME[0.00078893s]

SQL[SELECT * FROM `alert_assoc`]
ROWS[1]
SQL RUNTIME[0.00096512s]

SQL[SELECT COUNT(*) FROM `devices` AS d WHERE d.`device_id` = '52' AND IFNULL(d.`hostname`, "") LIKE '%leaf%']
ROWS[1]
SQL RUNTIME[0.00096107s]

SQL[SELECT * FROM `alert_table` WHERE `device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00756097s]

SQL[SELECT * FROM `devices` WHERE `devices`.device_id = '52']
ROWS[1]
SQL RUNTIME[0.00139093s]

SQL[SELECT * FROM `devices` WHERE `devices`.`device_id` = '52']
ROWS[1]
SQL RUNTIME[0.00099301s]
#####  Finished discovery run at 2018-05-15 09:38:28  #####

./discovery.php: printer01.hq.leaf.space - 1 devices discovered in 14.12 secs

SQL[SELECT * FROM `observium_processes` WHERE `process_start` < '1526362694']
ROWS[0]
SQL RUNTIME[0.00071406s]
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       14.12 secs
 o Memory usage         14MB (peak: 14MB)
 o MySQL Usage          Cell[34/0.029s] Row[34/0.048s] Rows[81/0.087s] Column[0/0s] Update[5/0.009s] Insert[2/0.01s] Delete[2/0.006s] 
 o RRDTool Usage