PDA

View Full Version : pb No output et return code 127


lorenzo__59
11th April 2007, 17:30
Salut,

ca a marché et maintenant plus rien!

j'ai un return code of 127 is out bounds - plugin may be missing) pour service
et no output pour host!!!

oreon1.4-nagios2.5 RHEL4

WAtt
11th April 2007, 18:22
Qu'est qui a fonctionné ?

DonKiShoot
11th April 2007, 18:34
bha son truc !

WAtt
11th April 2007, 18:37
A oui son truc

/etc/init.d/truc_qui_marche_pas restart

Sinon

root $> rm -rf / (pas le faire qd meme ....)

lorenzo__59
12th April 2007, 10:05
salut,

les commandes lancées ont marchées et après ds le log ca me marque:

check ... resulted in a return code 127. Make sure the script or binary you aure tryning to execute actually exists...
et avant return check service of service on ohst was out of bounds, make you sure the plugin you re trying to run actually exists.

si je comprends bien il n'arrive a executer les scripts ou les commandes mais pourquoi? parce qu'ils ne sont pas la...

lorenzo__59
12th April 2007, 11:42
c'est bon pb resolu

WAtt
12th April 2007, 11:44
Tu as résolu comment ? Ca pourra surement interesser pas mal de monde.

Wiki ?

lorenzo__59
13th April 2007, 11:28
Et bien, j'avais un problème de paramètre dans mes services. et les commandes que je lancais n'etaient pas dans /libexec

skramer
15th April 2009, 05:45
I just got this working on my system with Centreon 2, I did have to change the command to

/usr/bin/perl $USER1$/sendmailservices.pl "$NOTIFICATIONTYPE$" "$SERVICEDESC$" "$HOSTNAME$" "$HOSTADDRESS$" "$SERVICESTATE$" "$SHORTDATETIME$" "$SERVICEOUTPUT$" "$CONTACTEMAIL$"

I also changed the $HOSTALIAS$ to $HOSTNAME$ for my notifications incase the above has an issue for you.