1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 09:57:09 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -12,9 +12,9 @@
Tested with Solaris 10 and 11. And should work with Solaris 10 11/06 or above.
Note:
In Solaris 11, fsstat command can get stats for each non-global zones in
In Solaris 11, fsstat command can get stats for each non-global zones in
global zone. (see man fsstat)
In global zone, this plugin gets stats of only global zone.
In global zone, this plugin gets stats of only global zone.
In non-global zones, this plugin reports stats of the non-global zones.
=head1 CONFIGURATION
@ -63,7 +63,7 @@ stat_regexp='/^(?!(class|crtime|snaptime|.*_bytes))/'
# Graph settings
global_attr="
graph_title File system statictics - Activities of $( echo "$fs_type" | tr '[:lower:]' '[:upper:]' )
graph_category disk
graph_category disk
graph_args --base 1000
graph_vlabel Counts per second
graph_info File system statictics - Activities of $( echo "$fs_type" | tr '[:lower:]' '[:upper:]' )
@ -78,7 +78,7 @@ get_zone_id() {
zoneid=0
osver=$( uname -r | cut -d. -f2 )
if [ "$osver" -ge 11 ]; then
zonename=$( zonename )
zoneid=$( /usr/sbin/zoneadm list -p | awk -F: '$2 == "'"$zonename"'" { print $1 }' )
@ -101,7 +101,7 @@ suggest() {
kstat -p "unix:${zone_id}:${name_regexp}:/^(read_bytes|write_bytes)\$/" \
| sed -e 's/vopstats_//' -e 's/:/ /g' \
| awk '{
sum[ $3 ] += $5
sum[ $3 ] += $5
}
END {
for ( i in sum ) {