> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Artyom Khmelnitsky > Sent: Saturday, July 21, 2007 4:01 PM > To: [email protected] > Subject: [Nagios-users] running multiple nagios instances? > > Hello, > > We currently only have one instance of nagios running. We are looking to > setup a 2nd node in a different location for redundancy purposes. > > We are thinking of installing Nagios on it and then using rsync and some > crons to update the slave server from our currently running server so we > only have to add new hosts to a single box. > > Has anyone done this before and how does it work? Also, it would be nice
Yes, it works just fine. Never had a problem and have been doing it for over 5 years. 2 central nagios machines and 5 collector machines (reporting to the two central boxen). Configs are updated and distributed hourly via rsync. We also store our configs in CVS so we have change history and accountability. For that matter, you could even use CVS over ssh to keep the remote boxen updated. I don't believe one way is significantly better than the other. > to set it up somehow so that only our main server sends out the > notifications when it's online or we'll get twice the notifications for Easy to do if you disable notifications on the second box. > same failed services, which is a no-no. The secondary server could send > out the alerts if the primary fails numerous checks from the secondary for > uptime. Yup. You could use an event handler to send the external command to globally enable notifications. When the primary box recovered that same event handler could disable notifications once again. All nice and automatic. > Hopefully I didn't confuse anyone. If any of you guys/gals know of a > plugin or a nice way of setting this up, please do speak up! You've pretty much hit it on the nose. It's pretty straightforward with minimal scripting necessary... -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] 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
