On Jun 18, 2008, at 12:39 PM, Jim Miller wrote: > I'm afraid I don't follow. Are you referring to the way the command > is defined in the command.cfg file? If that's the case it looks like > this. > > > define command{ > > command_name check_tcp > > command_line $USER1$/check_tcp -H $HOSTADDRESS > $ -p $ARGS1$ $ARGS2$ > > } >
> > I have the following in my windows.cfg file > > define service{ > > use generic-service > > host_name my host name > > service_description DICOM > > check_command check_tcp! -H my ip -p 104 > > } http://nagios.sourceforge.net/docs/2_0/macros.html $ARG1$ is ' -H my ip -p 104'. $ARG2$ is null (ok in this case). The command nagios is executing is -- /path/to/plugins/check_tcp -H <host_address> -p -H my ip -p 104 -- Marc ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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