forked from munin-monitoring/contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce spelling tests via codespell
- Loading branch information
1 parent
4cea2f6
commit 4d8456a
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
echo "succes.label Login success" | ||
echo "succes.draw AREA" | ||
echo "succes.value $success" | ||
Tim Small <[email protected]> | ||
accesss => 'NFSPROC3_ACCESS (Check Access Permission)', | ||
# Beginn des modifizierten Skriptes - Beginning of the modified script # | ||
[ /(\d+) packets with ECN ECT\(0\) bit set$/, [ [ :packets, 'ECT(0) bit' ] ] ], | ||
[ /(\d+) packets with ECN ECT\(1\) bit set$/, [ [ :packets, 'ECT(1) bit' ] ] ], | ||
[ /(\d+) ARP entrys? timed out$/, [ [ :entries, 'timed out' ] ] ], | ||
echo -en "recieved.value " | ||
print "require dont.graph.anything [0-9]+\n" | ||
# Informations générales : | ||
# Marge de bruit 5.10 dB 5.60 dB | ||
# Adresse MAC Freebox XX:XX:XX:XX:XX:XX | ||
# Adresse IP 203.0.113.60 | ||
# Adresse IP privée 192.0.2.1 | ||
# Adresse IP DMZ 192.0.2.2 | ||
# Adresse IP Freeplayer 192.0.2.0 | ||
# Adresse MAC Adresse IP | ||
# Linjen som grep'es ut kan se ut som dette: | ||
# Linjen som grep'es ut kan se ut som dette: | ||
VISITORS="$(echo '<doc><item>munin</item></doc>' | curl --silent -X POST -H 'Content-type: text/xml' -d @- http://api.trafic.ro/rest/0.01/sumar-site/$RID | xmlstarlet sel -t -m "/sumar-site/vizitatori_ultimele_24_ore" -v ".")" | ||
# - Serien Timer werden nun separat gezaehlt (anzahl pro Woche) | ||
# - Timer werden nur ignoriert wenn sie 0(inaktiv) als Status haben | ||
primary muss ein iterable oder StringType sein | ||
secondary muss iterable oder StringType sein | ||
print ("d.label Design voltage\nd.type GAUGE\nd.draw AREA\n"); | ||
if ($str =~ /^(no?|0|f(alse)?)$/i) { | ||
# (Based off the perl munin plugin by Joan Carles Soler) | ||
<hist> | ||
</hist> | ||
Christian Loos <[email protected]> | ||
# - kein div 0 Fehler mehr wenn der Host nicht zu erreichen ist | ||
# - im Namen kann Munin-konform der Hostname mit angegeben werden: vdr_localhost vdr_192.168.0.2, ... (localhost ist default) | ||
print "platte.info Angabe, wieviel der von VDR beschreibbaren Festplatten belegt ist.\n"; | ||
echo 'graph_title Samba Locked Files' | ||
echo 'graph_vlabel number of locked files' | ||
echo 'samba_locked.label Locked Files' | ||
echo 'lock.label Locked files' | ||
echo 'graph_info This graph shows the Memory used by process' | ||
echo 'shares.label shared files' | ||
# Based on Tim Wulkau's script. Thank you! | ||
echo 'graph_title Memory usage by process' | ||
echo 'VmSize.info The size of the virtual memory allocated to the process' | ||
grep -v 'Preparing to download files' | \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cas | ||
conexant | ||
ende | ||
referer | ||
wan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.PHONY: lint | ||
lint: | ||
# TODO: add "--ignore-words .codespell.ignore-words" as soon as travis supports a newer | ||
# testing environment (containing codespell 0.11 or later). | ||
find plugins/ -type f -not -name "*.png" -not -name "*.conf" -not -name "*.jar" -print0 \ | ||
| xargs -0 codespell \ | ||
--exclude-file .codespell.exclude |