PROCESS_SERVICE_CHECK_RESULT

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

PROCESS_SERVICE_CHECK_RESULT

Post by saleemthupsee »

Hello,

this command is running in a loop when i check the /usr/local/nagios/var/nagios.log. IS there a way to stop this ?


[1519896564] External command error: Command failed
[1519896564] Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;IMEDIA_EPG;%httvnagiosservicePOST0
[1519896564] External command error: Command failed
[1519896564] Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;IMEDIA_EPG;%httvnagiosservicePOST0
[1519896564] External command error: Command failed
[1519896564] External command error: Command failed
[1519896564] Error: External command failed -> PROCESS_SERVICE_CHECK_RESULT;IMEDIA_EPG;%httvnagiosservice0
[1519896564] External command error: Command failed

regards,
Saleem
PAris
France.
Saleem THUPSEE
kyang

Re: PROCESS_SERVICE_CHECK_RESULT

Post by kyang »

Is this a current host/service?

What command is the host IMEDIA_EPG under service httvnagiosservicePOST0 doing?

Can you post the check_command and more details?
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by saleemthupsee »

IMEDIA_EPG is a HOST, %httvnagiosservice was supposed to be a variable in nagioslogserver to to replaced with the current service. However this did not happen and the command went through rough as it is. (As you may know the % breaks the command process_check_result). Therefore i was looking for a way to cancel wrongful commands that go through process_check_results.

I am also attempting to prevent these commands from going through. After several reboot from the nagiologserver that sent this original command that issue has stopped. I fear that this might happen and wanted to know how to cancel it out or kill the command.

regards;
Saleem
Paris
France
Saleem THUPSEE
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by scottwilkerson »

I believe this is an error in your script on the Nagios Log Server machine. It is calling an invalid command

Once you fix the error, or remove the Alert triggering the the script, these logs will stop
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by saleemthupsee »

Thanks Scott,

I have added on top of that a parsing that removes the "%" character using filter/gsub/replace.

Saleem
Paris.
France.
PS: My contract ends here for this Project with Parabole Réunion.
Thanks all for all the support.
Saleem THUPSEE
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by scottwilkerson »

Ok, then, closing thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked