Multiple hostnames in host_name
Fridtjof Busse
fbusse at gmx.de
Tue Aug 8 15:15:57 CEST 2006
* Hari Sekhon <hpsekhon at googlemail.com>:
> > Well, stuff like $USER2$ does not work for me and the docs don't
> > mention such a setup (or I didn't find it yet).
> >
> >
> did you put the $USERn$ definition in a resource file and source it
> via nagios.cfg as follows:
>
> resource_file=/path/to/usermacros.cfg
Yes and I get:
Error: Could not find any host matching '$USER2$'
$USER1$ (path to my plugin-dir) works fine, but the service-definition
doesn't seem to handle $USER?$.
But I'll look into the hostgroup-option that John suggested.
--
Fridtjof Busse
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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