#419 closed defect (worksforme)
Problem with executing a script by NSCA Agent in passive mode.
|Reported by:||phd||Owned by:||MickeM|
When I setting an execution of a script (vbs very basic) by the NSCA agent in passive mode it runs properly.
Sub SendMessageNagios?(Text, flag_connexion)
if flag_connexion > 0 Then
Wscript.Echo "Critical: Problem Sonde : " & Text
Wscript.Echo "OK: All Sondes = OK "
In the logs I see well that the text should be returned to Nagios. Nagios but unfortunately did not get the message text:
2010-11-15 14:13:11: debug:modules\NSCAAgent\NSCAThread.cpp:191: Executing (from NSCA): Sondes
2010-11-15 14:13:11: debug:NSClient++.cpp:1073: Injecting: check_edith:
2010-11-15 14:13:11: debug:NSClient++.cpp:1109: Injected Result: CRITICAL 'Critical: Problem Sonde : 2010-11-09 15:30:22,526 INFO [ProbeMain?] Test WS '
2010-11-15 14:13:11: debug:NSClient++.cpp:1110: Injected Performance Result:
My problem seems to be similar to the following:
He missed part of the message text.
 INITIAL SERVICE STATE: aaliyah;Sondes;OK;HARD;1;
Do you have a solution?