per host custom macros
Marc Powell
marc at ena.com
Wed Mar 29 23:24:02 CEST 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of David Mansfield
> Sent: Wednesday, March 29, 2006 3:15 PM
> To: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] per host custom macros
>
> > If this hostgroup is important than how is each service to learn
their
> > different address? Because it can't be from the host group nor from
any
> > macro.
> >
>
> You're wrong. It just works.
>
> As a new user I guess I assumed that assigning a service to a
> hostgroup_name instead of a host_name would work (contrary to the
> documentation BTW).
>
> And guess what. It DOES WORK.
It is documented actually, but as a template exploit/trick ;) --
http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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