LS, Dei scribbled on 2009-06-26:
> Ok, here's my definition in services: > > define service{ > use local-service > host_name serveip1.dev.net > service_description check_dhcp > check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ > } the command_line should be: check_command check_dhcp Without !/check_dh....! > > Here's my command.cfg: > define command{ > command_name check_dhcp > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } In your examples from a few posts ago, you specify a *hostname*. In your service description, an *IP address*. Does that make any difference? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ _______________________________________________ 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