check_by_ssh - Passive

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

check_by_ssh - Passive

Post by Gavin »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_by_ssh - Passive

Post by scottwilkerson »

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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: check_by_ssh - Passive

Post by Gavin »

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
Locked