package hrStorage in threshold configuration should also contain linux devices

Description

I think devices with sysObjectID LIKE '.1.3.6.1.4.1.8072.% should be added to the hrstorage thresholding package.

reason:

My linux boxes all present hrStorageTable out-of-the-box, whereas none present dskTable unless I add some "disk" lines in snmpd.conf

Solution:

change the following lines in thresd-configuration.xml:

<package name="hrstorage">
<filter>IPADDR != '0.0.0.0' &amp; (nodeSysOID LIKE '.1.3.6.1.4.1.311.%' | nodeSysOID LIKE '.1.3.6.1.4.1.2.3.1.2.1.1.3.%')</filter>

to

<package name="hrstorage">
<filter>IPADDR != '0.0.0.0' &amp; (nodeSysOID LIKE '.1.3.6.1.4.1.311.%' | nodeSysOID LIKE '.1.3.6.1.4.1.2.3.1.2.1.1.3.%' | nodeSysOID LIKE '.1.3.6.1.4.1.8072.%')</filter>

Environment

linux net-snmp

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Ronny Trommer January 26, 2017 at 10:17 AM

Merged to develop

Ronny Trommer December 8, 2016 at 8:54 AM

Cyrille Bollu December 1, 2016 at 10:58 AM

I've written a PR if you guys want to comment: https://github.com/OpenNMS/opennms/pull/1172

Cyrille Bollu November 30, 2016 at 5:28 AM

You can have a look at my work here: https://github.com/StCyr/opennms/tree/NM-5069-stcyr-doc

Cyrille Bollu November 30, 2016 at 3:25 AM

I'm busy updating the doc.

Please hold on

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 25, 2011 at 10:02 AM
Updated January 26, 2017 at 3:15 PM
Resolved January 26, 2017 at 10:17 AM

Flag notifications