Page 1 of 1
NRDP identify when host is offline
Posted: Thu Jul 05, 2012 7:50 am
by lleite
Hello guys,
I've configured on my nagios server the NRDP, I'm receiving all the logs correctly, but when my host is offline my nagios server only show the last log received. I wanna know how can I configure a "timeout" for receive the logs and if don't receive appears that the host is offline?
Re: NRDP identify when host is offline
Posted: Thu Jul 05, 2012 10:37 am
by scottwilkerson
Hosts and services can have a setting that can be set in the Core Config Manager -> Host/Service -> Modify -> Check Settings Tab for Check freshness.
If Check freshness is on, the system will run an active check if the service hasn't been seen in the freshness threshold..
Most people receiving passive checks (like NRDP) set their check command to check_dummy then specify the following:
$ARG1$ = 2
$ARG2$ ="Have not heard from this host recently."
Once Caveat, there is a typo in the CCM, the freshness threshold is actually a number in minutes, NOT sec. as indicated.
Re: NRDP identify when host is offline
Posted: Fri Jul 06, 2012 9:41 am
by lleite
Thanks for your help.
I'm using NRDS_win running every 5 minutes, but on my hosts tab into my status information I'm getting "(No output returned from host check)", I've configured the Check freshness as 360 seconds and I seted on Check Command the "check_dummy" with ARGS, but when I stop the NRDS_win send the Nagios don't alert before 360 seconds that the host stop sending.
Re: NRDP identify when host is offline
Posted: Fri Jul 06, 2012 12:13 pm
by yancy
Can you post the log file details:
log file default location is c:\program files\nagios\NRDS_win\NRDS_win.Log
regards,