Page 1 of 1

PROCESS_SERVICE_CHECK_RESULT

Posted: Mon Nov 27, 2017 5:49 am
by saleemthupsee
Hello,

I am receiving this warning from the logs: Is this because the command is wrong ? If not, can the cause of the warning be determined ?

Warning: Unrecognized external command -> [1511714025] PROCESS_SERVICE_CHECK_RESULT;DISCOVERY;SH5;0;Jplus1_AUDIO1 Durée= 0.001 s

regards,
Saleem
Paris

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Mon Nov 27, 2017 12:07 pm
by kyang
Are you running this through a shell script?

https://old.nagios.org/developerinfo/ex ... and_id=114

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Tue Nov 28, 2017 5:04 am
by saleemthupsee
I am processing it from NAgiosLogSErver through the command

pipe {
command => "curl -k -X POST -L 'https://192.168.97.2/nrdp?cmd=submitcmd ... %{pid_desc}''"
}

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Tue Nov 28, 2017 1:39 pm
by kyang
Are you receiving any error like this when you run the curl command?

Code: Select all

[1511893662] Warning:  Passive check result was received for service 'SH5' on host 'DISCOVERY', but the host could not be found!
Try to add the host, and it should work. You should be able to see this check result under "unconfigured objects"

Code: Select all

curl -k -X POST -L 'https://192.168.4.90/nrdp?cmd=submitcmd&token=welcome&command=PROCESS_SERVICE_CHECK_RESULT;DISCOVERY;SH5;0;Jplus1_AUDIO1 Durée= 0.001 s'

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Wed Nov 29, 2017 9:58 am
by saleemthupsee
Actually, the service does not exist not the host. I created the proper service and rerouting it properly.

Saleem
Paris

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Wed Nov 29, 2017 10:12 am
by kyang
Perfect, so just to be clear this is resolved now?

Are we okay to close this thread?

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Thu Nov 30, 2017 5:28 am
by saleemthupsee
Yes. I checked this morning.

Saleem
Paris

Re: PROCESS_SERVICE_CHECK_RESULT

Posted: Thu Nov 30, 2017 10:04 am
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!