Check cluster

Peter van den Berg pvandenberg at mirabeau.nl
Wed Mar 28 15:36:48 CEST 2007


 
>> -----Original Message-----

>> 
>> The check definition is:
>>  define command{
>>         command_name    check_service_cluster
>>         command_line    $USER1$/check_cluster2 -s -l $ARG1$ -w $ARG2$
-c
>> $ARG3$ -d $arg4$
>> }
>> 


>It might also help you to diagnose what nagios is really doing by
seeing
>what nagios would be running.
>
>define command{
>        command_name    check_service_cluster
>        command_line    echo '$USER1$/check_cluster2 -s -l $ARG1$ -w
>$ARG2$ -c $ARG3$ -d $arg4$'
>}

Thanks Marc
Indeed, the echo command helped. The error clearly showed up, and it is
even visible in my question above. Don't you just love typo's :) 
Using $ARG4$ works a lot better then $arg4$. So all I did wrong was
using lowercase instead of uppercase.




_______________________________________________
Nagios-users mailing list
Nagios-users at 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list