Hi Team ,
Is there a way to monitor the error messages from the application log and alert if a particular error message pops up ?
Monitoring error message
Monitoring error message
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring error message
Hi Deek,
When you run the Windows Event Log Configuration Wizard, there's an option to setup log server checks based search/regex pattern.
A sample command run from the CLI in Nagiso XI, would look like:
Hope that helps and let us know if that is working for you.
--Benjamin
When you run the Windows Event Log Configuration Wizard, there's an option to setup log server checks based search/regex pattern.
A sample command run from the CLI in Nagiso XI, would look like:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H 192.168.xx.xx -t 'mytoken' -P 5693 -M 'logs' -q 'name=Application,logged_after=60m,severity=WARNING,message=search-string-here' -c 5
--Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring error message
This is amazing .
Is there an option to check using nrpe ?
Is there an option to check using nrpe ?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring error message
Hi @deek,
Assuming you are using the NSClient agent on the remote host, and there's a windows event log included. Here's a link to the documentation on the module.
https://docs.nsclient.org/reference/win ... kEventLog/
Take a look at the forum post below for a sample command from the CLI.
https://support.nagios.com/forum/viewtopic.php?t=42127
--Benjamin
Assuming you are using the NSClient agent on the remote host, and there's a windows event log included. Here's a link to the documentation on the module.
https://docs.nsclient.org/reference/win ... kEventLog/
Take a look at the forum post below for a sample command from the CLI.
https://support.nagios.com/forum/viewtopic.php?t=42127
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring error message
This helped a lot . We are good to close the ticket .
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Monitoring error message
Excellent.This helped a lot . We are good to close the ticket .
We'll close this out, thank you for using Nagios.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!