Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/vserver/vserver_limit_hits
23 23
#
24 24
# NOTE: If no configuration variables are set, the defaults will be used
25 25

  
26
# Example /etc/munin/plugin-conf.d/munin-node 
26
# Example /etc/munin/plugin-conf.d/munin-node
27 27
#
28 28
# The first group monitors the vservers named "vserver1 vserver2
29 29
# vserver3 vserver4" and looks to see if the resource limit has been
30 30
# breached, if so it sends a message to nagios via send_nsca, and
31 31
# sends an email to notify that this has happened.
32 32
#
33
# The second monitors the vservers "vserver5 vserver6 vserver7" and 
33
# The second monitors the vservers "vserver5 vserver6 vserver7" and
34 34
# has no limit notifications turned on.
35 35
#
36 36
# The third monitors all vservers on the system, in one graph, and it has
......
73 73
# version 0.5 - 2008 Apr 12 - Chris Wilson <chris+munin@qwirx.com>
74 74
#  - Changed to display limit hits instead of resource usage
75 75
#  - Adapt to latest vserver kernel (lack of some variables in /proc/virtual)
76
#    Note that your vserver names may change if the contents of 
76
#    Note that your vserver names may change if the contents of
77 77
#    /etc/vservers/* do not match the nodenames. Also you must specify
78 78
#    the vservers variable with context IDs (XIDs) rather than names.
79 79

  
......
91 91
	echo "graph_vlabel $resource limit hits"
92 92
	echo 'graph_category virtualization'
93 93
	echo "graph_info Shows number of hits on $resource limits by each vserver.'"
94
	    
94

  
95 95
	for vserver_xid in $vservers ; do
96 96
		longname=`/usr/sbin/vuname --xid $vserver_xid NODENAME | cut -f2`
97 97
		name=`echo $longname | cut -d. -f1`

Formats disponibles : Unified diff