I added it to cd usr/share/snmp/mibs
I amde it a *.txt file...so the name is now MITEL-BWM-MIB.txt.
Then i found on the internet i needed to add some txt to my snmpd.conf(cd etc/snmp/snmpd.conf) mibs +ALL
But how do i know if it works. Are what is the next step. Can someone help me out.
This is a vendor base MIB. I already have the OIDs and the templates but still nothing.
IM trying to fix the mitel Templates.
Code: Select all
<interface>
<name>Get Mitel Bandwidth Statistics</name>
<description>Queries a Mitel controller for Bandwidth Management Stats</description>
<oid_index>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.1.1.1</oid_index>
<oid_index_parse>OID/REGEXP:^.*\.1027\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.[0-9]\.([0-9\.]*)$</oid_index_parse>
<index_order>dsZAPLabel</index_order>
<index_order_type>numeric</index_order_type>
<fields>
<dsZAPLabel>
<name>ZAP Label</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.1.1.4</oid>
</dsZAPLabel>
<dsBWUsed>
<name>Bandwidth Used</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.1.1.5</oid>
</dsBWUsed>
<dsBWLimit>
<name>Bandwidth Limit</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.1.1.6</oid>
</dsBWLimit>
<dsCallsAdmitted>
<name>Calls Admitted</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.2.1.5</oid>
</dsCallsAdmitted>
<dsCallsRejected>
<name>Calls Rejected</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.1027.4.1.1.2.5.1.1.2.1.6</oid>
</dsCallsRejected>
</fields>
</interface>