Hi
I would like to create a alert in Nagios Log server if log server doesn't receive logs from a particular resource suddenly .How to configure the alert for my requirement?
Create a alert for the log servers stops receiving logs.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Create a alert for the log servers stops receiving logs.
when you go to create the alert, to alert on nothing being found place the following in the Thresholds
Code: Select all
1:
Re: Create a alert for the log servers stops receiving logs.
Do I have to mention anything at Alert Name like log resource name ?
Please check the snap shot attached
Please check the snap shot attached
You do not have the required permissions to view the files attached to this post.
Re: Create a alert for the log servers stops receiving logs.
The alert name is for reference only. You can put whatever in there, but the "Query" you use should be one that matches all results. Something like a query with a generic * search should work.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Create a alert for the log servers stops receiving logs.
Hi ,
For example i need a alert to be created for the log message contains "The host "157.96.177.86:1514" has become unreachable. Remote logging to this host has stopped"
In the alert i need the details like Log source name, message,Program. Please check the snap shot attached .
I need alert for each log source separately. Is that possible .
For example i need a alert to be created for the log message contains "The host "157.96.177.86:1514" has become unreachable. Remote logging to this host has stopped"
In the alert i need the details like Log source name, message,Program. Please check the snap shot attached .
I need alert for each log source separately. Is that possible .
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Create a alert for the log servers stops receiving logs.
Currently the most flexible way to send alerts is with the script method.
Then you can pass the data via argument to the script which can act on it appropriately. If you just did a query on a partial match eg "has become unreachable. Remote logging to this host has stopped" an alert can be made from it.
Does this answer your question?
Then you can pass the data via argument to the script which can act on it appropriately. If you just did a query on a partial match eg "has become unreachable. Remote logging to this host has stopped" an alert can be made from it.
Does this answer your question?
Previous Nagios employee
Re: Create a alert for the log servers stops receiving logs.
Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Re: Create a alert for the log servers stops receiving logs.
We are still working on queries as we are not getting correct out put from Nagios
Re: Create a alert for the log servers stops receiving logs.
Thanks for the update. Let us know if there is anything we can help with.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.