mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fix spelling mistakes in comments and descriptions
Thanks, codespell!
This commit is contained in:
parent
561da1a3f1
commit
8713eb3722
162 changed files with 248 additions and 248 deletions
|
@ -38,10 +38,10 @@ require 'net/http'
|
|||
host = nil
|
||||
port = ENV['port'] || 80
|
||||
user = ENV['user'] || 'admin'
|
||||
pass = ENV['pass'] || 'forhax' #dont remember what the default admin password was
|
||||
pass = ENV['pass'] || 'forhax' #don't remember what the default admin password was
|
||||
stat = nil
|
||||
|
||||
# Check executeable "name" for parameter count
|
||||
# Check executable "name" for parameter count
|
||||
params = $0.split('_')
|
||||
if params.size != 3
|
||||
puts "Incorrect number of parameters"
|
||||
|
@ -100,7 +100,7 @@ if response.code != '200'
|
|||
case response.code
|
||||
when '401'
|
||||
puts 'Probably because the username and password are incorrect'
|
||||
#Looks like the modem respons with 200 when you try to access a page that doesnt exist >_>
|
||||
#Looks like the modem response with 200 when you try to access a page that does not exist >_>
|
||||
#when '404'
|
||||
# puts 'Looks like the page this plugin needs isn\'t available...'
|
||||
# puts 'Check your modem make/model/version'
|
||||
|
|
|
@ -44,7 +44,7 @@ def output
|
|||
x = agent.get(router_path)
|
||||
salt = x.body.match(/salt = "(.*)"/)[1]
|
||||
|
||||
# pad the pasword to length 16
|
||||
# pad the password to length 16
|
||||
pad_size = (16 - password.length)
|
||||
padded_password = password + "\x01" * pad_size
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
# by using nmap on a specific tcp port, the detection is pretty fast (2-5 seconds)
|
||||
# with this command: nmap -O --osscan-guess -p80 remote_host
|
||||
#
|
||||
# if you dont want nmap to query your freebox each time, set CACHE_HOURS=n
|
||||
# if you don't want nmap to query your freebox each time, set CACHE_HOURS=n
|
||||
# to keep the uptime in cache for n hours
|
||||
# if not, set CACHE_HOURS=0
|
||||
#
|
||||
|
|
|
@ -800,7 +800,7 @@ EOF
|
|||
}
|
||||
else {
|
||||
print <<EOF
|
||||
graph_vlabel Packets/Conections per \${graph_period}
|
||||
graph_vlabel Packets/Connections per \${graph_period}
|
||||
graph_category network
|
||||
graph_title TCP protocol
|
||||
graph_info TCP protocol statistics for your Router on $host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue