[Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Hello all, I've googled around everywhere trying to find an answer here and came up unsuccessful, so if anyone has had experience in this situation, I'd appreciate help! Basically, the issue that I'm having is that I have a couple of temperature plugins that are reporting errors in Nagios

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
Sorry - accidentally resent! Melissa A. Huber Linux-Unix Administrator ASCENTDATA Advanced, Secure, Data Centers www.ascentdata.com http://www.ascentdata.com/ mhu...@ascentdata.com 412-968-4030 From: Huber, Melissa Sent: Tuesday, August 17, 2010

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Matthew J. Salerno
For starters, why is use strict commented out? From: Huber, Melissa mhu...@ascentdata.com To: nagios-users@lists.sourceforge.net Sent: Tue, August 17, 2010 2:41:23 PM Subject: [Nagios-users] nagios plugins return code issue  Hello all, I've googled around

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
To: Nagios Users List Cc: Huber, Melissa Subject: Re: [Nagios-users] nagios plugins return code issue For starters, why is use strict commented out? From: Huber, Melissa mhu...@ascentdata.com To: nagios-users@lists.sourceforge.net Sent: Tue, August 17, 2010 2:41:23 PM

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Matthew J. Salerno
: [Nagios-users] nagios plugins return code issue Umm... Not sure. I just tried uncommenting and got the same results though. I'm taking over managing the nagios server that we have from another collegue who left the company. I've actually migrated everything over to another server that is now

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Huber, Melissa
, August 17, 2010 3:45 PM To: Huber, Melissa; Nagios Users List Subject: Re: [Nagios-users] nagios plugins return code issue What is your command line? Are you calling the script directly or is it wrapped in a shell script? I took a quick look at the script, and it needs quite a bit of improvement

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread diego . roccia
...@ascentdata.com; Nagios Users Listnagios-users@lists.sourceforge.net Reply-To: Matthew J. Salerno vagabond_k...@yahoo.com, Nagios Users List nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios plugins return code issue What is your command line? Are you calling the script directly

Re: [Nagios-users] nagios plugins return code issue

2010-08-17 Thread Marcel
nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios plugins return code issue What is your command line? Are you calling the script directly or is it wrapped in a shell script? I took a quick look at the script, and it needs quite a bit of improvement. Not sure

[Nagios-users] nagios plugins return code issue

2010-08-16 Thread Huber, Melissa
Hello all, I've googled around everywhere trying to find an answer here and came up unsuccessful, so if anyone has had experience in this situation, I'd appreciate help! Basically, the issue that I'm having is that I have a couple of temperature plugins that are reporting errors in Nagios

Re: [Nagios-users] nagios plugins return code issue

2010-08-16 Thread Tony Yarusso
This probably means that a subroutine from one of the used perl libraries is bailing out with an error, although why I don't know. Are you sure you're passing all of the arguments the same on the command line as Nagios is? One thing that I can tell you is that those plugins are out of

Re: [Nagios-users] nagios plugins return code issue

2010-08-16 Thread Herb J.
Additionally, Nagios is really sensitive about how the Perl script is written. It should be written well-enough to run with use strict without any errors. (I see that it is commented out of both of your scripts.) Additionally, the embedded Perl interpreter causes the scripts to be run in what