Re: [Nagios-devel] Re: [Nagiosplug-devel] SNMP community in host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Re: [Nagiosplug-devel] SNMP community in host

Post by Guest »

On Sun, 2004-12-19 at 11:33, Andreas Ericsson wrote:
> > - Of course, host templates can have hostuser too. (will be put in host
> > definition is the host doesn't have the hostuser already).
> >
> > - Available as macro :
> > $HOSTUSER$
> >
>
> The intuitive connection between the name 'hostuser' and what I think it
> would most likely represent clashes a bit with the way contacts work
> (john, mike and joe are users, and they're responsible for the web-*
> servers, f.e.). I would really prefer if they were named "hostmacro"
> instead.
>

I'd be nice if you could use labels in their definitions as well. Like
hostmacro:inventory 244 -> $HOSTMACRO:inventory$. This also ties nicely
into the next point:

> Ofcourse, the presence of hostmacros sort of voids the necessity for the
> snmp_* variables, but the decision is Ethan's, so I can only air my
> opinions.

With labels you could still get the same effect without adding length to
the documentation and config checks :) Plus the idea in the past seems
to have been to keep things separated to a degree like host and
hostextinfo definitions.
--
Matthew Kent
http://magoazul.com






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked