Host/Service association
Christopher McCrory
chrismcc at pricegrabber.com
Mon Apr 28 18:56:23 CEST 2003
Hello...
On Mon, 2003-04-28 at 09:07, Patrick LeBoutillier wrote:
> Hi,
>
> I'm planning to use Nagios to monitor a large network of machine that are
> all pretty
> much set up in the same fashion and offer the same basic services.
>
> With this scenario it would be much easier for me create a host definition
> and in
> that host definition specify which services run on that host rather than the
> other way
> around (specifing the hosts in the service def).
>
> This combined with the VERY useful "cfg_dir" option would allow me to simply
> drop
> a new file with the host def and have everything done in one operation.
>
> Is there any way to do this?
>
Yes, but not the way you stated it.
use 'hostgroup_name' in your services instead of 'host_name'
then you just add the new host to the hostgreoup
http://nagios.sourceforge.net/docs/1_0/templatetricks.html
> Thanks,
>
> ---------------------
> Patrick LeBoutillier
> Laval, Quebec, Canada
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
--
Christopher McCrory
"The guy that keeps the servers running"
chrismcc at pricegrabber.com
http://www.pricegrabber.com
Let's face it, there's no Hollow Earth, no robots, and
no 'mute rays.' And even if there were, waxed paper is
no defense. I tried it. Only tinfoil works.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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