Monitoring a Windows host over the WAN link best pratice
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Monitoring a Windows host over the WAN link best pratice
Hi Guys,
I'm aware there is a latency issue for using this method to monitor a remote host over the WAN link.
I have setup the host monitor over the WAN however I am constantly getting services are flapping. I have also enable passive check however I'm not familiar with all other setting and hope someone here could pin point what "Check Settings" should I need for this requirement. Please see attached of the current setting of the services.
Thanks you in advance,
Steve
I'm aware there is a latency issue for using this method to monitor a remote host over the WAN link.
I have setup the host monitor over the WAN however I am constantly getting services are flapping. I have also enable passive check however I'm not familiar with all other setting and hope someone here could pin point what "Check Settings" should I need for this requirement. Please see attached of the current setting of the services.
Thanks you in advance,
Steve
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring a Windows host over the WAN link best pratice
What errors are you getting?
A screenshot of the "Common Settings" tab would be helpful.
A screenshot of the "Common Settings" tab would be helpful.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Monitoring a Windows host over the WAN link best pratice
Hi Box293,
Please see attached, as mention previously the services is flapping stage. is there way to tune for checking services multiple time before it confirm the status (by-pass the flapping)
Please see attached, as mention previously the services is flapping stage. is there way to tune for checking services multiple time before it confirm the status (by-pass the flapping)
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring a Windows host over the WAN link best pratice
This sounds like a timeout issue.
Go into CCM > Commands
Edit the command check_xi_service_nsclient
Change it to:
Save and apply config.
You can see I added -t 30 to increase the timeout to 30 seconds.
Does this fix your problem?
If it doesn't, send us the output from one of the services when it is in a critical state.
Go into CCM > Commands
Edit the command check_xi_service_nsclient
Change it to:
Code: Select all
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -t 30 -p 12489 -v $ARG2$ $ARG3$ $ARG4$You can see I added -t 30 to increase the timeout to 30 seconds.
Does this fix your problem?
If it doesn't, send us the output from one of the services when it is in a critical state.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Monitoring a Windows host over the WAN link best pratice
Yes, I can set the timeout to longer, dos this really counter the latency over the WAN?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Monitoring a Windows host over the WAN link best pratice
It all depends on how saturated your link is, or how long it takes for the Windows host to respond to the requests.
There's only one way to find out, implement the timeout.
There's only one way to find out, implement the timeout.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Monitoring a Windows host over the WAN link best pratice
Thanks you I will set the timeout for 40 and see how it goes,
Re: Monitoring a Windows host over the WAN link best pratice
Sounds good - let us know if you need more assistance from us.
Former Nagios Employee
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Monitoring a Windows host over the WAN link best pratice
Thanks guys, the longer timeout does help through the issue. Please close the ticket and I'm very appreciated for your help. Great product for customisation when needed 
Re: Monitoring a Windows host over the WAN link best pratice
Glad to hear you're on track now. Yeah, this product is quite flexible! Closing this one out now...
Be sure to check out the Knowledgebase for helpful articles and solutions!