From OpenNMS
| This page is obsolescent and will soon be obsolete. Please see [The Disk Usage Monitoring section of the snmpd.conf man page] instead. This article prescribes many painful steps that are not necessary in recent OpenNMS versions. Only the step pertaining to Net-SNMP's snmpd.conf file is necessary since OpenNMS 1.3.9. |
Contents |
Version Warning
This article applies to OpenNMS 1.2.x. If you are running a newer version, please note that the hard-coded instance identifiers used in this article are no longer necessary. In versions of OpenNMS from about 1.3.9 onwards, all the information described in this article should be present out of the box. The only configuration changes that might be necessary are those to the snmpd.conf files on the managed systems.
If you insist on trying to apply this article to a recent version of OpenNMS, please note that the "type" sub-property in snmp-graph.properties needs to be nodeSnmp instead of node.
Based off a message from Aitor Goiri to the opennms-discuss list
From the opennms-discuss list, Aitor Goiri writes:
I prefer to customize the /etc/snmp/snmpd.conf file by adding (for example):
disk / disk /home disk /usr disk /opt disk /var
I am taking the liberty of modifying the rest of Aitor's post with a more detailed discussion of this topic.
I want to provide a step by step procedure for configuring disk space information on servers with different partitions. This consists of modifying the net-snmp agent, then setting up data collection, to generating graphs and finally setting thresholds.
Partition layout
Suppose there are the following paritions on three different machines:
1st machine
/ /usr /var /tmp /home /logs /hyperlib /webroot
2nd machine
/ /usr /var /tmp /home /usr/sys/inst.images /apps /database /usr/netscape /proc /opt /hyperlib
3rd machine
/ /usr /var /tmp /home /proc /opt /hyperlib /backitems /topic /usr/netscape /intake
Configuration
Step 1: Setting up net-snmp
Edit the snmpd.conf file on each machine. Find the section of the file that talks about the "disk" directive.
On the 1st machine, you would add:
disk / disk /usr disk /var disk /tmp disk /home disk /logs disk /hyperlib disk /webroot
Edit the snmpd.conf file on the second 2nd machine and add:
disk / disk /usr disk /var disk /tmp disk /home disk /usr/sys/inst.images disk /apps disk /database disk /usr/netscape disk /proc disk /opt disk /hyperlib
Edit the snmpd.conf file on the 3rd machine and add:
disk / disk /usr disk /var disk /tmp disk /home disk /proc disk /opt disk /hyperlib disk /backitems disk /topic disk /usr/netscape disk /intake
Then restart the snmpd process on all three devices.
Step 2: Setting up the datacollection-config.xml file
NOTE: You may want to backup datacollection-config.xml, collectd-configuration.xml, thresholds.xml and snmp-graph.properties before continuing.
For this step you will need to know the systemOID for the systems. You should be able to snmpwalk the system tree to retrieve this. My guess is that it will start out with something like: .1.3.6.1.4.1.8072 or .1.3.6.1.4.1.2021.
You can run the following command to get your sysObjectID
snmpget -On -c public -v 1 host_ip sysObjectID.0
The value returned will go into the "<sysoidMask>[system OID from above]</sysoidMask>" section.
On the OpenNMS system, edit the datacollection-config.xml file and add the following after the next to the last line </snmp-collection>:
<snmp-collection name="System-1"
maxVarsPerPdu = "50"
snmpStorageFlag = "select">
<rrd step = "300">
<rra>RRA:AVERAGE:0.5:1:8928</rra>
<rra>RRA:AVERAGE:0.5:12:8784</rra>
<rra>RRA:MIN:0.5:12:8784</rra>
<rra>RRA:MAX:0.5:12:8784</rra>
</rrd>
<groups>
<group name="ucd-disk-space" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="1" alias="disk-root-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="2" alias="disk-usr-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="3" alias="disk-var-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="4" alias="disk-tmp-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="5" alias="disk-home-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="6" alias="disk-logs-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="7" alias="disk-hyperlib-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="8" alias="disk-webroot-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="1" alias="disk-root-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="2" alias="disk-usr-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="3" alias="disk-var-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="4" alias="disk-tmp-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="5" alias="disk-home-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="6" alias="disk-logs-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="7" alias="disk-hyperlib-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="8" alias="disk-webroot-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="1" alias="disk-root-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="2" alias="disk-usr-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="3" alias="disk-var-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="4" alias="disk-tmp-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="5" alias="disk-home-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="6" alias="disk-logs-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="7" alias="disk-hyperlib-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="8" alias="disk-webroot-pcent" type="integer" />
</group>
</groups>
<systems>
<systemDef name = "System-1">
<sysoidMask>[system OID from above]</sysoidMask>
<collect>
<includeGroup>ucd-disk-space</includeGroup>
</collect>
</systemDef>
</systems>
</snmp-collection>
<snmp-collection name="System-2"
maxVarsPerPdu = "50"
snmpStorageFlag = "select">
<rrd step = "300">
<rra>RRA:AVERAGE:0.5:1:8928</rra>
<rra>RRA:AVERAGE:0.5:12:8784</rra>
<rra>RRA:MIN:0.5:12:8784</rra>
<rra>RRA:MAX:0.5:12:8784</rra>
</rrd>
<groups>
<group name="ucd-disk-space" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="1" alias="disk-root-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="2" alias="disk-usr-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="3" alias="disk-var-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="4" alias="disk-tmp-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="5" alias="disk-home-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="6" alias="disk-instimg-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="7" alias="disk-apps-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="8" alias="disk-database-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="9" alias="disk-netscape-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="10" alias="disk-proc-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="11" alias="disk-opt-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="12" alias="disk-hyperlib-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="1" alias="disk-root-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="2" alias="disk-usr-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="3" alias="disk-var-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="4" alias="disk-tmp-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="5" alias="disk-home-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="6" alias="disk-instimg-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="7" alias="disk-apps-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="8" alias="disk-database-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="9" alias="disk-netscape-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="10" alias="disk-proc-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="11" alias="disk-opt-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="12" alias="disk-hyperlib-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="1" alias="disk-root-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="2" alias="disk-usr-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="3" alias="disk-var-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="4" alias="disk-tmp-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="5" alias="disk-home-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="6" alias="disk-instimg-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="7" alias="disk-apps-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="8" alias="disk-database-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="9" alias="disk-netscape-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="10" alias="disk-proc-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="11" alias="disk-opt-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="12" alias="disk-hyperlib-pcent" type="integer" />
</group>
</groups>
<systems>
<systemDef name = "System-2">
<sysoidMask>[system OID from above]</sysoidMask>
<collect>
<includeGroup>ucd-disk-space</includeGroup>
</collect>
</systemDef>
</systems>
</snmp-collection>
<snmp-collection name="System-3"
maxVarsPerPdu = "50"
snmpStorageFlag = "select">
<rrd step = "300">
<rra>RRA:AVERAGE:0.5:1:8928</rra>
<rra>RRA:AVERAGE:0.5:12:8784</rra>
<rra>RRA:MIN:0.5:12:8784</rra>
<rra>RRA:MAX:0.5:12:8784</rra>
</rrd>
<groups>
<group name="ucd-disk-space" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="1" alias="disk-root-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="2" alias="disk-usr-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="3" alias="disk-var-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="4" alias="disk-tmp-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="5" alias="disk-home-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="6" alias="disk-proc-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="7" alias="disk-opt-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="8" alias="disk-hyberlib-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="9" alias="disk-bckitems-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="10" alias="disk-topic-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="11" alias="disk-netscape-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.6" instance="12" alias="disk-intake-tot" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="1" alias="disk-root-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="2" alias="disk-usr-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="3" alias="disk-var-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="4" alias="disk-tmp-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="5" alias="disk-home-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="6" alias="disk-proc-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="7" alias="disk-opt-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="8" alias="disk-hyperlib-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="9" alias="disk-bckitems-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="10" alias="disk-topic-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="11" alias="disk-netscape-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.8" instance="12" alias="disk-intake-used" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="1" alias="disk-root-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="2" alias="disk-usr-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="3" alias="disk-var-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="4" alias="disk-tmp-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="5" alias="disk-home-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="6" alias="disk-proc-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="7" alias="disk-opt-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="8" alias="disk-hyperlib-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="9" alias="disk-bckitems-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="10" alias="disk-topic-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="11" alias="disk-netscape-pcent" type="integer" />
<mibObj oid=".1.3.6.1.4.1.2021.9.1.9" instance="12" alias="disk-intake-pcent" type="integer" />
</group>
</groups>
<systems>
<systemDef name = "System-3">
<sysoidMask>[system OID from above]</sysoidMask>
<collect>
<includeGroup>ucd-disk-space</includeGroup>
</collect>
</systemDef>
</systems>
</snmp-collection>
NOTE: The name in the "alias" field is limited to 19 characters, and replace the [system OID from above] with the appropriate string.
The whole concept here is to create RRD files that include the name of the disk partition we wish to measure.
Step 3: Editing the collectd-configuration file
On the OpenNMS system, edit the collectd-configuration file and add the following packages:
<package name="System-1">
<filter>IPADDR IPLIKE *.*.*.*</filter>
<specific>[IP address of System 1]</specific>
<service name="SNMP" interval="300000" user-defined="true" status="on">
<parameter key="collection" value="System-1"/>
<parameter key="port" value="161"/>
<parameter key="retry" value="3"/>
<parameter key="timeout" value="3000"/>
</service>
<outage-calendar>zzz from poll-outages.xml zzz</outage-calendar>
</package>
<package name="System-2">
<filter>IPADDR IPLIKE *.*.*.*</filter>
<specific>[IP address of System 2]</specific>
<service name="SNMP" interval="300000" user-defined="true" status="on">
<parameter key="collection" value="System-2"/>
<parameter key="port" value="161"/>
<parameter key="retry" value="3"/>
<parameter key="timeout" value="3000"/>
</service>
<outage-calendar>zzz from poll-outages.xml zzz</outage-calendar>
</package>
<package name="System-3">
<filter>IPADDR IPLIKE *.*.*.*</filter>
<specific>[IP address of System 3]</specific>
<service name="SNMP" interval="300000" user-defined="true" status="on">
<parameter key="collection" value="System-3"/>
<parameter key="port" value="161"/>
<parameter key="retry" value="3"/>
<parameter key="timeout" value="3000"/>
</service>
<outage-calendar>zzz from poll-outages.xml zzz</outage-calendar>
</package>
NOTE: Replace the text in square brackets with the appropriate IP address.
You don't need a separate group for every server, just one for each one with a different partition setup. Use multiple <specific> tags to add or remove servers from the group.
Step 4: Adding graphs to the system
On the OpenNMS system, edit the snmp-graph.properties file. Add the following report definitions:
report.disk.root.name=Disk Space on /
report.disk.root.columns=disk-root-tot, disk-root-used
report.disk.root.type=nodeSnmp
report.disk.root.command=--title="Disk Space on /" \
DEF:dtotalk={rrd1}:disk-root-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-root-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.rootpercent.name=Percentage Disk Space on /
report.disk.rootpercent.columns=disk-root-pcent
report.disk.rootpercent.type=nodeSnmp
report.disk.rootpercent.command=--title="Percentage Disk Space on /" \
DEF:dpercent={rrd1}:disk-root-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.usr.name=Disk Space on /usr
report.disk.usr.columns=disk-usr-tot, disk-usr-used
report.disk.usr.type=nodeSnmp
report.disk.usr.command=--title="Disk Space on /usr" \
DEF:dtotalk={rrd1}:disk-usr-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-usr-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.usrpercent.name=Percentage Disk Space on /usr
report.disk.usrpercent.columns=disk-usr-pcent
report.disk.usrpercent.type=nodeSnmp
report.disk.usrpercent.command=--title="Percentage Disk Space on /usr" \
DEF:dpercent={rrd1}:disk-usr-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.var.name=Disk Space on /var
report.disk.var.columns=disk-var-tot, disk-var-used
report.disk.var.type=nodeSnmp
report.disk.var.command=--title="Disk Space on /var" \
DEF:dtotalk={rrd1}:disk-var-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-var-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.varpercent.name=Percentage Disk Space on /var
report.disk.varpercent.columns=disk-var-pcent
report.disk.varpercent.type=nodeSnmp
report.disk.varpercent.command=--title="Percentage Disk Space on /var" \
DEF:dpercent={rrd1}:disk-var-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.tmp.name=Disk Space on /tmp
report.disk.tmp.columns=disk-tmp-tot, disk-tmp-used
report.disk.tmp.type=nodeSnmp
report.disk.tmp.command=--title="Disk Space on /tmp" \
DEF:dtotalk={rrd1}:disk-tmp-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-tmp-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.tmppercent.name=Percentage Disk Space on /tmp
report.disk.tmppercent.columns=disk-tmp-pcent
report.disk.tmppercent.type=nodeSnmp
report.disk.tmppercent.command=--title="Percentage Disk Space on /tmp" \
DEF:dpercent={rrd1}:disk-tmp-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.home.name=Disk Space on /home
report.disk.home.columns=disk-home-tot, disk-home-used
report.disk.home.type=nodeSnmp
report.disk.home.command=--title="Disk Space on /home" \
DEF:dtotalk={rrd1}:disk-home-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-home-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.homepercent.name=Percentage Disk Space on /home
report.disk.homepercent.columns=disk-home-pcent
report.disk.homepercent.type=nodeSnmp
report.disk.homepercent.command=--title="Percentage Disk Space on /home" \
DEF:dpercent={rrd1}:disk-home-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.logs.name=Disk Space on /logs
report.disk.logs.columns=disk-logs-tot, disk-logs-used
report.disk.logs.type=nodeSnmp
report.disk.logs.command=--title="Disk Space on /logs" \
DEF:dtotalk={rrd1}:disk-logs-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-logs-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.logspercent.name=Percentage Disk Space on /logs
report.disk.logspercent.columns=disk-logs-pcent
report.disk.logspercent.type=nodeSnmp
report.disk.logspercent.command=--title="Percentage Disk Space on /logs" \
DEF:dpercent={rrd1}:disk-logs-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.hyperlib.name=Disk Space on /hyperlib
report.disk.hyperlib.columns=disk-hyperlib-tot, disk-hyperlib-used
report.disk.hyperlib.type=nodeSnmp
report.disk.hyperlib.command=--title="Disk Space on /hyperlib" \
DEF:dtotalk={rrd1}:disk-hyperlib-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-hyperlib-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.hyperlibpercent.name=Percentage Disk Space on /hyperlib
report.disk.hyperlibpercent.columns=disk-hyperlib-pcent
report.disk.hyperlibpercent.type=nodeSnmp
report.disk.hyperlibpercent.command=--title="Percentage Disk Space on /hyperlib" \
DEF:dpercent={rrd1}:disk-hyperlib-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.webroot.name=Disk Space on /webroot
report.disk.webroot.columns=disk-webroot-tot, disk-webroot-used
report.disk.webroot.type=nodeSnmp
report.disk.webroot.command=--title="Disk Space on /webroot" \
DEF:dtotalk={rrd1}:disk-webroot-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-webroot-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.webrootpercent.name=Percentage Disk Space on /webroot
report.disk.webrootpercent.columns=disk-webroot-pcent
report.disk.webrootpercent.type=nodeSnmp
report.disk.webrootpercent.command=--title="Percentage Disk Space on /webroot" \
DEF:dpercent={rrd1}:disk-webroot-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.instimg.name=Disk Space on /usr/sys/inst.images
report.disk.instimg.columns=disk-instimg-tot, disk-instimg-used
report.disk.instimg.type=nodeSnmp
report.disk.instimg.command=--title="Disk Space on /usr/sys/inst.images" \
DEF:dtotalk={rrd1}:disk-instimg-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-instimg-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.instimgpercent.name=Percentage Disk Space on /usr/sys/inst.images
report.disk.instimgpercent.columns=disk-instimg-pcent
report.disk.instimgpercent.type=nodeSnmp
report.disk.instimgpercent.command=--title="Percentage Disk Space on /usr/sys/inst.images" \
DEF:dpercent={rrd1}:disk-instimg-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.apps.name=Disk Space on /apps
report.disk.apps.columns=disk-apps-tot, disk-apps-used
report.disk.apps.type=nodeSnmp
report.disk.apps.command=--title="Disk Space on /apps" \
DEF:dtotalk={rrd1}:disk-apps-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-apps-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.appspercent.name=Percentage Disk Space on /apps
report.disk.appspercent.columns=disk-apps-pcent
report.disk.appspercent.type=nodeSnmp
report.disk.appspercent.command=--title="Percentage Disk Space on /apps" \
DEF:dpercent={rrd1}:disk-apps-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.database.name=Disk Space on /database
report.disk.database.columns=disk-database-tot, disk-database-used
report.disk.database.type=nodeSnmp
report.disk.database.command=--title="Disk Space on /database" \
DEF:dtotalk={rrd1}:disk-database-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-database-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.databasepercent.name=Percentage Disk Space on /database
report.disk.databasepercent.columns=disk-database-pcent
report.disk.databasepercent.type=nodeSnmp
report.disk.databasepercent.command=--title="Percentage Disk Space on /database" \
DEF:dpercent={rrd1}:disk-database-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.proc.name=Disk Space on /proc
report.disk.proc.columns=disk-proc-tot, disk-proc-used
report.disk.proc.type=nodeSnmp
report.disk.proc.command=--title="Disk Space on /proc" \
DEF:dtotalk={rrd1}:disk-proc-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-proc-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.procpercent.name=Percentage Disk Space on /proc
report.disk.procpercent.columns=disk-proc-pcent
report.disk.procpercent.type=nodeSnmp
report.disk.procpercent.command=--title="Percentage Disk Space on /proc" \
DEF:dpercent={rrd1}:disk-proc-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.opt.name=Disk Space on /opt
report.disk.opt.columns=disk-opt-tot, disk-opt-used
report.disk.opt.type=nodeSnmp
report.disk.opt.command=--title="Disk Space on /opt" \
DEF:dtotalk={rrd1}:disk-opt-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-opt-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.optpercent.name=Percentage Disk Space on /opt
report.disk.optpercent.columns=disk-opt-pcent
report.disk.optpercent.type=nodeSnmp
report.disk.optpercent.command=--title="Percentage Disk Space on /opt" \
DEF:dpercent={rrd1}:disk-opt-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.bckitems.name=Disk Space on /bckitems
report.disk.bckitems.columns=disk-bckitems-tot, disk-bckitems-used
report.disk.bckitems.type=nodeSnmp
report.disk.bckitems.command=--title="Disk Space on /bckitems" \
DEF:dtotalk={rrd1}:disk-bckitems-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-bckitems-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.bckitemspercent.name=Percentage Disk Space on /bckitems
report.disk.bckitemspercent.columns=disk-bckitems-pcent
report.disk.bckitemspercent.type=nodeSnmp
report.disk.bckitemspercent.command=--title="Percentage Disk Space on /bckitems" \
DEF:dpercent={rrd1}:disk-bckitems-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.topic.name=Disk Space on /topic
report.disk.topic.columns=disk-topic-tot, disk-topic-used
report.disk.topic.type=nodeSnmp
report.disk.topic.command=--title="Disk Space on /topic" \
DEF:dtotalk={rrd1}:disk-topic-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-topic-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.topicpercent.name=Percentage Disk Space on /topic
report.disk.topicpercent.columns=disk-topic-pcent
report.disk.topicpercent.type=nodeSnmp
report.disk.topicpercent.command=--title="Percentage Disk Space on /topic" \
DEF:dpercent={rrd1}:disk-topic-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.intake.name=Disk Space on /intake
report.disk.intake.columns=disk-intake-tot, disk-intake-used
report.disk.intake.type=nodeSnmp
report.disk.intake.command=--title="Disk Space on /intake" \
DEF:dtotalk={rrd1}:disk-intake-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-intake-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.intakepercent.name=Percentage Disk Space on /intake
report.disk.intakepercent.columns=disk-intake-pcent
report.disk.intakepercent.type=nodeSnmp
report.disk.intakepercent.command=--title="Percentage Disk Space on /intake" \
DEF:dpercent={rrd1}:disk-intake-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.netscape.name=Disk Space on /usr/netscape
report.disk.netscape.columns=disk-netscape-tot, disk-netscape-used
report.disk.netscape.type=nodeSnmp
report.disk.netscape.command=--title="Disk Space on /usr/netscape" \
DEF:dtotalk={rrd1}:disk-netscape-tot:AVERAGE \
DEF:dusedk={rrd2}:disk-netscape-used:AVERAGE \
CDEF:dtotal=dtotalk,1024,* \
CDEF:dused=dusedk,1024,* \
LINE2:dtotal#0000ff:"Disk Space Total" \
GPRINT:dtotal:AVERAGE:" Avg \\\: %8.2lf %s" \
GPRINT:dtotal:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dtotal:MAX:"Max \\\: %8.2lf %s\\n" \
LINE2:dused#ff0000:"Disk Space Used" \
GPRINT:dused:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dused:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dused:MAX:"Max \\\: %8.2lf %s\\n"
report.disk.netscapepercent.name=Percentage Disk Space on /usr/netscape
report.disk.netscapepercent.columns=disk-netscape-pcent
report.disk.netscapepercent.type=nodeSnmp
report.disk.netscapepercent.command=--title="Percentage Disk Space on /usr/netscape" \
DEF:dpercent={rrd1}:disk-netscape-pcent:AVERAGE \
LINE2:dpercent#0000ff:"% Disk Space Used" \
GPRINT:dpercent:AVERAGE:"Avg \\\: %8.2lf %s" \
GPRINT:dpercent:MIN:"Min \\\: %8.2lf %s" \
GPRINT:dpercent:MAX:"Max \\\: %8.2lf %s\\n"
Finally, find the "reports=" line at the top of that file and insert:
disk.root, disk.rootpercent, disk.usr, disk.usrpercent, \ disk.var, disk.varpercent, disk.tmp, disk.tmppercent, \ disk.home, disk.homepercent, disk.logs, disk.logspercent, \ disk.hyperlib, disk.hyperlibpercent, disk.webroot, disk.webrootpercent, \ disk.instimg, disk.instimgpercent, disk.apps, disk.appspercent, \ disk.database, disk.databasepercent, disk.proc, disk.procpercent, \ disk.opt, disk.optpercent, \ disk.bckitems, disk.bckitemspercent, disk.topic, disk.topicpercent, \ disk.intake, disk.intakepercent, disk.netscape, disk.netscapepercent \
on the line *before*
hrMemory, hrNumUsers, hrSystemProcesses, hrSystemUptime, cpuRaw
NOTE: Do not have any whitespace after the "\" characters, and if "Calculating ..." shows up in the webUI and won't go away, you probably have a mistake in this file.
Step 5: Thresholds
On the OpenNMS machine, edit the thresholds.xml file:
Just before the </group> tag at the bottom of the "default-snmp" group, add:
<threshold type="high" ds-name="disk-root-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-usr-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-var-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-tmp-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-home-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-logs-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-hyperlib-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-webroot-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-instimg-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-apps-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-database-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-proc-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-opt-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-bckitems-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-topic-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-intake-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
<threshold type="high" ds-name="disk-netscape-pcent" ds-type="node" value="90" rearm="70" trigger="2"/>
This will cause a highThreshold event when disk space reaches 90% on any volume. Tune as needed.






