Nagios XI - Trap definitons limit

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Nagios XI - Trap definitons limit

Postby kandatih » Mon Jun 10, 2019 5:46 am

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.
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby cdienger » Tue Jun 11, 2019 1:12 pm

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 3328
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI - Trap definitons limit

Postby kandatih » Tue Jun 11, 2019 8:15 pm

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.
Attachments
cpqhost.txt
(96.43 KiB) Downloaded 22 times
cpqrack.txt
(318.3 KiB) Downloaded 25 times
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby kandatih » Tue Jun 11, 2019 8:16 pm

Have to change the file extension because forum didnt accept the mib extension.
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby kandatih » Wed Jun 12, 2019 4:50 am

snmpttconvert.png
snmpttconvert.png (8.31 KiB) Viewed 285 times


More info - running snmpttconvertmib worked fine as attached.
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby tgriep » Wed Jun 12, 2019 4:10 pm

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 8088
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI - Trap definitons limit

Postby kandatih » Thu Jun 13, 2019 5:24 am

Yep already tried that. loaded the dependency first, but still no traps definitions.
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby tgriep » Thu Jun 13, 2019 9:26 am

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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 8088
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI - Trap definitons limit

Postby kandatih » Thu Jun 13, 2019 8:27 pm

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?
kandatih
 
Posts: 51
Joined: Thu Mar 28, 2019 7:51 pm

Re: Nagios XI - Trap definitons limit

Postby tgriep » Fri Jun 14, 2019 8:56 am

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.
Code: Select all
echo 'desc xi_cmp_trapdata;' |mysql -t -u root -pnagiosxi nagiosxi


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 'select trapdata_parent_mib_name from xi_cmp_trapdata;' |mysql -t -u root -pnagiosxi nagiosxi
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 8088
Joined: Thu Oct 30, 2014 9:02 am

Next

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 12 guests