mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
93aa7b5018
trends in time-series data. Cricket was expressly developed to help network managers visualize and understand the traffic on their networks, but it can be used all kinds of other jobs, as well. It's similar to mrtg, but takes a different approach, is faster and more flexible.
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
*** grapher.cgi.orig Mon Jan 24 08:47:49 2000
|
|
--- grapher.cgi Sun Feb 13 20:44:03 2000
|
|
***************
|
|
*** 1,4 ****
|
|
! #!/usr/local/bin/perl -w
|
|
# -*- perl -*-
|
|
|
|
# Cricket: a configuration, polling and data display wrapper for RRD files
|
|
--- 1,4 ----
|
|
! #!%%PATHPERLBIN%% -w
|
|
# -*- perl -*-
|
|
|
|
# Cricket: a configuration, polling and data display wrapper for RRD files
|
|
***************
|
|
*** 27,39 ****
|
|
# be prepended. Special care is taken to set $HOME right,
|
|
# even when running as user nobody (see fixHome for info).
|
|
|
|
! $Common::global::gConfigRoot = 'cricket-config'; # i.e. $HOME/config
|
|
|
|
# This magic attempts to guess the install directory based
|
|
# on how the script was called. If it fails for you, just
|
|
# hardcode it.
|
|
|
|
! $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.';
|
|
|
|
# cached images are stored here... there will be no more than
|
|
# 5 minutes worth of images, so it won't take too much space.
|
|
--- 27,41 ----
|
|
# be prepended. Special care is taken to set $HOME right,
|
|
# even when running as user nobody (see fixHome for info).
|
|
|
|
! # $Common::global::gConfigRoot = 'cricket-config'; # i.e. $HOME/config
|
|
! $Common::global::gConfigRoot = '%%PREFIX%%/cricket/cricket-config';
|
|
|
|
# This magic attempts to guess the install directory based
|
|
# on how the script was called. If it fails for you, just
|
|
# hardcode it.
|
|
|
|
! # $Common::global::gInstallRoot = (($0 =~ m:^(.*/):)[0] || './') . '.';
|
|
! $Common::global::gInstallRoot = '%%PREFIX%%/cricket';
|
|
|
|
# cached images are stored here... there will be no more than
|
|
# 5 minutes worth of images, so it won't take too much space.
|