Search found 4 matches

by mc.dfb
Fri Aug 07, 2015 6:06 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Return code 127 is out of bound
Replies: 5
Views: 13439

Re: Return code 127 is out of bound : Plugin may be missing

EDIT : I just solved the problem : The command did'nt know where was python interpretor, so I had modify my command definition in file "/usr/local/nagios/etc/commands.cfg", as in the command definition in the Web interface : define command{ command_name arduino_temp_sensor command_line /us...
by mc.dfb
Fri Aug 07, 2015 3:39 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Return code 127 is out of bound
Replies: 5
Views: 13439

Re: Return code 127 is out of bound : Plugin may be missing

Code: Select all

defab@nagios:/usr/local/nagios/libexec$ which python
/usr/bin/python
This is what i've already put in my file.
by mc.dfb
Thu Aug 06, 2015 9:57 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Return code 127 is out of bound
Replies: 5
Views: 13439

Re: Return code 127 is out of bound : Plugin may be missing

defab@nagios:/usr/local/nagios/libexec$ ll /usr/local/nagios/libexec/ bash: ll: command not found defab@nagios:/usr/local/nagios/libexec$ su nagios Password: nagios@nagios:/usr/local/nagios/libexec$ /usr/local/nagios/libexec/cigne_plugin.py bash: /usr/local/nagios/libexec/cigne_plugin.py: /usr/bin/...
by mc.dfb
Thu Aug 06, 2015 3:28 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Return code 127 is out of bound
Replies: 5
Views: 13439

[SOLVED] Return code 127 is out of bound

Hi all, Firstly, I apologize for my english, I know it's terrible. As part of an IT project, I worked with Nagios. In order to get the value of a temperature sensor, I create a python plugin that will read the value in a database, and print in on screen. The problem is that when I want to monitor th...