Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kyob
Created February 16, 2017 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyob/8e2b04af8b00ea8e9debf2f5826a8325 to your computer and use it in GitHub Desktop.
Save kyob/8e2b04af8b00ea8e9debf2f5826a8325 to your computer and use it in GitHub Desktop.
for librenms
LibreNMS Discovery
Version info:
Commit SHA: d06aaaa222fefc083dd1c60dce1ad1cbbaf8100b
DB Schema: 164
PHP: 7.0.15
MySQL: 5.5.52-MariaDB
RRDTool: 1.4.8
SNMP: NET-SNMP 5.7.2
DEBUG!
SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1]
DB Schema already up to date.
SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '10.10.10.10' ORDER BY device_id DESC]
SQL[SELECT * FROM devices_attribs WHERE `device_id` = '4']
10.10.10.10 4 seos SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','0.37','0.49','0.41','4',NOW())]
SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysObjectID.0]
SNMPv2-SMI::enterprises.2352.1.15
Modules status: Global+ OS Device
#### Load disco module os ####
SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
Redback Networks SmartEdge OS Version SEOS-*p2-Release
Built by sysbuild@eussjlx7009.sj.us.am.ericsson.se Mon Dec 16 02:11:04 PST 2013
SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
.*.4.1.2352.1.15
| Redback Networks SmartEdge OS Version SEOS-12.1.1.5p2-Release
Built by sysbuild@eussjlx7009.sj.us.am.ericsson.se Mon Dec 16 02:11:04 PST 2013 | .1.3.6.1.4.1.2352.1.15 |
>> Runtime for discovery module 'os': 0.1070 seconds with 920 bytes
#### Unload disco module os ####
Modules status: Global+ OS Device
#### Load disco module ports ####
SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 ifDescr]
ifDescr.1 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.2 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.3 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.4 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.5 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.6 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.7 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.8 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.9 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.10 = ge2-10-port ethernet port hw rev. 4B, ver. 4
ifDescr.11 = xcrp4-base ethernet management port hw rev. 11B, ver. 4
ifDescr.12 = 10ge-4-port ethernet port hw rev. 2G, ver. 4
ifDescr.13 = 10ge-4-port ethernet port hw rev. 2G, ver. 4
ifDescr.14 = 10ge-4-port ethernet port hw rev. 2G, ver. 4
ifDescr.15 = 10ge-4-port ethernet port hw rev. 2G, ver. 4
ifDescr.68157447 = Logical Interface
ifDescr.68550645 = Logical Interface
ifDescr.68550647 = Logical Interface
ifDescr.68550648 = Logical Interface
SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 ifName]
ifName = No Such Object available on this agent at this OID
SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 ifAlias]
ifAlias = No Such Object available on this agent at this OID
SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 ifType]
ifType.1 = ethernetCsmacd
ifType.2 = ethernetCsmacd
ifType.3 = ethernetCsmacd
ifType.4 = ethernetCsmacd
ifType.5 = ethernetCsmacd
ifType.6 = ethernetCsmacd
ifType.7 = ethernetCsmacd
ifType.8 = ethernetCsmacd
ifType.9 = ethernetCsmacd
ifType.10 = ethernetCsmacd
ifType.11 = ethernetCsmacd
ifType.12 = ethernetCsmacd
ifType.13 = ethernetCsmacd
ifType.14 = ethernetCsmacd
ifType.15 = ethernetCsmacd
ifType.68157447 = propVirtual
ifType.68550645 = propVirtual
ifType.68550647 = propVirtual
ifType.68550648 = propVirtual
Array
(
[1] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[2] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[3] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[4] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[5] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[6] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[7] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[8] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[9] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[10] => Array
(
[ifDescr] => ge2-10-port ethernet port hw rev. 4B, ver. 4
[ifType] => ethernetCsmacd
)
[11] => Array
(
[ifDescr] => xcrp4-base ethernet management port hw rev. 11B, ver. 4
[ifType] => ethernetCsmacd
)
[12] => Array
(
[ifDescr] => 10ge-4-port ethernet port hw rev. 2G, ver. 4
[ifType] => ethernetCsmacd
)
[13] => Array
(
[ifDescr] => 10ge-4-port ethernet port hw rev. 2G, ver. 4
[ifType] => ethernetCsmacd
)
[14] => Array
(
[ifDescr] => 10ge-4-port ethernet port hw rev. 2G, ver. 4
[ifType] => ethernetCsmacd
)
[15] => Array
(
[ifDescr] => 10ge-4-port ethernet port hw rev. 2G, ver. 4
[ifType] => ethernetCsmacd
)
[68157447] => Array
(
[ifDescr] => Logical Interface
[ifType] => propVirtual
)
[68550645] => Array
(
[ifDescr] => Logical Interface
[ifType] => propVirtual
)
[68550647] => Array
(
[ifDescr] => Logical Interface
[ifType] => propVirtual
)
[68550648] => Array
(
[ifDescr] => Logical Interface
[ifType] => propVirtual
)
)
SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
SQL[SELECT * FROM `ports` WHERE `device_id` = '4' ORDER BY port_id]
...................
>> Runtime for discovery module 'ports': 0.0770 seconds with 2072 bytes
#### Unload disco module ports ####
Modules status: Global- OS Device Module [ ports-stack ] disabled globally.
Modules status: Global- OS Device Module [ entity-physical ] disabled globally.
Modules status: Global+ OS Device
#### Load disco module processors ####
hrDevice: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 hrDevice]
hrDevice = No Such Object available on this agent at this OID
SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 hrProcessorLoad]
hrProcessorLoad = No Such Object available on this agent at this OID
SQL[SELECT COUNT(*) FROM `processors` WHERE `device_id` = '4' AND `processor_type` != 'ucd-old']
SQL[SELECT * FROM `processors` WHERE `device_id` = '4']
>> Runtime for discovery module 'processors': 0.0380 seconds with 32168 bytes
#### Unload disco module processors ####
Modules status: Global- OS Device Module [ mempools ] disabled globally.
Modules status: Global- OS Device Module [ cisco-vrf-lite ] disabled globally.
Modules status: Global- OS Device Module [ cisco-mac-accounting ] disabled globally.
Modules status: Global- OS Device Module [ cisco-pw ] disabled globally.
Modules status: Global- OS Device Module [ cisco-vrf ] disabled globally.
Modules status: Global- OS Device Module [ cisco-cef ] disabled globally.
Modules status: Global- OS Device Module [ cisco-sla ] disabled globally.
Modules status: Global- OS Device Module [ cisco-cbqos ] disabled globally.
Modules status: Global- OS Device Module [ cisco-otv ] disabled globally.
Modules status: Global- OS Device Module [ ipv4-addresses ] disabled globally.
Modules status: Global- OS Device Module [ ipv6-addresses ] disabled globally.
Modules status: Global- OS Device Module [ route ] disabled globally.
Modules status: Global- OS Device+
#### Load disco module sensors ####
Pre-cache:
ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhysicalDescr]
entPhysicalDescr = No Such Object available on this agent at this OID
entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhysicalName]
entPhysicalName = No Such Object available on this agent at this OID
entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhySensorType]
entPhySensorType = No Such Object available on this agent at this OID
entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhySensorScale]
entPhySensorScale = No Such Object available on this agent at this OID
entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhySensorPrecision]
entPhySensorPrecision = No Such Object available on this agent at this OID
entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 entPhySensorValue]
entPhySensorValue = No Such Object available on this agent at this OID
SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '4' AND `attrib_type` = 'ipmi_hostname' ]
SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'ipmi']
SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'ipmi']
SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'ipmi']
SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'ipmi']
Airflow: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='airflow' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Current: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='current' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Charge: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='charge' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Dbm: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='dbm' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Fanspeeds: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeeds' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Frequencies: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='frequencies' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Humidity: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='humidity' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Load: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='load' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Power: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Runtime: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='runtime' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Signal: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='signal' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
States: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='states' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Temperatures: RBN-ENVMON-MIB SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -m RBN-ENVMON-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 rbnCpuTempDescr]
.*.4.1.23*.*.1 Temperature sensor on slot 1
.*.4.1.23*.*.1 Temperature sensor on slot 2
.*.4.1.23*.*.1 Temperature sensor on slot 8 - Processor
.*.4.1.23*.*.2 Temperature sensor on slot 8 - Exhaust Air
.*.4.1.23*.*.3 Temperature sensor on slot 8 - Inlet Air
SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.4.1.3.13.1]
51
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.4.1.3.13.1, 0, seos, Temperature sensor on slot 1, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '0']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '0']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.4.1.3.18.1]
42
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.4.1.3.18.1, 1, seos, Temperature sensor on slot 2, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '1']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '1']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.1]
58
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.1, 2, seos, Temperature sensor on slot 8 - Processor, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '2']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '2']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.2]
42
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.2, 3, seos, Temperature sensor on slot 8 - Exhaust Air, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '3']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '3']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.3]
33
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.4.1.3.29.3, 4, seos, Temperature sensor on slot 8 - Inlet Air, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '4']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '4']
.SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -m RBN-ENVMON-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 rbnEntityTempDescr]
.*.4.1.23*.*.1 Temperature sensor on slot 1
.*.4.1.23*.*.1 Temperature sensor on slot 2
.*.4.1.23*.*.1 Temperature sensor on slot 8 - Processor
.*.4.1.23*.*.2 Temperature sensor on slot 8 - Exhaust Air
.*.4.1.23*.*.3 Temperature sensor on slot 8 - Inlet Air
SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.6.1.3.13.1]
51
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.6.1.3.13.1, 5, seos, Temperature sensor on slot 1, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '5']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '5']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.6.1.3.18.1]
42
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.6.1.3.18.1, 6, seos, Temperature sensor on slot 2, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '6']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '6']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.1]
58
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.1, 7, seos, Temperature sensor on slot 8 - Processor, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '7']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '7']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.2]
42
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.2, 8, seos, Temperature sensor on slot 8 - Exhaust Air, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '8']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '8']
.SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson udp:HOSTNAME:161 .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.3]
33
Discover sensor: .1.3.6.1.4.1.2352.2.4.1.6.1.3.29.3, 9, seos, Temperature sensor on slot 8 - Inlet Air, snmp, ,
SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '4' AND sensor_type = 'seos' AND `sensor_index` = '9']
SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '4' AND `sensor_type` = 'seos' AND `sensor_index` = '9']
.SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='seos' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
Voltages: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltages' AND S.device_id = D.device_id AND D.device_id = '4' AND S.poller_type = 'snmp']
>> Runtime for discovery module 'sensors': 1.0790 seconds with 11144 bytes
#### Unload disco module sensors ####
Modules status: Global- OS Device Module [ storage ] disabled globally.
Modules status: Global- OS Device Module [ hr-device ] disabled globally.
Modules status: Global- OS Device Module [ discovery-protocols ] disabled globally.
Modules status: Global- OS Device Module [ arp-table ] disabled globally.
Modules status: Global+ OS Device
#### Load disco module discovery-arp ####
SQL[
SELECT *
FROM ipv4_mac as m, ports as i
WHERE m.port_id = i.port_id
AND i.device_id = '4'
AND i.deleted = 0
AND NOT EXISTS (
SELECT * FROM ipv4_addresses a
WHERE a.ipv4_address = m.ipv4_address
)
GROUP BY ipv4_address
ORDER BY ipv4_address
]
>> Runtime for discovery module 'discovery-arp': 0.0010 seconds with 888 bytes
#### Unload disco module discovery-arp ####
Modules status: Global- OS Device Module [ junose-atm-vp ] disabled globally.
Modules status: Global- OS Device Module [ bgp-peers ] disabled globally.
Modules status: Global- OS Device Module [ vlans ] disabled globally.
Modules status: Global- OS Device Module [ vmware-vminfo ] disabled globally.
Modules status: Global- OS Device Module [ libvirt-vminfo ] disabled globally.
Modules status: Global- OS Device Module [ toner ] disabled globally.
Modules status: Global- OS Device Module [ ucd-diskio ] disabled globally.
Modules status: Global- OS Device Module [ services ] disabled globally.
Modules status: Global- OS Device Module [ stp ] disabled globally.
Modules status: Global- OS Device Module [ ntp ] disabled globally.
Modules status: Global- OS Device Module [ loadbalancers ] disabled globally.
Modules status: Global- OS Device Module [ unix-agent ] disabled globally.
Modules status: Global+ OS Device
#### Load disco module system ####
>> Runtime for discovery module 'system': 0.0000 seconds with 96 bytes
#### Unload disco module system ####
Modules status: Global- OS Device Module [ ipmi ] disabled globally.
Modules status: Global- OS Device Module [ netstats ] disabled globally.
Modules status: Global- OS Device Module [ hr-mib ] disabled globally.
Modules status: Global- OS Device Module [ ucd-mib ] disabled globally.
Modules status: Global- OS Device Module [ ipSystemStats ] disabled globally.
Modules status: Global- OS Device Module [ wifi ] disabled globally.
Modules status: Global- OS Device Module [ ospf ] disabled globally.
Modules status: Global- OS Device Module [ cisco-ipsec-flow-monitor ] disabled globally.
Modules status: Global- OS Device Module [ cisco-remote-access-monitor ] disabled globally.
Modules status: Global- OS Device Module [ cipsec-tunnels ] disabled globally.
Modules status: Global- OS Device Module [ cisco-ace-loadbalancer ] disabled globally.
Modules status: Global- OS Device Module [ cisco-ace-serverfarms ] disabled globally.
Modules status: Global- OS Device Module [ netscaler-vsvr ] disabled globally.
Modules status: Global- OS Device Module [ aruba-controller ] disabled globally.
Modules status: Global- OS Device Module [ applications ] disabled globally.
Modules status: Global- OS Device Module [ cisco-asa-firewall ] disabled globally.
Modules status: Global- OS Device+
#### Load disco module mib ####
>> Runtime for discovery module 'mib': 4.5060 seconds with 96 bytes
#### Unload disco module mib ####
Modules status: Global- OS Device Module [ cisco-voice ] disabled globally.
Modules status: Global- OS Device Module [ charge ] disabled globally.
SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '4' AND `attrib_type` = 'poll_mib' ]
SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '4' AND `attrib_type` = 'poll_mib' ]
MIB: registering
SNMP[snmptranslate -M /opt/librenms/mibs:/opt/librenms/mibs/ericsson -IR -m all enterprises.2352.1.15 2>/dev/null]
RBN-SMI::rbnProducts.15
SNMP translated: all::enterprises.2352.1.15 -> RBN-SMI::rbnProducts.15
RBN-SMI::rbnProducts.15
Array
(
)
MIB: Could not load definition for RBN-SMI::rbnProducts.15
SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='2.300' WHERE `device_id` = '4']
Discovered in 2.300 seconds
SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','10.10.10.10','1487239145.2468','2.336','1','LIBRENMS\n')]
./discovery.php 10.10.10.10 2017-02-16 10:59:07 - 1 devices discovered in 2.336 secs
SNMP: Get[13/0.56s] Walk [14/0.67s]
MySQL: Cell[14/0.01s] Row[14/0.01s] Rows[25/0.01s] Column[0/0.00s] Update[1/0.00s] Insert[2/0.00s] Delete[0/0.00s]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment