On Jul 17, 2009, at 10:59 AM, Israel Brewster wrote: > Good suggestion, and it would certainly work. However, that would > muddy up (to some extent) my nagios configs. The way I have things > set up at the moment, there is one (ok, two actually, but same idea) > service for UPS checks, which is applied to the UPS host group. So > to add a new UPS all I need to do is add a new host with a "use > generic-UPS" directive, the name, ip, and parent. Keeps everything > nice and simple. Overriding that for a specific Host (or hosts) > would add to the complexity, something I would like to avoid as much > as possible. Thanks for the suggestion though.
Use standard host aliases or host_names or custom variables in your host definitions then that you key off of in your script and pass that. -- marc ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users@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