Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Tracy Reed
On Tue, May 26, 2009 at 10:12:02AM +0545, Gaurav Ghimire spake thusly: > Check with the location of the plugin. Resource.cfg and the command > definitions are where you need to see. The majority of the time the plugin runs correctly and returns a correct result so I am sure the plugin is in the c

Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Tracy Reed
On Mon, May 25, 2009 at 11:39:57PM -0500, Marc Powell spake thusly: > What plugin is this and what is it's command definition? If you're > absolutely certain that the plugin exists in the path specified and is Please see my reply to Gaurav where I answered all of these questions. Thanks! --

Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Tracy Reed
On Tue, May 26, 2009 at 11:22:00AM +1000, Stuart Browne spake thusly: > When you run it from the command line, do you run it as the 'nagios' user? Yes, I have run it as the nagios user and it works fine. Please see my reply to Gaurav for more details. -- Tracy Reed http://tracyreed.org pgpO3nd

Re: [Nagios-users] Monitoring MSSQL

2009-05-25 Thread Stuart Browne
Oh crud! Sorry. Brain wasn't awake :( -Original Message- From: Jon Angliss [mailto:j...@netdork.net] Sent: Tuesday, 26 May 2009 13:31 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring MSSQL On Tue, 26 May 2009 09:08:26 +1000, Stuart Browne wrote: >The nagi

Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Marc Powell
On May 25, 2009, at 7:33 PM, Tracy Reed wrote: > The plugin is definitely there and usually the > check passes with no problem. But sometimes it fails with this 127 > code. I have run the test manually from the command line many times > and it never has a problem. Any idea what can cause this? >

Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Gaurav Ghimire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tracy Reed wrote: > I think I have had this problem before and at that time it was a rogue > nagios process. But I have shut down nagios, inspected the process > list, ensured that no other nagios processes were still running, and > restarted. And > t

Re: [Nagios-users] Monitoring MSSQL

2009-05-25 Thread Jon Angliss
On Mon, 25 May 2009 12:54:39 -0300, Eduardo Barreto wrote: >Hi All, > >I've heard about check_mssql.sh, is it the solution to monitor mssql, are >there anyother plugin? Does anybody have a HOWTO to install this plugin? What do you want to monitor specifically? Usually there isn't a "howto" spec

Re: [Nagios-users] Monitoring MSSQL

2009-05-25 Thread Jon Angliss
On Tue, 26 May 2009 09:08:26 +1000, Stuart Browne wrote: >The nagios Plugins has a 'check_mysql' compiled binary which does basic >checks, and has plenty of built-in help to get it working. Assuming the OP really meant M>S --

Re: [Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Stuart Browne
Generally, checks will run as the 'nagios' user (nagios_user in nagios.cfg). If the check needs to write to some temporary files, or is in a place where that user cannot read from, it may just be a 'Permission Denied' issue. When you run it from the command line, do you run it as the 'nagios' u

Re: [Nagios-users] Error Displaying CGI Pages

2009-05-25 Thread Mathieu Gagné
Hi, On 5/25/09 10:24 AM, Chad Files wrote: > I am getting the "Error: Could not read object configuration data" when > I view any of the CGI pages in my Nagios installation. > > This started after I moved my entire OS (Gentoo Linux) installation to a > new drive. The nagios daemon is running, ther

[Nagios-users] plugin exiting with 127 code

2009-05-25 Thread Tracy Reed
I think I have had this problem before and at that time it was a rogue nagios process. But I have shut down nagios, inspected the process list, ensured that no other nagios processes were still running, and restarted. And the problem recurs. The plugin is definitely there and usually the check pas

[Nagios-users] Error Displaying CGI Pages

2009-05-25 Thread Chad Files
I am getting the "Error: Could not read object configuration data" when I view any of the CGI pages in my Nagios installation. This started after I moved my entire OS (Gentoo Linux) installation to a new drive. The nagios daemon is running, there are no errors in the config files, all of the na

Re: [Nagios-users] Monitoring MSSQL

2009-05-25 Thread Stuart Browne
The nagios Plugins has a 'check_mysql' compiled binary which does basic checks, and has plenty of built-in help to get it working. From: Eduardo Barreto [mailto:lec...@gmail.com] Sent: Tuesday, 26 May 2009 01:55 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring MSSQL Hi A

Re: [Nagios-users] Notify via Growl?

2009-05-25 Thread Mathieu Gagné
Hi, On 5/20/09 5:39 PM, Israel Brewster wrote: Which is basically the same thing as hacking the Python script except for a) having to start from scratch, and b) having to work in a language I have little experience with :-) I was sort of hoping someone had already done the above steps and would

[Nagios-users] Monitoring MSSQL

2009-05-25 Thread Eduardo Barreto
Hi All, I've heard about check_mssql.sh, is it the solution to monitor mssql, are there anyother plugin? Does anybody have a HOWTO to install this plugin? Thanks in advance, Eduardo Barreto -- Register Now for Creativi

[Nagios-users] timeperiod and exclude property

2009-05-25 Thread Cyril Vieville
Hi, I got a problem on Nagios timeperiods. I wanted to use the exclude property to exclude holidays from the check period but it doesn´t work. I can only make it work if I comment the exclude lines. My timeperiods file below : define timeperiod{ timeperiod_name