PDA

View Full Version : [REGLE] NRPE_NT failed to create process, exiting...


ludo
15th June 2005, 15:15
rnpe nt est installé sur un win xp, et ke je fasse un check disk ou cpu ou mem avec check nt, g toujours kom message ce ke g mis en titre de sujet, kan j ouvre nrpe_nt.txt ( ki résume tout ce ki se fait avec nrpe sur mon win xp) j obtient ceci


Loaded config from: C:\Documents and Settings\LL\Mes documents\nrpe_nt.0.8-bin\bin\nrpe.cfg
2005-05-15 14:07:28; 8368; 7;Starting server thread...
2005-05-15 14:07:28; 8396; 7;Binding to all interfaces
2005-05-15 14:07:28; 8396; 6;Listening on port 5666
2005-05-15 14:08:06; 4488; 7;Host is asking for command 'nt_check_disk_c' to be run...
2005-05-15 14:08:06; 4488; 7;Running command: C:\Documents and Settings\LL\Mes documents\ nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt c: 70 90
2005-05-15 14:08:06; 4488; 4;Error: Failed to create process for command C:\Documents and Settings\LL\Mes documents\ nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt c: 70 90
Systemerror:Le fichier spécifié est introuvable.
2005-05-15 14:08:06; 4488; 7;Command completed with return code 3


voila si kelkun a une idée je suis open

wistof
15th June 2005, 15:42
a première vue, il te manque les plugins nrpe_nt

:arrow: http://www.nagiosexchange.org/NRPE_Plugins.66.0.html
:arrow: http://www.nagiosexchange.org/NRPE_Plugins.66.0.html?&tx_netnagext_pi1[p_view]=62

ludo
15th June 2005, 15:47
Ah ah aaaaaaah elle est bonne celle la, chui passi con ke ca kan meme lol, j ai les plugins et a l endroit spécifié, sinon jme demandais pour le nom, si il faut mettre le .exe ou non ( j ai déja essayé de les mettre, ca ne change pas le résultat)

wistof
15th June 2005, 16:02
:roll:

essai de mettre ton répertoire à la racine ex: c:\nrpe, peut être qu'il n'aime pas les espaces....

ludo
15th June 2005, 16:04
hum, may be, bon jvé essayer jte dis koi après

wistof
15th June 2005, 16:11
quand on regarde la doc, il mette pas d'espace dans les chemins....

command[nt_check_disk_c]=C:\nagios\bin\diskspace_nrpe_nt.exe c: 70 90
command[nt_check_disk_d]=C:\nagios\bin\diskspace_nrpe_nt.exe d: 70 90
command[nt_check_disk_e]=C:\nagios\bin\diskspace_nrpe_nt.exe e: 70 90
command[nt_cpuload]=C:\nagios_nt\nrpe_nt.0.7b-SSLupd-bin\bin\cpuload_nrpe_nt.exe 50 80

mais bon, c'est juste une remarque comme ça, je n'ai pas encore eu l'occassion de travailler avec nrpe....

ludo
15th June 2005, 16:23
ouai bin, ca ne marche pas mieu a la racine :shock:

wistof
15th June 2005, 16:32
est ce que tu arrives à faire fonctionner la commande C:\Documents and Settings\LL\Mes documents\ nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt c: 70 90 ??

ludo
15th June 2005, 16:34
yes en ligne de commande ca marche, idem pour cpu mais jvoudré bien avoir la meme réponse par oreon

wistof
16th June 2005, 02:05
alors, j'ai réussi à reproduire ton problème (si c'est bien le même)...

2005-05-16 00:50:10; 2364; 7;Added command[nt_check_disk_c]=C:\Program Files\nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90
2005-05-16 00:50:10; 2364; 7;Loaded config from: C:\Program Files\nrpe_nt.0.8-bin\bin\nrpe.cfg
2005-05-16 00:50:10; 2364; 7;Starting server thread...
2005-05-16 00:50:10; 3140; 7;Binding to all interfaces
2005-05-16 00:50:10; 3140; 6;Listening on port 5666
2005-05-16 00:57:31; 3952; 7;Host is asking for command 'nt_check_disk_c' to be run...
2005-05-16 00:57:31; 3952; 7;Running command: C:\Program Files\nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90
2005-05-16 00:57:31; 3952; 7;Command completed with return code 2
2005-05-16 01:00:26; 3140; 7;Exited listener loop
2005-05-16 01:00:26; 2364; 6;NRPE_NT shutting down...
2005-05-16 01:00:27; 244; 7;Added command[nt_check_disk_c]=C:\Program Files\ nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90
2005-05-16 01:00:27; 244; 7;Loaded config from: C:\Program Files\nrpe_nt.0.8-bin\bin\nrpe.cfg
2005-05-16 01:00:27; 244; 7;Starting server thread...
2005-05-16 01:00:27; 1672; 7;Binding to all interfaces
2005-05-16 01:00:27; 1672; 6;Listening on port 5666
2005-05-16 01:00:43; 3784; 7;Host is asking for command 'nt_check_disk_c' to be run...
2005-05-16 01:00:43; 3784; 7;Running command: C:\Program Files\ nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90
2005-05-16 01:00:43; 3784; 4;Error: Failed to create process for command C:\Program Files\▓nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90
Systemerror:Le fichier spécifié est introuvable.


2005-05-16 01:00:43; 3784; 7;Command completed with return code 3

C:\Documents and Settings\LL\Mes documents\▓nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt c: 70 90

il y a un espace de trop...

ludo
16th June 2005, 12:21
lol je sais, jman suis apercu après mais ca ne marche tjr pas...étrange

wistof
16th June 2005, 12:33
y a pas de raison... c'est forcement une connerie dans le genre....



sinon cscript.exe, c'est le script engine de windows, il permet de lancer les vbs et wsh.

ludo
16th June 2005, 16:02
putain mais n importe koi sérieu :

command[nt_check_disk_c]=C:\nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90

n'est pas :

command[nt_check_disk_c]= C:\nrpe_nt.0.8-bin\bin\diskspace_nrpe_nt.exe c: 70 90

moralité :

Attention aux espaces en fin de ligne....et aussi après les "=", salut

wistof
16th June 2005, 16:18
8) tu as trouvé...

si tu pouvais juste éditer ton titre et mettre [Réglé] devant, ça serait sympa