[Nagios-users] Noob questions

2008-04-28 Thread Groups
Ok, Finally got Nagios 2.x going. Don't know much about Linux. How do I install Monarch on Ubuntu? Is there a step by step direction anyone can point me to? Thanks - This SF.net email is sponsored by the 2008

Re: [Nagios-users] Alert when status information changes

2008-04-28 Thread Thomas Harold
Sander Klein wrote: Hi All, I have two loadbalancers in active-passive mode. I would like to know when a failover happens. I don't want the service to become critical, unknown or warning I just want to know when it occurs. Is this somehow possible with nagios? A push in the right

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread kyle . odonnell
Does it work locally if you run it as the same user as the NRPE daemon is running? On 4/28/08, Gavin Williams [EMAIL PROTECTED] wrote: Hi there, I'm having some strange NRPE behaviour. I've written a Perl script that runs a load of checks on our systems, but the ones that are causing the

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... Cheers Gavin -Original Message- From: [EMAIL PROTECTED]

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Rodrick Brown
I don't believe it's possible to use Nagios/Nrpe scripts with 3rd party modules I briefly read something about this in the documentation. Try testing with a very basic 3rd party module that you know must work under almost any condition. -Original Message- From: [EMAIL PROTECTED]

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Gavin Williams Sent: Monday, April 28, 2008 9:44 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Strange NRPE Problem... The username, password and database get

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
Windows 2003 server, Perl5Lib and path set up correctly... Cheers Gavin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Quintin Sent: 28 April 2008 16:06 To: Gavin Williams Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users]

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
No prob, cheers. Just to clarify, I'm using NRPE_Nt, with Nagios 2.0x and check_nrpe on Windows Server 2003. Cheers Gavin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Quintin Sent: 28 April 2008 16:12 To: Gavin Williams Subject: Re:

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Daniel López
On Mon April 28 2008 16:57:00 Gavin Williams wrote: The NRPE Demon is running under the Local System account - all my previous DB scripts have worked fine, so not sure why this one is any different... Not sure of any ways of explicitly testing it under the Local System account... give a try

[Nagios-users] check_smtp

2008-04-28 Thread Nair
hi all, Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Thank you, nair. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Jason L. Faulkner
As root, run sudo -u accountname checkscript (where accountname is what NRPE is running under) If it runs correctly, make sure to echo $? to ensure your return code is getting set correctly. -- Jason Faulkner Lead Systems Engineer iContact Corporation - Original Message -

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Rodrick Brown
I would try hard coding the values into the script to see if that works, that should give you a good indication of where the problem lies. -Original Message- From: Gavin Williams [mailto:[EMAIL PROTECTED] Sent: Monday, April 28, 2008 11:07 AM To: Rodrick Brown; [EMAIL PROTECTED] Cc:

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
Good call... Hard coding them worked... Hmm, now where do I go from here :( Was all going so well... :'( Any ideas? Cheers Gavin -Original Message- From: Rodrick Brown [mailto:[EMAIL PROTECTED] Sent: 28 April 2008 16:19 To: Gavin Williams; [EMAIL PROTECTED] Cc:

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
I've had it working fine with DBI and DBD-Oracle before. I've also been using Win32-Processes to check Process information, so I don't think it should matter. The only thing drastically different about this script is that it loads the config settings (Db, user, pass, etc) in from an XML config

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Gavin Williams
Jason, Running on Windows 2003 box... Cheers for the info though. Gavin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason L. Faulkner Sent: 28 April 2008 16:04 To: nagios-users Subject: Re: [Nagios-users] Strange NRPE Problem...

Re: [Nagios-users] check_smtp

2008-04-28 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nair wrote: Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Read the manual on the command. You should take the time to read the manual on Nagios and look up these kinds of answers yourself before

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Jay R. Ashworth
On Mon, Apr 28, 2008 at 03:44:11PM +0100, Gavin Williams wrote: Now this command works fine if I run it locally on the server, however when using NRPE it throws the above error. Standard question 37: when you test it locally, have you done $ su - nagios beforehand? (Or whomever your

Re: [Nagios-users] Strange NRPE Problem...

2008-04-28 Thread Jay R. Ashworth
On Mon, Apr 28, 2008 at 04:14:01PM +0100, Gavin Williams wrote: Just to clarify, I'm using NRPE_Nt, with Nagios 2.0x and check_nrpe on Windows Server 2003. Yup; that was a good thing to clarify. :-) Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL

Re: [Nagios-users] check_smtp

2008-04-28 Thread Jay R. Ashworth
On Mon, Apr 28, 2008 at 03:10:37PM -, Nair wrote: Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Google for nagios procurve. There's an example of using check_snmp to monitor HP ProCurve switches at, I think, Nagios Exchange, that

[Nagios-users] A bit OT: sending MMS messages from Linux

2008-04-28 Thread Frater, Greg J
Greetings All, My apologies if this is to much off topic. We are having trouble sending alerts from our Nagios server to the MMS address of our cell phones. We have been sending SMS messages for years with great success, however MMS messages are never received. We would like to use MMS

Re: [Nagios-users] check_smtp

2008-04-28 Thread Gary Every
Usage:check_smtp -H host [-p port] [-e expect] [-C command] [-f from addr][-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout] [-S] [-D days] [-n] [-v] [-4|-6] Do that from the command-line, you'll see the output - as well as status. On Mon, Apr 28, 2008 at 8:10 AM, Nair

Re: [Nagios-users] check_smtp

2008-04-28 Thread Rodrick Brown
-H hostname is basically all you need -p iirc if your running on a non standard smtp port. It will return a 200 OK or something like that you don't have to muck around with the -w -c stuff for this check. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nair Sent: Monday,

[Nagios-users] Upgrade to Hardy?

2008-04-28 Thread Josh Wells
I'm running Nagios 3.0 on Ubuntu Gutsy Server at the moment and considering upgrading to Hardy. Has anyone running nagios on an Ubuntu server done this or know of any problems? Don't want to break nagios. Thanks. Josh - This

Re: [Nagios-users] check_smtp

2008-04-28 Thread Patrick Morris
On Mon, 28 Apr 2008, Jay R. Ashworth wrote: On Mon, Apr 28, 2008 at 03:10:37PM -, Nair wrote: Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Google for nagios procurve. There's an example of using check_snmp to monitor HP

Re: [Nagios-users] check_smtp

2008-04-28 Thread Jay R. Ashworth
On Mon, Apr 28, 2008 at 11:19:44AM -0700, Patrick Morris wrote: On Mon, 28 Apr 2008, Jay R. Ashworth wrote: On Mon, Apr 28, 2008 at 03:10:37PM -, Nair wrote: Could you pls let me know usage of check_smtp to exceute an smtp command and display its output. Google for nagios

Re: [Nagios-users] A bit OT: sending MMS messages from Linux

2008-04-28 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Frater, Greg J Sent: Monday, April 28, 2008 11:20 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] A bit OT: sending MMS messages from Linux Greetings All, My

[Nagios-users] Monitoring software RAID in Debian GNU/Linux

2008-04-28 Thread Daniel Bareiro
Hi all!! I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and I've removed a member of RAID device with the following commands: mdadm --manage /dev/md2 --fail /dev/sdb3 mdadm --manage /dev/md2 --remove /dev/sdb3 But Executing by hand the plugin, it shows the RAID status in

[Nagios-users] check_nt/PNP questions...

2008-04-28 Thread mjn
New installation of the latest PNP on 2.X Nagios. My question has to do with the behavior of check_nt. I have a check defined for Trans/sec on SQL. I can run it like so: ./check_nt -H sql -p 5667 -v COUNTER -l \\SQLServer:Databases(_Total)\ \Transactions/sec,Transactions/sec %f And the

Re: [Nagios-users] check_nt/PNP questions...

2008-04-28 Thread Anthony Montibello
That sounds strange, What Windows client are the results comming from? I have tweeked the Counter in Check_nc_net.c several years ago and have not had any reports of issue with this., why not try it, it should be compatible with all check_nt Windows plugins.

Re: [Nagios-users] Monitoring software RAID in Debian GNU/Linux

2008-04-28 Thread Jason L. Faulkner
There's a great check_raid plugin on nagiosexchange.com that we use here. If you can't find it on there, get me off list and I can send to you as an attach. --Jay - Original Message - From: Daniel Bareiro [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Sent: Monday, April

Re: [Nagios-users] Monitoring software RAID in Debian GNU/Linux

2008-04-28 Thread Gavin Carr
Hi Daniel, On Mon, Apr 28, 2008 at 09:08:23PM +, Daniel Bareiro wrote: I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch and I've removed a member of RAID device with the following commands: mdadm --manage /dev/md2 --fail /dev/sdb3 mdadm --manage /dev/md2 --remove

[Nagios-users] Event log doesn't appear to have all transactions

2008-04-28 Thread Simon Kok
Hi there. I'm using Nagios 3.0.1 - primarily using the check_http command to check the availability of some websites. I've set the log_rotation_method to be =h and I see that the log file is rotated every hour but it only appears to have logged the current state for that particular hour.