Increase the efficiency of passive checks

Jason Martin jhmartin at toger.us
Fri Apr 9 20:42:21 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A named pipe doesn't have a 'size' per se, it is a 0-width file. However I 
think you could use something like 'sweeper' (on the nagios extras page) 
to queue up the data for that socket so that Nagios will read larger 
chunks of it at a time.

- -Jason Martin

On Fri, 9 Apr 2004 
Andrew_Hoying at blm.gov wrote:

> 
> 
> 
> 
> Hello,
> 
> I'm currently running a Nagios server which is processing a little over
> 2000 passive checks every 10 minutes. I know the server has the memory and
> processing power to handle that many checks in half that time, however the
> bottle neck seems to be the size of the named pipe file and the speed at
> which it is read. I have Nagios set to check the file every second, which
> works fine, and it processes around 5 passive checks a second, however the
> server Nagios is running on is still only using around 4% of it's
> processing power and it's disk access is nominal. What can I do to increase
> the size of the named pipe, or move to shared memory, a Unix socket, or
> some other method of accepting passive checks that would speed it up
> without significantly rewriting Nagios? Does anyone have a patch for 1.2
> that would solve this problem? Is 2.0 significantly better in this regard?
> 
> Thank you,
> Andrew
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAdu6Ql2ODWuqVSBMRAn/NAJ9SdOrWFMfaFNJ6fhGQmFcE9HIwhwCbBE6p
q2p4HDp/vbX3BzH40nN99bc=
=4BNR
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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