Better graph (week numbers)
authorHeikki Levanto <heikki@indexdata.dk>
Tue, 11 Oct 2011 12:56:36 +0000 (14:56 +0200)
committerHeikki Levanto <heikki@indexdata.dk>
Tue, 11 Oct 2011 12:56:36 +0000 (14:56 +0200)
aptcheck/aptcheck.pl

index 1d2abe7..7801291 100755 (executable)
@@ -343,7 +343,8 @@ print F "</table>\n";
 
 # Graph 
 #my $secs = 60*60*24 * 7 * 2; # 2 weeks in secods
-my $secs = "1m"; # one month, let nagios do the math
+#my $secs = "1m"; # one month, let nagios do the math
+my $secs = "45d"; 
 print F "<p/>" .
         "<a href='http://nagios.indexdata.com/cgi-bin/nagios3/graphs.cgi?" .
         "host=nagios&service=Apt%20Summary'>\n".