Connection Loss
-
ednaldojta
- Posts: 103
- Joined: Tue Apr 07, 2015 7:52 am
Connection Loss
Hello friends,
I have a server that is being monitored, however minutely, it loses the connection to a service. This happens with all the services that specific server. It is a Windows server, and the alert message of the missed connection is: Plugin Critical After 10 seconds.
I have a server that is being monitored, however minutely, it loses the connection to a service. This happens with all the services that specific server. It is a Windows server, and the alert message of the missed connection is: Plugin Critical After 10 seconds.
Re: Connection Loss
Do you mean "CRITICAL - Plugin timed out after 10 seconds"
Depending on the plugin you are using you may be able to increase it's timeout rate, try looking at the plugins help text. Plugins like check_nrpe can use a "-t" flag to increase timeout, such as "-t 30" for 30 seconds.
If in any doubt, please post the full check command and the corresponding error - thanks -
Depending on the plugin you are using you may be able to increase it's timeout rate, try looking at the plugins help text. Plugins like check_nrpe can use a "-t" flag to increase timeout, such as "-t 30" for 30 seconds.
If in any doubt, please post the full check command and the corresponding error - thanks -
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
ednaldojta
- Posts: 103
- Joined: Tue Apr 07, 2015 7:52 am
Re: Connection Loss
the plugin is NSClient
Re: Connection Loss
NSClient++ -- Ok, but can you post the full check command(s) please?
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
ednaldojta
- Posts: 103
- Joined: Tue Apr 07, 2015 7:52 am
Re: Connection Loss
They are all services. Please find attached the services that are with this problem.
command:
/ Check_nt -H $ HostAddress $ -s "$ ARG1 $" -p 12489 -l -v USEDDISKSPACE C -w 80 -c 95
command:
/ Check_nt -H $ HostAddress $ -s "$ ARG1 $" -p 12489 -l -v USEDDISKSPACE C -w 80 -c 95
You do not have the required permissions to view the files attached to this post.
Re: Connection Loss
Try increasing the timeout to 60 sec using this option in your check command '-t 60'
....-p 12489 -t 60 -l -v USEDDISKSPACE -l C -w 80% -c 90%
....-p 12489 -t 60 -l -v USEDDISKSPACE -l C -w 80% -c 90%
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
ednaldojta
- Posts: 103
- Joined: Tue Apr 07, 2015 7:52 am
Re: Connection Loss
Good morning mate,
the problem still persists. Only this server. And as already mentioned, are all services, interleaved times. Any more suggestions?
the problem still persists. Only this server. And as already mentioned, are all services, interleaved times. Any more suggestions?
Re: Connection Loss
What does the error say now? Is it still timing out after 10 seconds, or now 60 seconds?
Former Nagios Employee
-
ednaldojta
- Posts: 103
- Joined: Tue Apr 07, 2015 7:52 am
Re: Connection Loss
Still the same mistake! 10 seconds
Re: Connection Loss
It sounds like the change @bwallace mentioned wasn't applied, to increase the timeout it's depending on the -t parameter. As it's still saying 10 seconds, I don't think it's being followed. Did you apply configuration after making the change?
As you can see, the error changed when I adjusted the timeout value to 20.
Code: Select all
[root@localhost libexec]# ./check_nt -H 192.168.5.47 -p 12489 -v USEDDISKSPACE -d SHOWALL -l c
CRITICAL - Socket timeout after 10 seconds
[root@localhost libexec]# ./check_nt -H 192.168.5.47 -p 12489 -v USEDDISKSPACE -d SHOWALL -l c -t 20
CRITICAL - Socket timeout after 20 seconds
Former Nagios Employee