Hi i have problem while using check_memory.py plugin in Nagios XI.
I'm getting error as
Return code of 127 is out of bounds - plugin may be missing
While running manually from command line its working fine... but from web insterface its giving trouble.
usage is as below.
./check_memory -w <number in MB> -c <number in MB>
Can anyone help me ?
check_memory.py plugin usage problem
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_memory.py plugin usage problem
In order to help we need to see your command definition as well as service definition since it works when you run it by hand.
These configuration files can be found in the directories:
If you can copy out the command which you are using for the service, and paste it here along with the service definition we can take a look!
These configuration files can be found in the directories:
Code: Select all
/usr/local/nagios/etc/commands.cfg
/usr/local/nagios/etc/services/<servicename.cfg>-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: check_memory.py plugin usage problem
Thanks all for ur replies.
I got it working.
I got it working.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_memory.py plugin usage problem
Great! Thanks for letting us know.