Resource filter for Linux disk full

Daniel Lacey via opennms-discuss <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi all,

I am trying to NOT monitor the percentage of disk space used on specific 
partitions on a Linux server (Centos 7).
They are always 100% full (e.g. /dev/fd).

I tried to apply a simple resource filter on the netsmnp group.
The commented line will not pass "$OPENNMS_HOME/bin/config-tester 
thresholds.xml"
Any ideas?

<group name="netsnmp" rrdRepository="/opt/opennms/share/rrd/snmp/">
         <threshold
             description="Trigger an alert when the percentage of disk 
space used on any disk reaches or goes above 90% full for two 
consecutive measurement intervals"
             type="high" ds-type="dskIndex" value="90.0" rearm="75.0"
             trigger="2" ds-label="ns-dskPath" filterOperator="or" 
ds-name="ns-dskPercent"/>
<!--
             <resource-filter 
field="ns-dskPath">^(?:(?!(/dev|/dev/fd)).)+$</resource-filter>
-->
         <threshold
             description="Trigger an alert when the percentage of inodes 
used on any disk (excluding the specified special paths) reaches or goes 
above 90% for two consecutive measurement intervals"
             type="high" ds-type="dskIndex" value="90.0" rearm="75.0"
             trigger="2" ds-label="ns-dskPath" filterOperator="or" 
ds-name="ns-dskPercentNode">
             <resource-filter 
field="ns-dskPath">^(?:(?!(/proc|/sys|/dev/pts)).)+$</resource-filter>
         </threshold>

Sincerely,
Dan


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.