On Mon, 24 Aug 2009, Bruce Thayre wrote:
> Hello,
> I have a question that i'm assuming has a quick answer. I've defined a
> command as:
>
> define command{
> command_name check-site
> command_line $USER1$/check_ping -H $ARG1 -w 3000.0,80% -c 5000.0,100%
> -p 5 -t 10
> }
>
> which i use to just ping different sites via my services.cfg. So in my
> services.cfg i have entries that look like:
>
> define service{
> use generic-service
> display_name check_helpdesk
> host_name rails_playground
> service_description check helpdesk
> check_command
> check-site!helpdesk_url.com<http://helpdesk_url.com>
> contacts nagiosadmin
> }
>
> Now everything checks out, however when i open up my service page within
> nagios, i see all my check-sites have unknown statuses stating:
> <wrta> was not set
You've typo'd your macro name in the command definition. Try $ARG1$.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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