On 11/02/2010 03:16 PM, Daniel Wittenberg wrote: > Basically because all the backend files are controlled via puppet, to a > number of nagios servers, but the actual host assignments are controlled > by third-party package. So, the "base" configs about all the services > are pushed to every server, and then the other tool determines the best > "balance" of devices per nagios server. If that makes sense. So > instead of maintaining service and hostgroup configs constantly across > all the servers, I can push out one set of configs, and if there's a > host pushed to that server which needs those configs, they are there and > ready to go. > > That help? >
Yup. Fixing Nagios to handle this is a bit off my todo-list right now though, but as an autofix, have the init-script run a repair-script to sed out the offending services or hostgroups on the offending systems. I'd let Nagios do the heavy lifting if I was you and just surround each hostgroup with ##HGBEGIN_lalala define hostgroup { hostgroup_name lalala } ##HGEND_lalala to make sed'ing a bit easier. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ 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