When declaring new commands do I need to sub out the $USER1$ arguments
for anything, or can those stay there?

 

Define command{

            Command_name            check_snmp_win

            Command_line               $USER1$/check_snmp_win.pl -V 2 -H
xxx.xxx.xxx.xxx -C <communityname> -N BESAlert -T BESAlert

            }



Would that be the proper way to define this new command on my Blackberry
Enterprise server?

 

Here is what the service looks like:

 

Define service{

            Host_name        XXXXXXX

            Service_description        BES Alert

            Check_command           check_snmp_win!BESAlert

            Max_check_attempts     5

            Normal_check_interval    5

            Retry_check_interval      1

            Check_period 24x7

            }

 

 

Thanks a lot.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to