CHECK_NRPE: Received 0 bytes from daemon. Check the remote s

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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 -
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hillhealthcenter
Posts: 174
Joined: Fri Sep 21, 2012 7:45 am
Location: New Haven, CT

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

Post 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
Thanks so much,
Tom
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post by Box293 »

It looks like it is working now, can we close this up?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hillhealthcenter
Posts: 174
Joined: Fri Sep 21, 2012 7:45 am
Location: New Haven, CT

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

Post by hillhealthcenter »

Yes, please close.
Thanks so much,
Tom
Locked