In message <[EMAIL PROTECTED]>, "Marc Powell" writes: >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of John P. Rouillard >> >> Also supposedly check_by_ssh can run checks for multiple services at >> the same time. See the -C, -O and -s arguments. I have never been able >> to get it to work. With this feature you could run a single ssh to >> execute say 5 check_disk commands. As I said I haven't gotten it to >> work, but it could cut down on the number of ssh connections that are >> needed. > >It can but I haven't tried that myself either. It does so by appending a >';echo STATUS CODE: $?;' (or very close to that) to each command that >you pass then parses the output to get the return code for each plugin >executed. I believe the end command passed to ssh would look something >like -- > >/path/to/ssh -other -args [EMAIL PROTECTED] "command1;echo STATUS CODE: >$?;command2;echo STATUS CODE: $?;..."
Yup that's almost exactly what it does. It doesn't appear to work properly however. I have tried to debug it, but I have yet to be able to get it to work. From the response I have gotten on the plugins list nobody else seems to have got it working either. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null