[Nagios-users] Availability Reports From Database
I can't believe I'm the first person to ask this, but I can't find anything on Google... I have a number of monthly reports that need to be generatesd and using the cgi's is just taking too long. It seems to me to make more sense to pull this info straight from the NDO database. Has anyone tried doing this? Thanks, Glynne -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Processing External Commands
On Fri, Feb 19, 2010 at 07:43:44AM -0600, Marc Powell wrote: > On Feb 19, 2010, at 6:40 AM, wrote: > > My MRTG stats are showing an average of 3000 external commands being > > processed on the 5 minute average, so its quite busy. > > For perspective I do nearly 10,000/5min with no problem (using ndoutils b8). Good to know. I'm using ndoutils b9 and frequently seeing delays greater than 1 minute between logging the EXTERNAL COMMAND and seeinf the result going through. Going from the NSCA daemon receving the result to it being logged in the external command file takes a few seconds, which is fine, but the delay in actually getting the result is the pain! Glynne -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Processing External Commands
On Thu, Feb 18, 2010 at 10:02:51AM -0600, Marc Powell wrote: > > On Feb 18, 2010, at 7:44 AM, Glynne Jones wrote: > > > Thought that might be the case. mysql is always busy (I've got 3370 checks > > over 362 hosts). > > > > You mention regular table maintenance tasks - is this something that comes > > out of the box or something separate? > > ndo2db.cfg -- > > ## TABLE TRIMMING OPTIONS [snip] > I've set all of these to 1 hour for my install based on my needs. If you have > database backup scripts, those could be causing delays as well. > Doh!, cheers Marc. Forgot those were there. Don't think those are getting the way. Think it's more likely to be some of the other tables getting large. Have you changed the table engine from MyISAM to InnoDB? I'll have a play with the debug settings to see if I can find where the delay is coming in. Thanks, Glynne -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Processing External Commands
On Thu, Feb 18, 2010 at 07:19:05AM -0600, Marc Powell wrote: > > On Feb 18, 2010, at 5:17 AM, Glynne Jones wrote: > > > This delay can be several minutes and has sometimes been over 10 minutes. > > > > I am running ndoutils as well, and some of the tables are quite big. Could > > this affect things? > > Yes, certainly. If the database is busy, either through action of your own or > through one of the regular table maintenance tasks then processing of check > results may be delayed waiting on the database. Should be pretty easy to see > through top if mysql is busy during those times. > Thought that might be the case. mysql is always busy (I've got 3370 checks over 362 hosts). You mention regular table maintenance tasks - is this something that comes out of the box or something separate? Thanks, Glynne -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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
[Nagios-users] Processing External Commands
Hi, I'm running a distributed setup with two servers carrying out monitoring and sending their results back to a central server via NSCA. Most of the time this works well, but from time to time I get a substantial delay both between NSCA receiving the check result and the EXTERNAL COMMAND being logged, and between the EXTERNAL COMMAND being logged and the PASSIVE SERVICE CHECK result being logged. This delay can be several minutes and has sometimes been over 10 minutes. I am running ndoutils as well, and some of the tables are quite big. Could this affect things? Any help appreciated. Thanks, Glynne -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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
[Nagios-users] Distributed Monitoring & Disabling Checks
Hi, I'm in the process of setting up a distributed monitoring system and have hit on an issue where one of my operators wants to disable a check in the web interface but the check is actually being run on the remote distributed system. How can I disable the check on the remote host in this example? Thanks, Glynne -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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
[Nagios-users] Failover Monitoring Acks/Comments
I'm about to design a failover solution and my client wants to ensure that the slave nagios server is up to date with state of services. Easy, just send it passive updates from the master. However, they want to make sure any service acknowledgements and comments are also sent across to the slave. Has anyone got this configured? Thanks, Glynne -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ 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