Re: [Nagios-users] freshness checks not working

2011-12-27 Thread JM
Jim Avery jimavery.me.uk> writes: > Is the the relevant entry for that service check in > your objects.cache file correct? I believe so. Do you see something out of the ordinary: host_name xxx service_description yyy check_period24x7 check_command

Re: [Nagios-users] Nagios on CentOS

2011-12-27 Thread Chris Beattie
On 12/27/2011 9:31 AM, Jatin wrote: > Fedora. I wanted to know if i can follow the same steps for installing > Nagios on CentOS assuming that i have a default CentOS installation. Yes. I used the Fedora instructions to install Nagios on CentOS myself. It has been a while since I did it, though

[Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread mpedersen
Hello. I've installed Nagios Core 3.3.1, and can't get it to run very fast at all. Machine specs: OS: CentOS 5.7 Processor: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (8 cores) RAM: 8G HD: 800G, 22G used Going by top, the load average of the machine hovers around 1.5-2.0. CPU usage is aroun

[Nagios-users] Nagios on CentOS

2011-12-27 Thread Jatin
Hi I have earlier used Nagios on Fedora 13 and was successful in installing Nagios without any hiccups using the quick installation guide meant for Fedora. I wanted to know if i can follow the same steps for installing Nagios on CentOS assuming that i have a default CentOS installation. Also l

[Nagios-users] Newbie: controlling bad packets.

2011-12-27 Thread Network Operation Center FMC Luxemburg
Hi the List, I would control if bad packets has been rejected on a given lan for any or several machines A command like this : check_rejected_packets -L addresses, or an intervall> -T Any ideas? A plugin exists for this control? -- Francois Network Operation Center FMC Luxembourg

Re: [Nagios-users] freshness checks not working

2011-12-27 Thread JM
Jim Avery jimavery.me.uk> writes: > > Can someone tell me why some real services derived from the above template > > do not seem to do the freshness checks? > > Are you sure they don't do the freshness check? Definitely, once a trap was received, the state remains critical... -

Re: [Nagios-users] Nagios on CentOS

2011-12-27 Thread Alain Williams
On Tue, Dec 27, 2011 at 08:01:49PM +0530, Jatin wrote: > Hi > > I have earlier used Nagios on Fedora 13 and was successful in installing > Nagios without any hiccups using the quick installation guide meant for > Fedora. I wanted to know if i can follow the same steps for installing > Nagios on

Re: [Nagios-users] freshness checks not working

2011-12-27 Thread Jim Avery
On 27 December 2011 08:19, JM wrote: > Jim Avery jimavery.me.uk> writes: > >> > Can someone tell me why some real services derived from the above template >> > do not seem to do the freshness checks? >> >> Are you sure they don't do the freshness check? > > > Definitely, once a trap was received,

Re: [Nagios-users] Nagios on CentOS

2011-12-27 Thread Alain Williams
On Tue, Dec 27, 2011 at 11:02:51AM -0500, Chris Beattie wrote: > On 12/27/2011 9:31 AM, Jatin wrote: > > Fedora. I wanted to know if i can follow the same steps for installing > > Nagios on CentOS assuming that i have a default CentOS installation. > > Yes. I used the Fedora instructions to insta

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread mpedersen
On Tue, 27 Dec 2011 17:10:06 +, Daniel Wittenberg wrote: > Not meaning to toot my own horn, but for larger scales I did a > presentation that has config examples and stuff, based on RHEL-5, but > should apply the same to RHEL/CentOS 6 as well. Please feel free to toot your own horn there. Tha

Re: [Nagios-users] Nagios on CentOS

2011-12-27 Thread Daniel Wittenberg
I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. Dan -Original Message- From: Alain Williams [mailto:a...@phcomp.co.uk] Sent: Tuesday, December 27, 2011 10:13 AM To: Nagios Users List Subject: Re: [Nagio

Re: [Nagios-users] servicedependencies not working

2011-12-27 Thread Daniel Wittenberg
Yeah I've been starting to play with using hostgroups to tie them together since I can't really use hosts, but so far just limited on time due to holidays, I hope to get more testing done this week but initial testing looks like if I can specify the hostgroups in these configs then it works. Da

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread Daniel Wittenberg
Not meaning to toot my own horn, but for larger scales I did a presentation that has config examples and stuff, based on RHEL-5, but should apply the same to RHEL/CentOS 6 as well. http://planet.nagios.org/archives/84-nagios-exchange/3850-daniel-wittenberg-scaling-nagios-at-a-giant-insurance-com

Re: [Nagios-users] freshness checks not working

2011-12-27 Thread Jim Avery
On 27 December 2011 13:32, JM wrote: > Jim Avery jimavery.me.uk> writes: >> Is the the relevant entry for that service check in >> your objects.cache file correct? > > I believe so. Do you see something out of the ordinary: I can't see anything wrong with that at all, no. The only difference I

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread mpedersen
On Tue, 27 Dec 2011 12:25:07 -0500, wrote: > Please feel free to toot your own horn there. That's the sort of writeup I > needed, and I'll be reading it in a lot of detail today. And now I will sound ungrateful. I've applied the tips in here, and still others I've found online, but I'm still slow

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread Daniel Wittenberg
Not at all, we're all here to help... What are you using for your ping check? What is the output from 'nagiostats'? Dan -Original Message- From: mpeder...@choopa.com [mailto:mpeder...@choopa.com] Sent: Tuesday, December 27, 2011 3:21 PM To: Nagios Users List Subject: Re: [Nagios-users

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread Gregory Phillips
Are you using fping instead of regular ping? It is a different package from ping that needs to be installed separately. Here is an excerpt from its man page: fping is a like program which uses the Internet Control Message Proto- col (ICMP) echo request to determine if a target host is r

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread Max Schubert
I have written a number of blog posts about optimizing and tuning Nagios performance as well - you might find some of them useful: http://www.semintelligent.com/blog/ - Max -- Write once. Port to many. Get the SDK and to

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread mpedersen
On Tue, 27 Dec 2011 21:26:15 +, Daniel Wittenberg wrote: > Not at all, we're all here to help... > > What are you using for your ping check? > What is the output from 'nagiostats'? And now I'm going to admit to feeling like a blooming idiot. As it turns out, the problem was the performanc

Re: [Nagios-users] Nagios Optimization on CentOS

2011-12-27 Thread Daniel Wittenberg
No prob! Hopefully learned some more about performance tuning while you were at it! Dan -Original Message- From: mpeder...@choopa.com [mailto:mpeder...@choopa.com] Sent: Tuesday, December 27, 2011 4:16 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Optimization on CentOS

Re: [Nagios-users] servicedependencies not working

2011-12-27 Thread Daniel Wittenberg
Adding in the hostgroups seems to get things working as I would expect. I guess this is another case where "active checks" does not include those performed by freshness checking. Even though I have execution_failure_criteria set to not run on warning and critical, it seems freshness checks are