Re: [Nagios-users] Switching to passive checks instead of activeones?
HI Tony, On Fri, 5 Oct 2007, Anthony Montibello wrote: > I found it is fairly easy to upgrade form active checks to passive checks, > > there have been lots of good resposes already, > so I am not sure if my responce is helpful. > > but a few notes on how I implement migrating to passive checks, > > If I already have the active check in nagios, > I load and test the passive checks on the remote host. > Since nagios can recieve both passive and active checks at the same time, > there should be no downtime in setting this up. > make sure the results make it to the nagios log, > > Once satisfied with the passive check results. > then disable the particular Active checks and add the other variables to the > nagios Configuration of that host. > > naturally there are cleaner ways of doing this, if you are using the object > templates and inheritence in Nagios config files. > > My procedure was how I implement converting a single host from active checks > to passive checks, and I usually run both check types for a while before > turning off the active checks. > > Tony This is a good idea, thanks for bringing it up. Even using host groups and templating to define most of our services, we could still send passive results back to Nagios more frequently than Nagios triggers active checks. The (old) active check would serve as a sort of "freshness reaction" for a while. We can later change the active check to our generic "this service did not check in" notification via check_dummy. Thanks, Ivan. - 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 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
Re: [Nagios-users] Switching to passive checks instead of activeones?
I found it is fairly easy to upgrade form active checks to passive checks, there have been lots of good resposes already, so I am not sure if my responce is helpful. but a few notes on how I implement migrating to passive checks, If I already have the active check in nagios, I load and test the passive checks on the remote host. Since nagios can recieve both passive and active checks at the same time, there should be no downtime in setting this up. make sure the results make it to the nagios log, Once satisfied with the passive check results. then disable the particular Active checks and add the other variables to the nagios Configuration of that host. naturally there are cleaner ways of doing this, if you are using the object templates and inheritence in Nagios config files. My procedure was how I implement converting a single host from active checks to passive checks, and I usually run both check types for a while before turning off the active checks. Tony - 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 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
Re: [Nagios-users] Switching to passive checks instead of activeones?
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ivan Fetch > Sent: Friday, October 05, 2007 10:49 AM > To: Marc Powell > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Switching to passive checks instead of > activeones? > > HI Marc, > > On Fri, 5 Oct 2007, Marc Powell wrote: > > > > > > >> -Original Message- > >> From: [EMAIL PROTECTED] [mailto:nagios-users- > >> [EMAIL PROTECTED] On Behalf Of Ivan Fetch > >> Sent: Thursday, October 04, 2007 10:41 PM > >> To: nagios-users@lists.sourceforge.net > >> Subject: [Nagios-users] Switching to passive checks instead of active > >> ones? > >> > >> Hello, > >> > >> > >> I'm wondering whether anyone has used send_nsca as a primary > >> "transport" for service checks, and has any experience and > >> recommendations? > > > > > > I can't talk about writing what essentially appears to be a mini-nagios > > to execute plugins on remote hosts but we're using send_nsca to submit > > ~4,000 checks every 5 minutes to two central nagios boxen (distributed > > architecture) and it's worked great for many years. > > > > Are most of your 4000 uses made up of hosts sending results to your > two > Nagios boxes, or the two Nagios boxes cross-sending results to > one-another? 4 nagios boxen sending results all 4000 results to two other nagios boxen using the documented Distributed Monitoring. There's really no difference between what you're proposing and what we're doing other than the program executing the plugin and calling send_nsca. My implication was that there aren't any inherent problems in using nsca/send_nsca. You'll have to do work to run your plugins and get their output/exit codes to send_nsca but it'll work fine from there. -- 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 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