mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/perl
|
||||
# -*- perl -*-
|
||||
#
|
||||
# proc_ - Munin plugin to for Process information
|
||||
|
@ -7,17 +7,17 @@
|
|||
#
|
||||
# Author: Kristian Lyngstøl <kristian@redpill-linpro.com>
|
||||
# Author: Trygve Vea <tv@redpill-linpro.com>
|
||||
#
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
@ -39,7 +39,7 @@ The configuration section shows the defaults
|
|||
env.procname init
|
||||
env.category Process Info
|
||||
|
||||
env.procname defines the processname as seen inside the parenthesis of the
|
||||
env.procname defines the processname as seen inside the parenthesis of the
|
||||
second column in /proc/pid/stat. If you don't get the data you expect, you
|
||||
can check if the value is what you expect here.
|
||||
|
||||
|
@ -121,15 +121,15 @@ my @field_parameters = ('graph', 'min', 'max', 'draw', 'cdef', 'warning',
|
|||
'colour', 'info', 'type');
|
||||
# Data structure that defines all possible graphs (aspects) and how they
|
||||
# are to be plotted. Every top-level entry is a graph/aspect. Each top-level graph
|
||||
# MUST have title set and 'values'.
|
||||
#
|
||||
# MUST have title set and 'values'.
|
||||
#
|
||||
# Graphs with 'DEBUG' set to anything is omitted from 'suggest'.
|
||||
#
|
||||
#
|
||||
# 'rpn' on values allows easy access to graphs consisting of multiple
|
||||
# values from procstats. (Reverse polish notation). The RPN
|
||||
# implementation only accepts +-*/ and procstats-values.
|
||||
#
|
||||
# Any value left undefined will be left up to Munin to define/ignore/yell
|
||||
# Any value left undefined will be left up to Munin to define/ignore/yell
|
||||
# about.
|
||||
#
|
||||
# See munin documentation or rrdgraph/rrdtool for more information.
|
||||
|
@ -258,7 +258,7 @@ sub autoconf
|
|||
exit 0;
|
||||
}
|
||||
|
||||
# Suggest relevant aspects/values of $self.
|
||||
# Suggest relevant aspects/values of $self.
|
||||
# 'DEBUG'-graphs are excluded.
|
||||
sub suggest
|
||||
{
|
||||
|
@ -292,7 +292,7 @@ sub print_if_exist
|
|||
}
|
||||
|
||||
# Walk through the relevant aspect and print all top-level configuration
|
||||
# values and value-definitions.
|
||||
# values and value-definitions.
|
||||
sub get_config
|
||||
{
|
||||
my $graph = $_[0];
|
||||
|
@ -328,7 +328,7 @@ sub get_config
|
|||
}
|
||||
}
|
||||
|
||||
# Read and verify the aspect ($self).
|
||||
# Read and verify the aspect ($self).
|
||||
sub set_aspect
|
||||
{
|
||||
$self = $0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue