Socket Timeout issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Vigneshwar.A
Posts: 25
Joined: Fri May 12, 2017 2:02 am

Socket Timeout issue

Post by Vigneshwar.A »

Hello Team,

In our environment we are monitoring windows & Linux servers parameters in nagios, so due to network glitch/flap nagios server unable to communicate destination server because of that so much of services are giving "Socket time out error" in nagios and within 5-10 min again all services are working properly

To overcome this issue how can we add wrapper script in notification command to suppress the Socket timeout error alerts, also can we get the wrapper script too. :?:
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Socket Timeout issue

Post by scottwilkerson »

As a socket timeout is the same error you would receive for an actual problem I would highly discourage this approach.

Instead I would recommend you change the "Max check attempts" on these services to a higher value such as 10 so there are more retries before sending a notification.

Alternately, you could set the "First notification delay" setting on these object to something like 15 which will prevent a notification from goin out until 15 minutes after the first failure, if the object recovers in that time frame no notification will be sent out.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Vigneshwar.A
Posts: 25
Joined: Fri May 12, 2017 2:02 am

Re: Socket Timeout issue

Post by Vigneshwar.A »

Thanks your support
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Socket Timeout issue

Post by scottwilkerson »

Vigneshwar.A wrote:Thanks your support
No problem, may we close the thread?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked