Processors required for Nagios

Bishop, Dean dean.bishop at tcdsb.org
Wed Aug 28 13:50:12 CEST 2002


Good morning,

My average CPU utilization was 26.44% over the last week.  i am using MRTG
to monitor this every 5 minutes and my nagios config is setup to check
hosts/services every 15 minutes.  i currently have about 20 systems down on
my network and i am still doing a lot of work reconfiguring nagios (mainly
hosts and service entries, ping sweeps, etc) but as i mentioned i am also
using this as a workstation so you have to factor in rdesktop which i used
to run excel to sort and build config files and create mass ping scripts
(this is what caused all of the use on Friday).  i also always have a citrix
connection up and a few terminals and a bunch of kedits.

i am getting my CPU utilization via:

perl -e '$f="%.0f";$fmt="$f\n$f\n1\nCPU Utilization\n";@line=split " ",
(qx(sar |tail -2));$total = ($line[2] + $line[3] + $line[4]);$o=sprintf
$fmt,$total,"0";print $o'

hope this helps,
dean


-----Original Message-----
From: Greg Vickers [mailto:g.vickers at qut.edu.au]
Sent: Tuesday, August 27, 2002 4:42 PM
To: Bishop, Dean
Subject: RE: [Nagios-users] Processors required for Nagios


Heh, thanks for the info Dean :)

I was wondering what kind of processor utilization you are seeing on your 
P2-350 for that many hosts/services?

Thanks,
Greg

