[Nagios-users] question about check_by_ssh

2010-09-17 Thread Mirza Dedic
My nagiox box uses check_by_ssh to run a remote check_log script on a box, I have a tricky situation where I need to generate the log right before check_log is invoked. This is the setup I have done: On my local Nagios box, created a dummy shell script to invoke check_by_ssh twice, one to run

Re: [Nagios-users] question about check_by_ssh

2010-09-17 Thread Morris, Patrick
A check *cannot* return two status codes; it's just not possible. Nagios will only respect the status code returned by your check plugin, and there will only be one of those. If that plugin happens to run multiple scripts that return other codes, that's irrelevant; the only result code that

Re: [Nagios-users] question about check_by_ssh

2010-09-17 Thread diego . roccia
...@oppy.com Date: Fri, 17 Sep 2010 09:23:42 To: 'nagios-users@lists.sourceforge.net'nagios-users@lists.sourceforge.net Reply-To: Nagios Users List nagios-users@lists.sourceforge.net Subject: [Nagios-users] question about check_by_ssh