Hola,
We utilize passive service checks via nsca. I'm looking for information on how to alert if passive check output is not received.
i.e. it's been 1 hr and I haven't received any information if the service check was successful or if it failed.
Any help is appreciated.
alerts + passive service check
Re: alerts + passive service check
That's called a Freshness Check and is pretty painless to set up.
Former Nagios employee
Re: alerts + passive service check
re: freshness check.
actually ... I did do something along those lines, although I'm not sure I did it right.
snippet:
check_freshness 1
however, it did not *alert* that there was a problem.
if I did not set this up right, please post an example. Looking at the link you gave, btw ... thanks, ...
this: check_command no-backup-report ; this command is run only if the service results are "stale"
would seem to indicate that I need to create a cmd "no-backup-report" which would be '/bin/mail -s "your screwed" [email protected] < /dev/null'
Is that about right?
actually ... I did do something along those lines, although I'm not sure I did it right.
snippet:
check_freshness 1
however, it did not *alert* that there was a problem.
if I did not set this up right, please post an example. Looking at the link you gave, btw ... thanks, ...
this: check_command no-backup-report ; this command is run only if the service results are "stale"
would seem to indicate that I need to create a cmd "no-backup-report" which would be '/bin/mail -s "your screwed" [email protected] < /dev/null'
Is that about right?
Re: alerts + passive service check
That service was included as an example only and this is mentioned in the article.
Most people just set their check_command to check_dummy returning critical if they want to be alerted right away.
Most people just set their check_command to check_dummy returning critical if they want to be alerted right away.
Former Nagios employee
Re: alerts + passive service check
winner. works like a champ!
Re: alerts + passive service check
That is what they call meferalsboy wrote:winner. works like a champ!
Except not really. Glad it's working for you, gonna lock this up now.
Former Nagios employee