PNP performance

Max perldork at webwizarddesign.com
Fri Feb 6 20:11:47 CET 2009


Hi Michael,

I write about how the team I am on at Comcast  implemented PNP to
scale well on my blog.  In a nutshell:
* Use modpnpsender.c on your Nagios master (we added in fork() code so
that Nagios doesn't pause while modpnpsender sends events .. will be
releasing that code as a patch soon).  Have modpnpsender send records
to a second host.
* Set up NPCD on the second host.
* Use a small xinetd script to write out PNP records to the NPCD queue
(we will be releasing the one we have in place as well soon).

We trend on almost 6000 services (~ 1200 hosts) every 5 minutes (runs
take about 4 minutes right now to trend on all services).  This set up
works very well for us and has kept the I/O wait load reasonable on
the report server as well as load average.  We also send all PNP
events to syslog where we have anothr process send them to a long-term
data warehouse we use .. and we do our notifications from this second
host .. load stays at 2-3 right now.  Not bad :).

http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing

On Fri, Feb 6, 2009 at 2:00 PM, Michael W. Lucas
<mwlucas at blackhelicopters.org> wrote:
> On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote:
>> Michael W. Lucas schrieb:
>> >Hi,
>> >
>> >I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
>> >hosts.  I've been investigating replacing our MRTG setup with PNP.
>> >PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
>> >call for at least doubling the number of services and graphs.
>> >
>> >Adding process_perfdata.pl has increased the system load from
>> >"minimal" to 10-20.  I see that process_perfdata.pl will not run under
>> >ePN.
>> >
>> >Anyone out there have ways to reduce process_perfdata.pl's system
>> >load, short of rewriting it in C or making it ePN-friendly?
>>
>> Do you already use the NPCD ?
>>
>> http://www.pnp4nagios.org/pnp/modes
>
> Yes, we use NPCD.  It made it possible to get this far.  :-)
>
> ==ml
>
> --
> Michael W. Lucas        mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org
>                http://www.BlackHelicopters.org/~mwlucas/
> "My pessimism extends to the point of even suspecting the sincerity of
>  the pessimists." -- Jean Rostand, French biologist and philosopher
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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