mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-01 05:43:44 +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
|
@ -55,7 +55,7 @@ class PortMonit < Munin::Plugin
|
|||
:type => :GAUGE, :min => 0
|
||||
|
||||
def retrieve_values
|
||||
|
||||
|
||||
@_netstat = %x[netstat -n -P tcp | egrep "\.#{PORT} "].split( "\n" )
|
||||
|
||||
|
||||
|
@ -73,7 +73,7 @@ class PortMonit < Munin::Plugin
|
|||
@_result = 0
|
||||
|
||||
source.each { |obj| @_result += 1 if obj.match( regex ) }
|
||||
|
||||
|
||||
return @_result
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue