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,

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
Saleem THUPSEE
kyang

Re: PROCESS_SERVICE_CHECK_RESULT

Post by kyang »

Are you running this through a shell script?

https://old.nagios.org/developerinfo/ex ... and_id=114
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post 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}''"
}
Saleem THUPSEE
kyang

Re: PROCESS_SERVICE_CHECK_RESULT

Post 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'
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by saleemthupsee »

Actually, the service does not exist not the host. I created the proper service and rerouting it properly.

Saleem
Paris
Saleem THUPSEE
kyang

Re: PROCESS_SERVICE_CHECK_RESULT

Post by kyang »

Perfect, so just to be clear this is resolved now?

Are we okay to close this thread?
saleemthupsee
Posts: 107
Joined: Wed Feb 15, 2017 4:22 am
Location: Paris France
Contact:

Re: PROCESS_SERVICE_CHECK_RESULT

Post by saleemthupsee »

Yes. I checked this morning.

Saleem
Paris
Saleem THUPSEE
kyang

Re: PROCESS_SERVICE_CHECK_RESULT

Post 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!
Locked