On Fri, Sep 23, 2011 at 4:51 PM, Brandon Phelps <bphe...@gls.com> wrote: > Hello, > > We are using a fairly old version of Nagios (1.4.1) which has been running > great for years and is in production on 100+ servers so we are a bit hesitant > to update. If it ain't broke don't fix it, right? Anyway, one minor problem > is the fact that in the nagios configuration, the members directive for a > hostgroup can only support a certain number of entries, due to the fact that > the members directive takes a comma delimited list of members and that list, > it seems, can only be a maximum of 2000ish (I think, I don't recall off hand) > characters. Like: > > hostgroup { > ... > members = Member1,Member2,Member3,...,Member200, Member201, Member202 > } > > My question is, do newer version of nagios remove this limitation? It isn't > really a huge deal since we can simply create additional hostgroups when we > reach the limit on one, however if this is fixed in a newer version then > that, for us, would be a good reason to upgrade. >
In the new (3.x) version we negate this by using wildcard / regex matching "members = Member.* " if some hosts matching the patten should not be in the group you can do "!member8" "members = member.*,!member8 " there is a lot about this in the Nagios admin guide. Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > Thanks, > > Brandon > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ 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