From OpenNMS
Data Collectection. This part should be done for every server, but confirm.
Edit collectd-configuration.xml Add a package like this:
<package name="Your Netware Server Name">
<filter>IPADDR IPLIKE *.*.*.*</filter>
<specific>"Your NetWare IP Address"</specific>
<service name="SNMP" interval="300000" user-defined="true" status="on">
<parameter key="collection" value="Your Netware Server Name"/>
<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 the specific IP address, that means the the IP address "Your NetWare IP address" will use the collection called "Your Netware Server Name", as defined under the service snmp parameter.
Then add the collection with the same name to datacollection-config.xml:
Edit datacollection-config.xml
<snmp-collection name="Your NetWare Server Name"
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="netware-disk-space" ifType="ignore">
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="1" alias="disk-sys-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="2" alias="disk-admin-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="3" alias="disk-dept-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="4" alias="disk-nos-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="5" alias="disk-ts-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="6" alias="disk-psft-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="7" alias="disk-user-free" type="integer" />
<mibObj oid=".1.3.6.1.4.1.23.2.28.2.14.1.4" instance="8" alias="disk-apps-free" type="integer" />
</group>
</groups>
<systems>
<systemDef name = "Your NetWare Server Name">
<sysoidMask>.1.3.6.1.4.1.23.</sysoidMask>
<collect>
<includeGroup>netware-disk-space</includeGroup>
</collect>
</systemDef>
</systems>
</snmp-collection>
The instances and aliases correspond with those discovered by the snmpwalk command earlier. If you restart opennms now, datacollection will begin on these disks. No graphing or thresholding will take effect yet though.






