diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-01-03 15:16:03 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-01-03 15:16:03 +0000 |
commit | e78d69fe004dd34efde1340ae457c9b6e2b0c826 (patch) | |
tree | ee59b1b1ea469fc3c3784b21646397f8fdd956e7 /net-mgmt/nagiosgraph/files | |
parent | 3fc1428cba748c4e9ffdb1a02703fae8561ba500 (diff) |
Notes
Diffstat (limited to 'net-mgmt/nagiosgraph/files')
-rw-r--r-- | net-mgmt/nagiosgraph/files/patch-insert.pl | 22 | ||||
-rw-r--r-- | net-mgmt/nagiosgraph/files/patch-show.cgi | 13 |
2 files changed, 0 insertions, 35 deletions
diff --git a/net-mgmt/nagiosgraph/files/patch-insert.pl b/net-mgmt/nagiosgraph/files/patch-insert.pl deleted file mode 100644 index 252d0e4f0d0a..000000000000 --- a/net-mgmt/nagiosgraph/files/patch-insert.pl +++ /dev/null @@ -1,22 +0,0 @@ -Index: insert.pl -=================================================================== ---- insert.pl (.../vendor/nagiosgraph/0.8.2/insert.pl) (revision 1211) -+++ insert.pl (.../trunk/src/nagiosgraph/insert.pl) (revision 1211) -@@ -148,9 +148,14 @@ - if ( $ARGV[0] ) { - @inputlines = $ARGV[0]; - } elsif ( defined $Config{perflog} ) { -- open PERFLOG, $Config{perflog}; -- @inputlines = <PERFLOG>; -- close PERFLOG -+ if (-s $Config{perflog}) { -+ my $worklog = $Config{perflog} . ".nagiosgraph"; -+ rename($Config{perflog}, $worklog); -+ open PERFLOG, $worklog; -+ @inputlines = <PERFLOG>; -+ close PERFLOG; -+ unlink($worklog); -+ } - } - - # Quit if there are no data to process diff --git a/net-mgmt/nagiosgraph/files/patch-show.cgi b/net-mgmt/nagiosgraph/files/patch-show.cgi deleted file mode 100644 index 5bd58eb780f3..000000000000 --- a/net-mgmt/nagiosgraph/files/patch-show.cgi +++ /dev/null @@ -1,13 +0,0 @@ -Index: show.cgi -=================================================================== ---- show.cgi (revision 402) -+++ show.cgi (working copy) -@@ -252,7 +252,7 @@ - @style = ( -style => {-src => "$Config{stylesheet}"} ); - } - print header, start_html(-id=>"nagiosgraph", -title => "nagiosgraph: $host-$service", -- -meta => { -http_equiv => "Refresh", -content => "300" }, -+ -head => meta({-http_equiv => 'refresh', -content => '300'}), - @style - ); - page($host,$service,$geom,$rrdopts,@db); |