Project

General

Profile

« Previous | Next » 

Revision b279eb9a

Added by Hamish Coleman over 15 years ago

  • ID b279eb9a1f349e01df121d7e6419cc1ce8790fc5

Identify ourselves in the metadata and add to installation target

View differences:

indexmrtg.cgi
# Generate a machine readable index from mrtg.cfg inputs
#
our $VERSION=0.5;
our $VERSION=0.6;
use strict;
use warnings;
......
$refresh = $interval if $refresh <= $guardband;
my $expires = gmtime (time + $interval * 2 + $guardband);
$db->{global}{creator}{name} = "indexmrtg";
$db->{global}{creator}{version} = "$VERSION";
$db->{global}{graph}{expires} = "$expires GMT";
$db->{global}{graph}{refresh} = $refresh;
$db->{global}{sequence} = @{$db->{hide}{sequence}};

Also available in: Unified diff