<HTML>
<HEAD>
<TITLE>Re: [Nagios-devel] Nagios and PNP Perfomance Issue</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Rodney,<BR>
<BR>
Have a look at this page. <BR>
<BR>
<a href="http://www.semintelligent.com/blog/articles/40/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-45-scalable-performance-data-graphing">http://www.semintelligent.com/blog/articles/40/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-45-scalable-performance-data-graphing</a><BR>
<BR>
I’m not quite sure the ramdisk part is necessary, but it will certainly point you in the right direction as far as scaling pnp.<BR>
<BR>
On 2/2/10 11:47 AM, "Rodney Ramos" <rodneyra@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi everybody,<BR>
<BR>
I´m using Nagios (3.2.0) to monitoring and colect perfomance data of 25.000 hosts, with 50.000 services.<BR>
<BR>
I have two central machines (one for backup) and 10 distributed servers to colect status and send them to the central servers.<BR>
<BR>
It´s working but I´m having serious performance problems. <BR>
<BR>
First the Tactical Overview on the central machines is taking almost 1 minute to refresh. I think that its because the status.dat file is too big (almost 100 MB).<BR>
<BR>
Second, the adddon PNP 0.4.14 is taking a long time to process the performance data files. These files are increasing faster than the capaciy of process_perfdata.pl <a href="http://process_perfdata.pl"><http://process_perfdata.pl></a> script to process them.<BR>
<BR>
I´ve already implement all the recommendation to improve Nagios performance. Besides, I´ve already changed the npcd.cfg and process_perfdata.cfg parameters to improve the npcd and process_perfdata.pl <a href="http://process_perfdata.pl"><http://process_perfdata.pl></a> performance.<BR>
<BR>
I tried to set "npcd_max_threads" in the npcd.cfg to 10, but than I started to lose data, because process_perfdata.pl <a href="http://process_perfdata.pl"><http://process_perfdata.pl></a> finished itself by timeout, that I change to 300 seconds.<BR>
<BR>
Can anyone help me to improve the performance of Nagios and PNP to this enviroment?<BR>
<BR>
P.S.: All my Nagios servers are virtual machines with Red Hat. The central servers have 2 CPUs and 2 GB of memory. The colectors have 1 CPU and 1 GB of RAM. Do you think that change the central servers to physical machine I will have a big performance improvement? How much?<BR>
<BR>
I think that this is a good test for Nagios. I have a demand to put 100.000 hosts with 200.000 services in this enviroment!!!!. Is it possible? Has someone a Nagios configuration so big?<BR>
<BR>
Thanks everybody.<BR>
Rodney.<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>------------------------------------------------------------------------------<BR>
The Planet: dedicated and managed hosting, cloud storage, colocation<BR>
Stay online with enterprise data centers and the best network in the business<BR>
Choose flexible plans and management services without long-term contracts<BR>
Personal 24x7 support from experience hosting pros just a phone call away.<BR>
<a href="http://p.sf.net/sfu/theplanet-com">http://p.sf.net/sfu/theplanet-com</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT><SPAN STYLE='font-size:10pt'><FONT FACE="American Typewriter">-ROF<BR>
</FONT></SPAN><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
</STRONG></P></BODY></HTML>
This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender.