Hello everyone,
In Nagios XI I’m checking application logs on a server for critical application errors (i.e., event viewer).
I’ve been doing this for the past couple of years now. We wanted to be notified of "any" critical application errors on the server, until now.
We still want to be notified of all critical application errors, with the exception of one specific reoccurring error that we cannot fix for now.
Is there a way to create an exception by event ID or source name?
I know Nagios has Nagios Log Server, but there should be a way to do this via XI. If you can check for specific errors, you should be able to make exceptions as well.
Any help would be greatly appreciated.
Application Errors - Exception
Re: Application Errors - Exception
Hello @pchamourtzidas,
Currently, you cannot select all logs except a certain name in NCPA, so the check_xi_ncpa plugin can't directly accomplish your goal. To accomplish your desired functionality, I would recommend creating a plugin that runs your current check_xi_ncpa command (or the underlying check_ncpa.py) as seen in your configuration and then ignores the response if it is from the particular error you are referencing. I apologize for the inconvenience. If you'd like, I can make a feature request to add exclusion to NCPA checks.
Currently, you cannot select all logs except a certain name in NCPA, so the check_xi_ncpa plugin can't directly accomplish your goal. To accomplish your desired functionality, I would recommend creating a plugin that runs your current check_xi_ncpa command (or the underlying check_ncpa.py) as seen in your configuration and then ignores the response if it is from the particular error you are referencing. I apologize for the inconvenience. If you'd like, I can make a feature request to add exclusion to NCPA checks.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Re: Application Errors - Exception
Unfortunately like Blake mentioned this functionality doesnt currently exsist. In the mean time if you wanted to make a plugin like mentioned above here is some documentation that may help.
https://nagios-plugins.org/doc/guidelines.html
https://nagios-plugins.org/doc/guidelines.html