[Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread nag ios
Hi,

i have a problem while using check_memory.py plugin its poping up error as
below.

(Return code of 127 is out of bounds - plugin may be missing)

permissions for the plugin as root and root for owner , group owner.

Please help me out
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread Ben Sykes
Try running the check as the nagios user and see what happens.

I ran into this problem also when I was using a very large number of
services (3500+) in a single service group, which I fixed by turning off
environment macros

On Mon, Apr 15, 2013 at 8:43 PM, nag ios nagiost...@gmail.com wrote:

 Hi,

 i have a problem while using check_memory.py plugin its poping up error as
 below.

 (Return code of 127 is out of bounds - plugin may be missing)

 permissions for the plugin as root and root for owner , group owner.

 Please help me out


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread Sunil Sankar
Make sure the plugin is present on the remote host and also mentioned in
nrpe


Regards
Sunil

On Mon, Apr 15, 2013 at 4:13 PM, nag ios nagiost...@gmail.com wrote:

 Hi,

 i have a problem while using check_memory.py plugin its poping up error as
 below.

 (Return code of 127 is out of bounds - plugin may be missing)

 permissions for the plugin as root and root for owner , group owner.

 Please help me out


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
Regards
Sunil Sankar
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread Giorgio Zarrelli
Change the ownership of file to nagios user and chmod +x the file. Please, make 
a ls - lah inside the plugin directory. 

nag ios nagiost...@gmail.com ha scritto:

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error for check_memory.py

2013-04-15 Thread Marc-André DOLL

Hi,

Check if the path to the plugin defined in your Nagios command is correct.

Regards,

On 15/04/2013 12:43, nag ios wrote:

Hi,
i have a problem while using check_memory.py plugin its poping up 
error as below.

(Return code of 127 is out of bounds - plugin may be missing)
permissions for the plugin as root and root for owner , group owner.
Please help me out


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing error

2009-03-12 Thread Kevin Keane
Return code 127 means that Nagios wasn't able to start the plugin 
executable - as you already found out from your googling, it usually 
means that either the plugin is missing altogether, is in a different 
directory from where Nagios expects it, or that it is not executable for 
the nagios user. Note that it could also be permissions on one of the 
directories on the path to the plugin.

In most distributions I have seen, plugins are either in 
/usr/lib/nagios/plugins, or in /usr/lib64/nagios/plugins. Maybe Fruity 
somehow changed the directory from lib64 to lib or vice versa?

You say that some checks are working and some aren't. Find one of the 
plugins that works, and one that doesn't, and compare the permissions 
and file locations.

And finally, if you have turned on one of the hardening mechanisms (such 
as SELinux or AppArmor), a plugin may not be executable even with the 
right permissions.

Since you say it happened when you used Fruity, my first guess is that 
it somehow changed the directory where Nagios looks for plugins.

Fritsch, Kurt wrote:

 I inherited a Nagios system and I am by no means an expert in its 
 configuration, so I apologize in advance.

 What I have been seeing for the last few days is that some of the 
 services I’m monitoring are returning the following error for every host:

 (Return code of 127 is out of bounds - plugin may be missing)

 Some services are performing checks just fine, but others (most 
 importantly check_ping) give the above error. I’ve tried googling this 
 and gotten some ideas about file permissions and making sure the 
 Nagios.cfg file points to the directory where the plugins are located, 
 but I can’t seem to get this fixed.

 This all started when I was using the Fruity interface to make some 
 host changes and upload them to Nagios, I’m not sure if something got 
 corrupted. The Nagios service starts up without any errors.

 Any ideas?


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Return code of 127 is out of bounds - plugin may be missing error

2009-03-11 Thread Fritsch, Kurt
I inherited a Nagios system and I am by no means an expert in its 
configuration, so I apologize in advance.

What I have been seeing for the last few days is that some of the services I'm 
monitoring are returning the following error for every host:
(Return code of 127 is out of bounds - plugin may be missing)

Some services are performing checks just fine, but others (most importantly 
check_ping) give the above error.  I've tried googling this and gotten some 
ideas about file permissions and making sure the Nagios.cfg file points to the 
directory where the plugins are located, but I can't seem to get this fixed.

This all started when I was using the Fruity interface to make some host 
changes and upload them to Nagios, I'm not sure if something got corrupted.  
The Nagios service starts up without any errors.

Any ideas?

Thanks,
Kurt Fritsch
ResNet Manager
Division of University Housing
Information Technology Department
University of Wisconsin-Madison
608-265-3846

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null