[Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread trm asn
Dear List, Is there any plug-in available for nagios to check the newly added Host/Services/Contacts and notify by email. /\ dE -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the

Re: [Nagios-users] high latency

2010-12-03 Thread Andreas Ericsson
On 12/02/2010 06:42 PM, Daniel Wittenberg wrote: Embeded perl is interesting though, I hadn't tried that, thought it was supposed to help with performance. In theory, it does. It probably does in practice too, but the problems associated with it makes it not worth it. I don't think we have

Re: [Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread Christian Schneemann
Hi, On Friday, December 03, 2010 11:53:38 trm asn wrote: Dear List, Is there any plug-in available for nagios to check the newly added Host/Services/Contacts and notify by email. could you be more verbose what kind of plugin you are looking for? Regards, Christian /\ dE --

Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Andreas Ericsson
On 12/03/2010 07:29 AM, Sebastian Ries wrote: Hi The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told that it is a very large directory with many files) In

Re: [Nagios-users] high latency

2010-12-03 Thread Andreas Ericsson
On 12/02/2010 08:38 PM, Daniel Wittenberg wrote: Someone else noticed that nagios is generating a ton of minor page faults, and curious if that's normal and if that could be causing some of the latency in the checks? define a ton $ /usr/bin/time php -r 'echo marsipulami\n;' marsipulami

Re: [Nagios-users] high latency

2010-12-03 Thread Max Schubert
I find it interesting that a number of users get performance improvements with embedded perl off - we lose 20-40% polling capacity perl poller with it off. - Max -- Increase Visibility of Your 3D Game App Earn a Chance

Re: [Nagios-users] high latency

2010-12-03 Thread Andreas Ericsson
On 12/03/2010 12:46 PM, Max Schubert wrote: I find it interesting that a number of users get performance improvements with embedded perl off - we lose 20-40% polling capacity perl poller with it off. How do you mean that you're losing capacity? Does latency start to creep upwards or is load

Re: [Nagios-users] high latency

2010-12-03 Thread Max Schubert
Latency increases much more quickly for us without epn as execution times are noticably longer per check. We use rhel 5.x, so the perl is 5.8.8. We have semi dailoy updates to our pollers and with epn that means cold restarts - memory leaks have not been noticable given that scenrio, but on test

Re: [Nagios-users] How can i show remote nagios results in one interface?

2010-12-03 Thread Greg Pangrazio
I was wrong i use check_service_cluster http://nagios.sourceforge.net/docs/3_0/clusters.html Greg Pangrazio On Thu, Dec 2, 2010 at 9:25 PM, Greg Pangrazio pangr...@gmail.com wrote: I do this with one service check that looks at all 4 of the statuses and there is a warning and a critical

Re: [Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread trm asn
I am looking for a plugin which will check the hosts.cfg, contacts.cfg, command.cfg and if found any new entry has been added into those files , then will be notified to the specific email id . On Fri, Dec 3, 2010 at 4:23 PM, trm asn trm.nag...@gmail.com wrote: Dear List, Is there any

Re: [Nagios-users] high latency

2010-12-03 Thread Daniel Wittenberg
Pagefaults - 20-30k. This seems to be the source of most of the cpu system time (understandably), which sits about 40-50%. So if I could reduce the pagefaults I think we could gain quite a bit of performance back. I found one other huge issue...somehow in the generic service check, the

Re: [Nagios-users] How can i show remote nagios results in one interface?

2010-12-03 Thread Jon Adcock
Tony, I have installed MNTOS on two systems (troubleshooting) and I have the same issue with both. The nagios.xml file is being updated with data, but when I hit the webpage, there is nothing displayed (absolutely blank). I downloaded a simple php page that lists a bunch of PHP

Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Daniel Wittenberg
Not sure how those other scripts are doing it, if using an ls maybe? As a test, can you do: time find path -type f |wc -l See how long it takes for that? Dan -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Friday, December 03, 2010 5:26 AM To: Nagios Users List

Re: [Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread Andreas Ericsson
On 12/03/2010 03:28 PM, trm asn wrote: I am looking for a plugin which will check the hosts.cfg, contacts.cfg, command.cfg and if found any new entry has been added into those files , then will be notified to the specific email id . Hope you find one. It shouldn't be hard to write yourself

Re: [Nagios-users] high latency

2010-12-03 Thread Andreas Ericsson
On 12/03/2010 04:31 PM, Daniel Wittenberg wrote: Pagefaults - 20-30k. This seems to be the source of most of the cpu system time (understandably), which sits about 40-50%. So if I could reduce the pagefaults I think we could gain quite a bit of performance back. Over what period of time?

Re: [Nagios-users] high latency

2010-12-03 Thread Daniel Wittenberg
Sorry for confusion on that..I added 9 checks to *each* host, and there's about 700 hosts. No, it's all the nagios daemon itself (nagios -uxd). It feels like if I add that many more checks that it has a hard time doing the checks and processing the results since if I either move the active

Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Gavin Carr
On Fri, Dec 03, 2010 at 07:29:54AM +0100, Sebastian Ries wrote: The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told that it is a very large directory with many

Re: [Nagios-users] high latency

2010-12-03 Thread Daniel Wittenberg
It appears that nagios spawns lots and lots of new procs for all the various tasks it does, check results and such. I was curious, wouldn't a model more like Apache work better? Something like, a queue for work, and have worker processes grab off that queue, run a bunch of different jobs, then

Re: [Nagios-users] high latency

2010-12-03 Thread Frost, Mark {PBC}
Can the use of dependencies also be the cause of increased latencies? I too struggle with them and I'm running on lightly-loaded physical hardware. We have 2 servers doing the checks sending back to a central server. Both distributed nodes use ocsp/ochp, but they do nothing more than append

Re: [Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread Rick Carter
We keep those files under RCS revision control and make people check them out and in to add new information. If we wanted to, I'd probably write an rcsdiff to see if anything's checked out that's not been checked back in. Otherwise, two ideas come to mind: - Create a daily cron job to check

Re: [Nagios-users] Check New Host Service added into Monitoring

2010-12-03 Thread Rick Carter
Actually I thought of further things I'd make such a cron job do (this could easily be a simple bash or perl script)... - if the files have changed, check their times against the time nagios last restarted and warn if they are newer (as the changes aren't being picked up by the running nagios)