Application Errors - Exception

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
pchamourtzidis
Posts: 3
Joined: Thu Sep 24, 2020 7:59 am

Application Errors - Exception

Post by pchamourtzidis »

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.
bbahn
Posts: 244
Joined: Thu Jan 12, 2023 5:42 pm

Re: Application Errors - Exception

Post by bbahn »

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.
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.
sgardil
Posts: 252
Joined: Wed Aug 09, 2023 9:58 am

Re: Application Errors - Exception

Post by sgardil »

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
Post Reply