[Nagiosplug-devel] SNMP community in host configuration

Matthew Kent mkent at magoazul.com
Sun Dec 19 16:12:42 CET 2004


On Sun, 2004-12-19 at 11:33, Andreas Ericsson wrote:
> > - Of course, host templates can have hostuser<n> too. (will be put in host
> > definition is the host doesn't have the hostuser<n> already).
> > 
> > - Available as macro : 
> > 	$HOSTUSER<n>$
> > 
> 
> 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 <mkent at magoazul.com>
http://magoazul.com



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/




More information about the Developers mailing list