On Jul 17, 2009, at 3:40 PM, Ray Kiddy wrote:

> define service{
>         use                             local-service
>         host_name                       www. domain1.com
>         service_description             HTTP
>         check_command                   check_http!-s "For any
> questions about this domain"
>         notifications_enabled           0
>         }


> Why is this not recognizing that "www.domain2.com" is not returning
> the string I want it to return?

Look at your check_http command{} definition. Does it use '$ARG1$' ?  
If not, you need to add it to tell the nagios to expect that you'll be  
passing it a parameter from the service definition.

http://nagios.sourceforge.net/docs/3_0/macros.html  - Example 2:  
Command Argument Macros.

--
Marc


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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

Reply via email to