Page 2 of 2

Re: CHECK_NRPE: Received 0 bytes from daemon. Check the remo

Posted: Wed Jul 23, 2014 8:03 pm
by Box293
I beleive that you need a double backslash:

Code: Select all

check_updates=cmd /c echo scripts\\Check-Updates.ps1; exit $LastExitCode | powershell.exe -command -

Re: CHECK_NRPE: Received 0 bytes from daemon. Check the remo

Posted: Thu Jul 24, 2014 1:32 pm
by hillhealthcenter
Box293,

I tested the service command. Here's what I get.

Code: Select all

Testing check from command line...


COMMAND: /usr/local/nagios/libexec/check_nrpe -H 192.168.103.43 -t 300 -c check_updates
OUTPUT: 1 Days since last update.
1 Unknown Updates:
KB2718695

Re: CHECK_NRPE: Received 0 bytes from daemon. Check the remo

Posted: Thu Jul 24, 2014 3:49 pm
by Box293
It looks like it is working now, can we close this up?

Re: CHECK_NRPE: Received 0 bytes from daemon. Check the remo

Posted: Sat Jul 26, 2014 1:12 pm
by hillhealthcenter
Yes, please close.