Page 1 of 1

Service Check Timeout error for Storage Devices!!

Posted: Tue Jan 16, 2018 12:11 pm
by aditya.c.anand
Hello Team,

As per "Ticket#2017121910000026" which we raised from the email support for the : Service check timeout error on few storage device services , it was mentioned to change the timeout value in Nagios.cfg .
We do not want to change the timeout value for all services, so we cannot change the timeout value from the Nagios.cfg . We want to change the timeout value for those specific services.

Script that is checking these parameters are : check_ibm_storwize.pl and service check is getting timed out after 123 seconds.

Action that we tried:

We tried to add timeout value in the GUI in $ARG4$ but the script doesn't support that.
We checked the script "check_ibm_storwize.pl" also and found nothing to add or modify the script.

Please let us know, how we can get rid of this :Service check timeout error".

These all are IBM storage devices and the services are related to them only, for example : Storwize - Array, Disk, Ethernet port , FC port, Hot Spare, I/O Group, Node, Quorum Disk etc.

Please help us at the earliest , as these checks are throwing multiple fake alerts.

Re: Service Check Timeout error for Storage Devices!!

Posted: Tue Jan 16, 2018 1:55 pm
by npolovenko
Hello, @aditya.c.anand. If the check runs but never finishes Nagios will stop executing it and show the timeout message. Because this plugin doesn't have any built-in timeout variable your only option is to increase the timeout value in nagios.cfg. This shouldn't really affect any other checks as this option only regulates the maximum amount of time that Nagios can wait before it will stop executing the stalled checks.

Re: Service Check Timeout error for Storage Devices!!

Posted: Wed Jan 24, 2018 3:21 am
by aditya.c.anand
Hello npolovenko , Thanks for your reponse.

We tried to increase the timeout value of Nagios.cfg to 135 but still the timeout value is increasing to 135.4 .
All services which are using this plugin are throwing the same service check timeout error.

Kindly assist us on the same that what next we can do , to get this issue resolved.

Re: Service Check Timeout error for Storage Devices!!

Posted: Wed Jan 24, 2018 12:08 pm
by npolovenko
@aditya.c.anand, Does the script check_ibm_storwize.pl run locally if you just navigate to libexec folder and run it like this ./check_ibm_storwize.pl with all the arguments? If It does then how many seconds did it take to execute? And if it doesn't what kind of error are you getting? Unfortunately, we don't have IBM Storwize in the lab to test this plugin. But if this plugin fails to run locally then the issue is not on the nagios side, so I'd consider reporting an issue on authors GitHub page: https://github.com/claneys/pack-storwize/issues