Information field coming from passive alert to embed OID

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Information field coming from passive alert to embed OID

Post by ericssonvietnam »

Query ::

The info field value coming from Nagios should have a specific problem included in it with a delimiter which can be extracted and mapped to SpecificProb in OneFM.

Concern ::

We need to generate uniqueness in the passive alerts by appending the OID for the alert in the info field.

Kindly suggest the possible way how we can maintain the uniqueness in the info field for the passive checks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Information field coming from passive alert to embed OID

Post by dwhitfield »

Depending on the plugin, this can either be relatively easy or somewhat difficult. Either your plugin is interpreted (perl, python, bash, php) or compiled (c, c++). Either way, you will need to edit the source code in order to change how things are formatted. You could possibly write a wrapper plugin that calls the correct plugin, parses out the data, and reformats it. This all depends on your programming skills.

That all said, why can you not generate uniqueness based on the hostname and service? Is it because SNMP returns different things based on the issue at hand? I'm just trying to understand the issue at hand. You mention OID which suggests SNMP, but OIDs are also used in other places (for example, LDAP).
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: Information field coming from passive alert to embed OID

Post by ericssonvietnam »

Although as per the below statement it is either be relatively easy or somewhat difficult but is it possible that we can Generate uniqueness based upon the host name and services but however in our scenario we are using NAGIOS with plugin deployed on nodes as well error from log for snmp traps.
Please suggest
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Information field coming from passive alert to embed OID

Post by dwhitfield »

We are very close to entering custom development territory, but we may be able to point you to some tools if we know a bit more about what you are monitoring. For example, it looks like Juniper has a tool for modifying traps: http://www.juniper.net/techpubs/en_US/j ... butes.html
ericssonvietnam
Posts: 239
Joined: Mon Jun 27, 2016 11:05 pm

Re: Information field coming from passive alert to embed OID

Post by ericssonvietnam »

Team,

Yes we have checked with application team and came to know that we are looking for this integration.

For IBM Netcool 7.4 PLease suggest
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Information field coming from passive alert to embed OID

Post by dwhitfield »

SNMP Traps should work on the Netcool. If you want us to develop a true integration, that would be custom development and you would need to email [email protected]

If you are have a specific problem with SNMP Traps, please let us know.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Information field coming from passive alert to embed OID

Post by ssax »

We will continue the other support through the ticket but you should be able to use Global Event Handlers and use %hosteventid% and %serviceeventid%, these IDs are globally unique across restarts and are meant for this specific purpose:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let us know if you have any questions.

Thank you
Locked