$ARGn$ Macros
Phil Dibowitz
phil at ipom.com
Fri Oct 25 02:42:40 CEST 2002
I'm a little confused on the $ARGn$ macros:
1. The default "check_ping" definition in checkcommands.cfg takes $ARG1$
and $ARG2$ - but the default definitions of services do NOT have
anything after "check_ping" in the check_command of services.cfg. Thus
ping fails if you use that model and one must change the command
definition to "$USER1$/check_ping -H $HOSTADDRESS$ -w 15,25% -c 25,75%
-p 5" or something similar and hard code those values in.
Furthermore if you DO add anything after "check_command: check_ping"
then it fails telling you it can't find the command you want.
So how the hell do you pass that on a per-service basis?
I'm having this same problem on a custom command I've made as well...
--
Phil Dibowitz phil at ipom.com
Freeware and Technical Pages Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
More information about the Users
mailing list