[Nagios-users] Newbie Question

2011-05-16 Thread Matty Sarro
Hey everyone, I am still a newbie to nagios, so please bear with me. I am trying to find a plugin that will monitor the contents of a particular DB table. If certain status codes show up, then generate an alert. Is there something available off the shelf that can do this? Or will I have to write

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Matty Sarro
This is for mysql. I saw a plugin called check_mysql_query but it doesn't seem to be included in the plugins package I downloaded. I'm going to try reinstalling the plugins in case something got borked. I can't find it on exchange either. I may have one other possibility after some more

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Jim Avery
On 16 May 2011 14:47, Matty Sarro msa...@gmail.com wrote: This is for mysql. I saw a plugin called check_mysql_query but it doesn't seem to be included in the plugins package I downloaded. I'm going to try reinstalling the plugins in case something got borked. I can't find it on exchange

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Matty Sarro
Weird, I just reinstalled the plugins and I still don't see check_mysql_query or check_mysql. This is installing from source following the quickstart guide. On Mon, May 16, 2011 at 9:47 AM, Matty Sarro msa...@gmail.com wrote: This is for mysql. I saw a plugin called check_mysql_query but it

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Matty Sarro
Thanks everyone! It turns out there is a dependency for check_mysql_query to compile correctly. I installed the dep, recompiled, and now have access to it. This looks like it will return exactly what I need. Thanks again! On Mon, May 16, 2011 at 10:00 AM, Jim Avery j...@jimavery.me.uk wrote: On

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Giles Coochey
On Mon, May 16, 2011 16:01, Matty Sarro wrote: Weird, I just reinstalled the plugins and I still don't see check_mysql_query or check_mysql. This is installing from source following the quickstart guide. You may need some mysql devel packages on your system?

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Axel Rosenski
Hi, did you install the plugins from source? You have to install libmysqlclient and reinstall the plugins again. configure checks the libraries on your system. Regards Axel Am Montag, 16. Mai. 11, 16:01:22 schrieb Matty Sarro: Weird, I just reinstalled the plugins and I still don't see

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Matty Sarro
That fixed it :) Thanks all! On Mon, May 16, 2011 at 10:25 AM, Axel Rosenski rosen...@wave-computer.de wrote: Hi, did you install the plugins from source? You have to install libmysqlclient and reinstall the plugins again. configure checks the libraries on your system. Regards Axel Am

[Nagios-users] Flap Detection: Why do only HARD state changes count?

2011-05-16 Thread Paul M. Dubuc
This isn't explicitly stated in the documentation, but it seems that flap detection state changes only apply to HARD states. So it's possible that a service check and toggle back and forth indefinitely between OK and not OK (unless max_check_attempts is set to 1) and flapping will not be

[Nagios-users] Error: Could not read object configuration data!

2011-05-16 Thread Adam Heinz
Running nagios-3.2.3-8.fc14.x86_64 rpm, clicking most links in the leftnav result in the Error: Could not read object configuration data! First things first, from every FAQ I've read: # nagios -v /etc/nagios/nagios.cfg Total Warnings: 0 Total Errors: 0 # /etc/init.d/nagios status nagios (pid

Re: [Nagios-users] Flap Detection: Why do only HARD state changes count?

2011-05-16 Thread ranjib dey
This is by design. As you have mentioned you can tweak the Max check attention to trigger hard state change soon after a soft state transition On May 17, 2011 12:20 AM, Paul M. Dubuc w...@paul.dubuc.org wrote: This isn't explicitly stated in the documentation, but it seems that flap detection

Re: [Nagios-users] Newbie Question

2011-05-16 Thread Terry Carmen
Quoting Matty Sarro msa...@gmail.com: Hey everyone, I am still a newbie to nagios, so please bear with me. I am trying to find a plugin that will monitor the contents of a particular DB table. If certain status codes show up, then generate an alert. Is there something available off the