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.
Information field coming from passive alert to embed OID
-
ericssonvietnam
- Posts: 239
- Joined: Mon Jun 27, 2016 11:05 pm
-
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
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).
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
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
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
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
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
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
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.
If you are have a specific problem with SNMP Traps, please let us know.
Re: Information field coming from passive alert to embed OID
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
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Let us know if you have any questions.
Thank you