A NOTE has been added to this issue. ====================================================================== https://bugtracker.iptel.org/view.php?id=66 ====================================================================== Reported By: tsearle Assigned To: stefan ====================================================================== Project: SEMS Issue ID: 66 Category: applications Reproducibility: always Severity: minor Priority: normal Status: closed Resolution: fixed Fixed in Version: master ====================================================================== Date Submitted: 2011-11-21 11:33 CET Last Modified: 2011-11-24 14:11 CET ====================================================================== Summary: query_stats blocks forever if SEMS is not running Description: query_stats doesn't have a timeout when waiting for a response from the SEMS server, this makes it inconvenient to use to make monitoring plugins. Attached is a patch to make query_stats timeout after 5 seconds ======================================================================
---------------------------------------------------------------------- (0000103) stefan (manager) - 2011-11-21 13:33 https://bugtracker.iptel.org/view.php?id=66#c103 ---------------------------------------------------------------------- thanks, applied in both master and 1.4 ---------------------------------------------------------------------- (0000104) vbroz (administrator) - 2011-11-24 14:04 https://bugtracker.iptel.org/view.php?id=66#c104 ---------------------------------------------------------------------- Verified in both master & 1.4. Note: timeout parameter could be configurable... e.g. -t <seconds> : timeout interval (default: 5s) ---------------------------------------------------------------------- (0000105) vbroz (administrator) - 2011-11-24 14:04 https://bugtracker.iptel.org/view.php?id=66#c105 ---------------------------------------------------------------------- Verified in both master & 1.4. Note: timeout parameter could be configurable... e.g. -t <seconds> : timeout interval (default: 5s) ---------------------------------------------------------------------- (0000106) stefan (manager) - 2011-11-24 14:11 https://bugtracker.iptel.org/view.php?id=66#c106 ---------------------------------------------------------------------- good idea, added Issue History Date Modified Username Field Change ====================================================================== 2011-11-21 11:33 tsearle New Issue 2011-11-21 11:33 tsearle File Added: stats_timeout.patch 2011-11-21 13:33 stefan Note Added: 0000103 2011-11-21 13:33 stefan Status new => resolved 2011-11-21 13:33 stefan Fixed in Version => master 2011-11-21 13:33 stefan Resolution open => fixed 2011-11-21 13:33 stefan Assigned To => stefan 2011-11-24 14:04 vbroz Note Added: 0000104 2011-11-24 14:04 vbroz Note Added: 0000105 2011-11-24 14:04 vbroz Status resolved => closed 2011-11-24 14:11 stefan Note Added: 0000106 ====================================================================== _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
