Page 1 of 1

Information field coming from passive alert to embed OID

Posted: Mon Mar 20, 2017 7:04 am
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.

Re: Information field coming from passive alert to embed OID

Posted: Mon Mar 20, 2017 3:45 pm
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).

Re: Information field coming from passive alert to embed OID

Posted: Wed Mar 22, 2017 9:00 am
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

Re: Information field coming from passive alert to embed OID

Posted: Wed Mar 22, 2017 9:50 am
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

Re: Information field coming from passive alert to embed OID

Posted: Tue Apr 04, 2017 2:52 am
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

Re: Information field coming from passive alert to embed OID

Posted: Tue Apr 04, 2017 9:47 am
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.

Re: Information field coming from passive alert to embed OID

Posted: Tue May 23, 2017 11:39 am
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