No trap definitions created after successfully loading a mib

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kandatih
Posts: 55
Joined: Thu Mar 28, 2019 7:51 pm

No trap definitions created after successfully loading a mib

Post by kandatih »

Hi all,
After loading TELESYS mib, default trap definitions are not created. Could you please verify and advise if its an issue with the MIB files. Attached the mib files.

Environment :
Install - Offline
OS - RHEL 7
XI - v5.6.2

Thanks in advance.
Hari
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No trap definitions created after successfully loading a

Post by ssax »

It looks like it's the the MACH7 MIB that's causing issues, did you get these from the vendor or somewhere else?
kandatih
Posts: 55
Joined: Thu Mar 28, 2019 7:51 pm

Re: No trap definitions created after successfully loading a

Post by kandatih »

Its from the vendor, but a old one from our archives.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: No trap definitions created after successfully loading a

Post by cdienger »

It looks like it doesn't like the comments. Try the attached.

Or if you wanna keep them, the file will need to be edited to have a space after double dashes. For example, this:

Code: Select all

------------------------------------------------------
-- TELESYS-MACH7-MIB: MIB for teleSys MACH7 software 
--
-- Copyright (c) 2007-2008 by teleSys Software, Inc.
------------------------------------------------------
would become:

Code: Select all

-- ----------------------------------------------------
-- TELESYS-MACH7-MIB: MIB for teleSys MACH7 software 
--
-- Copyright (c) 2007-2008 by teleSys Software, Inc.
-- ----------------------------------------------------
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kandatih
Posts: 55
Joined: Thu Mar 28, 2019 7:51 pm

Re: No trap definitions created after successfully loading a

Post by kandatih »

Thanks for the udpate.Tried the one you attached, as well as updated my copy with the addvised, still dont see trap definitions. Attached my copy for your ref
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: No trap definitions created after successfully loading a

Post by cdienger »

The wrong file was attached. I update my last post to have the correct file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kandatih
Posts: 55
Joined: Thu Mar 28, 2019 7:51 pm

Re: No trap definitions created after successfully loading a

Post by kandatih »

Great, it worked now. For future ref, could you please share any info on the mib formats that Nagios supports and let me know if Nagios logs it on the server, if it dont like the mib format
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: No trap definitions created after successfully loading a

Post by cdienger »

The program that converts the MIBs is snmpttconvertmib and you can get debug information from it by running:

Code: Select all

snmpttconvertmib --in='MIBFILE' --out='OUTFILE' --debug=2
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kandatih
Posts: 55
Joined: Thu Mar 28, 2019 7:51 pm

Re: No trap definitions created after successfully loading a

Post by kandatih »

Thanks Cdienger.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: No trap definitions created after successfully loading a

Post by cdienger »

Glad to help. Did you have any further questions regarding this or are we okay to lock the thread at this point?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked