Hi all,
I'm trying to get my head around using check_by_ssh to perform passive checks. I understand that we can use check_by_ssh to return values for multiple services passively.
What's the usual method for actually triggering these checks? E.G.
Host1 -> check_ping
* Service0 -> check_by_ssh
* Service1 -> Passive
* Service2 -> Passive
* Service3 -> Passive
Or would it be better to make the host check do 'check_by_ssh', and have all the services passive, like this:
Host1 -> check_by_ssh
* Service0 -> Passive
* Service1 -> Passive
* Service2 -> Passive
* Service3 -> Passive
Thanks,
Gavin
check_by_ssh - Passive
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_by_ssh - Passive
I think either would be acceptable. If you have value in the data from the host-ping check data (other that just the UP/DOWN) then use it, otherwise the later is perfectly acceptable as the host will go to DOWN if the check_by_ssh is unsuccessful.
Re: check_by_ssh - Passive
Thanks Scott. I thought that would be the case, but wanted to make sure I wasn't missing some 'clever' way of triggering them!
Feel free to close this thread.
Thanks,
Gavin
Feel free to close this thread.
Thanks,
Gavin