At 10:20 PM 27/08/2002, you wrote:
>Good morning,
>
>   i am currently setting up a nagios system and am monitoring 1150 hosts
>with 1 service per (just getting started).  i am running this on a piece of
>crap p-II 350 with 384M.  i am also running a very small instance of MRTG
>monitoring about 15-20 stats local and remote every 5 minutes.  It appears
>that the MRTG is the real hog but i am definately maxing this box out.
>
>   i have two problems.
>1) server locks at 4:02a the day after alot of configuration work.  i have
>been tracking this one down.  i know it is related to crontab and further
>that it is caused by anacron.  i have moved my daily cron jobs around so
>that they all run 20 minutes apart rather than the default which is for
them
>all to run at the same time (4:02a)  This alleviated most of the lockups
>(which were happening arbitrarily) but i just had another lockup on Monday
>so i am assuming that this was due to the weekly cronjobs (only
>one-anacron).  this is as far as i have made it.
>
>2) although i can successfully generate a basic circular status map, it
>pretty much kills my server for 2-3 minutes.  Any other maps are out of the
>question.
>
>   i am not doing any notification other than e-mail so i can't speak for
the
>load of paging.
>
>i am quite impressed though.  We are in the process of relocating our
>department and due to a lack of project management, i am left without my
>mainworkstation.  i have therefore been working on my live nagios server
>instead and have not had any problems.
>
>hope this helps,
>dean
>
>-----Original Message-----
>From: Greg Vickers [mailto:g.vickers at qut.edu.au]
>Sent: Monday, August 26, 2002 10:38 PM
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Processors required for Nagios
>
>
>Hey all, I included the below to ask the correspondents:
>
>What kind of processor are you running this system on and how do you find
>the processor utilization on this server? I ask because I am in the middle
>of sourcing a server for our section and are looking at a single processor
>P3 1.4 GHz with 512Mb ram (and RAID5 3*18Gb 10k rpm + hot swap etc etc
*G*).
>
>We will be monitoring up to 1000 hosts and a bucket load (I guess
>1500-2000) of services. (I actually hadn't thought about how many
>hosts/services we would be monitoring!) So for that kind of load, is a
>second processor warranted?
>
>Thanks all,
>Greg
>
>p.s. just read through the tuning doc
>
>  > am currently watching about 300 hosts with approaching 600 service
> >There are some performance tuning options that you can apply.  This
> >helped my memory out greatly.  I'm not 100% sure of the ramifications,
> >but I haven't seen any ill effects from the first one.
> >
> >Apache defaults to 8 daemons running.  I changed this to 2 at work and 1
> >at home and gained a large amount of memory back.
> >
> >You can also scale nagios to only run X number of checks at a time.
> >Depending on your configuration and how often the checks occur, you can
> >have nagios only perform 50 checks at a time for example.
> >
> >http://nagios.sourceforge.net/docs/1_0/tuning.html
> >Check #3 on the list for info on deciding how to scale your checks back.
> >
> >Hope this helps....
> >
> >Andy
> >
> >-----Original Message-----
> >From: nagios-users-admin at lists.sourceforge.net
> >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusch,
> >Daniel
> >Sent: Monday, August 26, 2002 9:34 AM
> >To: 'Terry Simons'; Timo Koskela
> >Cc: nagios-users at lists.sourceforge.net
> >Subject: SPAM - RE: [Nagios-users] Nagios is running multiple daemons
> >
> >I posted a similar message a week or so ago and didn't get any response.
> >On
> >my system the number of processes running that are owned by nagios
> >varies
> >from a half dozen to over 100.  I assume that nagios is running
> >multithreaded and spawning of sub-processes.  I have noticed that nagios
> >will burry the box it is running on and then of course the number of
> >processes owned by nagios increases dramatically as they pile up.  Check
> >to
> >see if nagios is over loading your system.  I logged uptime and ps -few
> >|
> >grep nagios | wc -l every five minutes.
> >
> >I posted my message to see what a "normal" number of processes should
> >be,
> >but received no replies.
> >
> >Dan
> >
> >-----Original Message-----
> >From: Terry Simons [mailto:galimore at mac.com]
> >Sent: Monday, August 26, 2002 7:13 AM
> >To: Timo Koskela
> >Cc: nagios-users at lists.sourceforge.net
> >Subject: Re: [Nagios-users] Nagios is running multiple daemons
> >
> >
> >I don't know the reason, but I have seen multiple copies of Nagios
> >running.
> >
> >I haven't seen more than two, but it wasn't a parent/child
> >relationship... there were actually two copies of Nagios running...
> >
> >I thought that maybe it had something to do with the way that Nagios
> >parallelizes checks, but maybe not...
> >
> >Ethan?
> >
> >- Terry
> >
> >
> >On Sunday, August 25, 2002, at 11:59  PM, Timo Koskela wrote:
> >
> > > Hi all,
> > >
> > > Has somebody had same problem as I with Nagios. If there is something
> > > wrong in our LAN where nagios is running, or in firewall, example line
> >
> > > is cut to outer world Nagios start to run multiple daemons. Like
> >couple
> > > days ago when i checked there was about 20 copies of Nagios, and it
> > > didin't work so well then, but when i killed the main pid, they all
> > > died. Please let me know if you know the reason...
> > >
> > > Timo
> > > Finland
> > >
> >Missing every moment and preparing for the next.
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: OSDN - Tired of that same old
> >cell phone?  Get a new here for FREE!
> >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: OSDN - Tired of that same old
> >cell phone?  Get a new here for FREE!
> >https://www.inphonic.com/r.asp?r=urceforge1&refcode1=3390
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: OSDN - Tired of that same old
> >cell phone?  Get a new here for FREE!
>
>https://www.inphonic.com/r.asp?r___________________________________________
>____
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>=================================
>Greg Vickers
>Computer Systems Officer
>Student Support and Systems
>Teaching and Learning Support Systems, QUT
>g.vickers at qut.edu.au
>Ph: 07 3864 8276 Fax: 07 3864 5425
>Mob: 0416 001 674 SD: 6147
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone?  Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone?  Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users

=================================
Greg Vickers
Computer Systems Officer
Student Support and Systems
Teaching and Learning Support Systems, QUT
g.vickers at qut.edu.au
Ph: 07 3864 8276 Fax: 07 3864 5425
Mob: 0416 001 674 SD: 6147

-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-stats.cfg-cpu-w-n.png
Type: application/octet-stream
Size: 6999 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020828/402698b3/attachment.obj>


More information about the Users mailing list