clustered solution, how to edit configs?

Cory Coager ccoager at davisvision.com
Thu Jun 3 15:52:25 CEST 2010


I'm planning on creating a nagios cluster using the following guidelines 
from http://nagios.sourceforge.net/docs/1_0/distributed.html .  I was 
thinking of using multiple nagios agents that use a submit_check_result 
script to send the results to two frontends using nsca.  Here is where 
I'm stuck though.

I want to have the same configs on every server but have random checks 
enabled/disabled so the load is distributed.  I also want to edit all 
the configs from one location in one directory.  I don't want to search 
for service checks in multiple directories, e.g., where is service 
check23?  Is it in folder2 or folder13?

How can I accomplish this?  Does someone have a solution already or do I 
need to do something creative?  I was thinking I could edit all the 
configs from one location, submit them to a version control repository, 
the agents automatically download new configs from the repository via 
crontab and nagios is reload if and only if they pass sanity checks.  
Thats a nice start but I'm still stuck on, how do I distribute the 
load?  How can I specify which checks are enabled on serverA while the 
rest are disabled with my requirements that I stated earlier.  I don't 
mind scripting a solution to make this possible but I need some creative 
ideas.

Hoping someone can help me out!


~Cory Coager



------------------------------------------------------------------------
The information contained in this communication is intended
only for the use of the recipient(s) named above. It may
contain information that is privileged or confidential, and
may be protected by State and/or Federal Regulations. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received
this communication in error, please return it to the sender
immediately and delete the original message and any copy
of it from your computer system. If you have any questions
concerning this message, please contact the sender.
------------------------------------------------------------------------


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list