Nagios XI - Trap definitons limit
Nagios XI - Trap definitons limit
Hi all,
we are looking at loading 1000+ MIBS on Nagios Xi server, any advises on best practices to follow before loading 1000+ MIBs.
Does Nagios XI have any limit to the number of traps definitions that we could add? Would Nagios log info about about the time taken to process a trap, number of traps processed in a minute?
Enviroment:
OS : RHEL 7
Nagions XI - v 5.6.2 Offline install.
Thanks in Advance.
we are looking at loading 1000+ MIBS on Nagios Xi server, any advises on best practices to follow before loading 1000+ MIBs.
Does Nagios XI have any limit to the number of traps definitions that we could add? Would Nagios log info about about the time taken to process a trap, number of traps processed in a minute?
Enviroment:
OS : RHEL 7
Nagions XI - v 5.6.2 Offline install.
Thanks in Advance.
Re: Nagios XI - Trap definitons limit
There isn't a hard coded limit.
I would copy them to /usr/share/snmp/mibs/ and then use the Process all traps and import all traps buttons in the UI under Admin > System Extensions > Manage MIBS.
Nagios doesn't record how long or the rate of processed traps.
I would copy them to /usr/share/snmp/mibs/ and then use the Process all traps and import all traps buttons in the UI under Admin > System Extensions > Manage MIBS.
Nagios doesn't record how long or the rate of processed traps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI - Trap definitons limit
Not related to the subject , but directly coping the bulk mibs to /usr/share/snmp/mibs and using UI to process traps may not work for all the MIBs. Because for the below after loading the mibs through direct copy, zero trap definitions are added.
cpqrack.mib
cpqhost.mib
Tried to remove the comments, but still no trap definitions. could you please verify the attached mibs and advise.
cpqrack.mib
cpqhost.mib
Tried to remove the comments, but still no trap definitions. could you please verify the attached mibs and advise.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI - Trap definitons limit
Have to change the file extension because forum didnt accept the mib extension.
Re: Nagios XI - Trap definitons limit
More info - running snmpttconvertmib worked fine as attached.
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI - Trap definitons limit
The cpqrack.txt file includes the cpqhost.txt mib file in it so to get the Traps to work, import the cpqhost.txt mib first and then the other one.
The process all traps may have imported them out of order so that is why it may have failed earlier.
The process all traps may have imported them out of order so that is why it may have failed earlier.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI - Trap definitons limit
Yep already tried that. loaded the dependency first, but still no traps definitions.
Re: Nagios XI - Trap definitons limit
Go to the Admin > Manage MIBs menu.
Find the cpqhost mib file and in the Actions column, click on the Blue Arrow pointing to the right to process it.
Then do the same for the cpqrack mib file.
Go to the Admin > SNMP Trap Interface menu and click on the Defined Traps Tab and see if they are there. You might have to search for them.
Find the cpqhost mib file and in the Actions column, click on the Blue Arrow pointing to the right to process it.
Then do the same for the cpqrack mib file.
Go to the Admin > SNMP Trap Interface menu and click on the Defined Traps Tab and see if they are there. You might have to search for them.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI - Trap definitons limit
great thanks, I see the definitions are created.
Any idea why Manage MiBs is still showing as zero, is this a known bug. We rely on Associated Traps column to confirm MIBS is loaded successfully with the all the trap definitions. Any fix for this?
Any idea why Manage MiBs is still showing as zero, is this a known bug. We rely on Associated Traps column to confirm MIBS is loaded successfully with the all the trap definitions. Any fix for this?
Re: Nagios XI - Trap definitons limit
The XI interface uses the xi_cmp_trapdata SQL table to store the information for the traps / mibs so run this command and post the output so we can verify the table settings.
What the GUI does it to run a query and count the number of entries for the MIB file name. Run this and post the output so we can see what is in that field.
Code: Select all
echo 'desc xi_cmp_trapdata;' |mysql -t -u root -pnagiosxi nagiosxi
Code: Select all
echo 'select trapdata_parent_mib_name from xi_cmp_trapdata;' |mysql -t -u root -pnagiosxi nagiosxi
Be sure to check out our Knowledgebase for helpful articles and solutions!