Hi List,

I'm using command arguments to keep my client configuration as short as possible. The server and client configuration look like this at the moment:

define service{
        host_name                       esmeralda
        service_description             CPU Load
        check_command                   check_nrpe!check_load -a 4,2,2 6,4,4
        use                             template
        }

command[check_load]=/local/nagios-plugins/check_load -w $ARG1$ -c $ARG2$

I want to make te client configfile even shorter by doing something like this:

define service{
        host_name                       esmeralda
        service_description             CPU Load
        check_command                   check_nrpe!check_load -a -w 4,2,2 -c 
6,4,4
        use                             template
        }

command[check_load]=/local/nagios-plugins/check_load $ARG1$

So what i actually want is -w 4,2,2 -c 6,4,4 to fit on $ARG1$.Is that possible?

Thanks in advance.

Kind regards,

--
Bart Poort, internetbeheerder
Publieke Omroep Internet Services []()
--Where's the GUI on this thing?--


-------------------------------------------------------
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
[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