Using arguments in the serviceextinfo file
Andreas Ericsson
ae at op5.se
Tue Apr 13 10:36:27 CEST 2004
You can do this with user-macros ($USER1$, $USER2$ et. al), assuming you
have a default page you want to show that is the same on most hosts.
Michael Bambic wrote:
> I need to use $ARG…$ in my serviceextinfo to be able to open the url the
> check is checking…
>
> So http://$HOSTNAME$$ARG1$ <http://$hostname$$arg1$/> where $HOSTNAME$ =
> www.blah.com <http://www.blah.com/> and $ARG1$ = /checkthispage.asp
>
>
>
>
>
> Anybody done this?
>
>
>
> Mike
>
--
Mvh
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list