<br>Hello,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">[nagios@noctools nagios]$ time ./sbin/status.cgi >foo<br>
<br>real    0m1.390s<br>user    0m1.300s<br>sys     0m0.090s<br>[nagios@noctools nagios]$ du -sh foo<br>4.4M    foo<br><div class="Ih2E3d"></div></blockquote><div><br><br>Similar benchmark  in my case : <br>nagtst01:/usr/local/nagios/sbin # time ./status.cgi > testdata<br>
<br>real    0m3.553s<br>user    0m3.316s<br>sys     0m0.044s<br>nagtst01:/usr/local/nagios/sbin # ls -l ../var/status.dat<br>-rw-rw-r-- 1 nagios nagios 849578 2008-02-20 11:02 ../var/status.dat<br><br><br>Compare with another box we have which is 30 times slower, and every part (sys usr ; is around 20 times slower. We suspect there are some thing wrong with the vmware config in this case. The other (good) box has around 460 services <br>
<br>In another box: <br><br>illuminati:/usr/local/nagios/sbin # time ./status.cgi > testdata<br><br>real    0m0.364s<br>user    0m0.104s<br>sys     0m0.002s<br>illuminati:/usr/local/nagios/sbin #  ls -l ../var/status.dat<br>
-rw-rw-r--  1 nagios nagcmd 622377 Feb 20 11:03 ../var/status.dat<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br></div>What status view specifically is the issue for you? What version of<br>nagios? Unless you're still using nagios-1.x, my gut feeling is that</blockquote><div><br>Nagios 2.9 having some custom code I made but  just change the some of the html tag output only, trivvial and 100% not affect performance. The view is requested by nagvis. I do not do the nagvis config then I am not sure how many request that nagvis generate but even the main page of nagios it still takes too much cpu for status.cgi to run<br>
<br>Thanks for your help<br><br>Cheers<br><br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>there is something outside of nagios causing the issue (i.e. disk IO,<br>
memory pressure, etc). Nagios-2 should be able to easily handle the<br>status data for 650 services. That was an area of significant focus and<br>improvement with the current version.<br><div><div></div><div class="Wj3C7c">
<br>--<br>Marc<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div></blockquote></div><br><br clear="all"><br>-- <br>
Steve Kieu<br>Mob: (+64) 021 250 6437