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.
PROCESS_SERVICE_CHECK_RESULT
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
PROCESS_SERVICE_CHECK_RESULT
Saleem THUPSEE
-
kyang
Re: PROCESS_SERVICE_CHECK_RESULT
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?
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
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
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
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
Once you fix the error, or remove the Alert triggering the the script, these logs will stop
-
saleemthupsee
- Posts: 107
- Joined: Wed Feb 15, 2017 4:22 am
- Location: Paris France
- Contact:
Re: PROCESS_SERVICE_CHECK_RESULT
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.
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
Ok, then, closing thread