Title: [opsview] [12519] freshness_threshold is always in seconds
- Revision
- 12519
- Author
- tvoon
- Date
- 2013-06-12 18:01:55 +0100 (Wed, 12 Jun 2013)
Log Message
freshness_threshold is always in seconds
Modified Paths
Modified: trunk/opsview-core/bin/nagconfgen.pl
===================================================================
--- trunk/opsview-core/bin/nagconfgen.pl 2013-06-12 16:39:40 UTC (rev 12518)
+++ trunk/opsview-core/bin/nagconfgen.pl 2013-06-12 17:01:55 UTC (rev 12519)
@@ -1150,7 +1150,8 @@
# Since we know the interval, we'll set that, which is all Nagios would
# do anyway
if ( $freshness_threshold_add == 0 ) {
- $freshness_threshold_add = $check_interval;
+ $freshness_threshold_add =
+ $check_interval * $nagios_interval_length;
}
print OUTFILE " check_freshness 1
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins