changed the word spikes by peaks

This commit is contained in:
Jordi Sanfeliu 2013-04-15 09:49:17 +02:00
parent 1d1eacd218
commit 7f773ad3fa
6 changed files with 9 additions and 9 deletions

View File

@ -141,7 +141,7 @@ sub fail2ban_update {
logger("Couldn't seek to $seek_pos in '$config->{fail2ban_log}': $!");
return;
}
if($config->{fail2ban_hist} > 0) { # avoids initial spike
if($config->{fail2ban_hist} > 0) { # avoids initial peak
my $date = strftime("%Y-%m-%d", localtime);
while(<IN>) {
if(/^$date/) {

View File

@ -139,7 +139,7 @@ sub ftp_update {
logger("Couldn't seek to $seek_pos in '$config->{ftp_log}': $!");
return;
}
if($config->{ftp_hist} > 0) { # avoids initial spike
if($config->{ftp_hist} > 0) { # avoids initial peak
while(<IN>) {
if(lc($ftp->{server}) eq "proftpd") {
my $date = strftime("%d/%b/%Y", localtime);

View File

@ -140,13 +140,13 @@ sub kern_update {
next;
}
if(/^ctxt (\d+)$/) {
# avoid initial spike
# avoid initial peak
$cs = int($1) unless !$config->{kern_hist}->{cs};
$config->{kern_hist}->{cs} = int($1) unless $config->{kern_hist}->{cs};
next;
}
if(/^processes (\d+)$/) {
# avoid initial spike
# avoid initial peak
$forks = int($1) unless !$config->{kern_hist}->{forks};
$config->{kern_hist}->{forks} = int($1) unless $config->{kern_hist}->{forks};
$vforks = 0;

View File

@ -390,12 +390,12 @@ sub mail_update {
$mta[6] /= 60;
$mta_h[6] = int($rejtd);
# avoid initial spike
# avoid initial peak
$mta[7] = int($spam) unless !$mta_h[7];
$mta_h[7] = int($spam) unless $mta_h[7];
$mta[7] /= 60;
# avoid initial spike
# avoid initial peak
$mta[8] = int($virus) unless !$mta_h[8];
$mta_h[8] = int($virus) unless $mta_h[8];
$mta[8] /= 60;

View File

@ -188,7 +188,7 @@ sub squid_update {
logger("Couldn't seek to $seek_pos ($config->{squid_log}): $!");
return;
}
if(defined($config->{squid_hist}->{'seek_pos'})) { # avoid initial spike
if(defined($config->{squid_hist}->{'seek_pos'})) { # avoid initial peak
while(<IN>) {
(undef, undef, undef, $value) = split(' ', $_);
($g_result, $g_status) = split('/', $value);

View File

@ -752,7 +752,7 @@ This option toggles the way the System Services Demand data is represented in th
.RS
\fIi\fP for incremental style
.br
\fIl\fP for load (spikes) style
\fIl\fP for load (peaks) style
.RE
.P
Default value: \fIi\fP
@ -1000,7 +1000,7 @@ where \fIuser\fP is the new user name and \fIpassword\fP is the password that wi
.P
This graph is able to monitor an unlimited number of local and remote MySQL web servers.
.P
NOTE: It is strongly recommended that you restart the MySQL service in order to avoid high spikes that could prevent correct display of the first plotted data.
NOTE: It is strongly recommended that you restart the MySQL service in order to avoid high peaks that could prevent correct display of the first plotted data.
.P
.BI conn_type
.RS