diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-02 11:16:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-02 11:16:24 (GMT) |
commit | b15adb7762b6caaecaa83637abfcf5fdb4802092 (patch) | |
tree | 64eddbe2aa1a7f98a140be0f7973f05d7a781ae0 /contrib/check_breeze.pl | |
parent | c4d5882b9e1d07c7b61091062b7d085fa5f00284 (diff) | |
download | monitoring-plugins-b15adb7762b6caaecaa83637abfcf5fdb4802092.tar.gz |
Remove "contrib" plugins
These days, sites such as "Nagios Exchange" are a much better place for
publishing plugins not maintained by the Plugins Development Team.
Diffstat (limited to 'contrib/check_breeze.pl')
-rw-r--r-- | contrib/check_breeze.pl | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/check_breeze.pl b/contrib/check_breeze.pl deleted file mode 100644 index bb83765..0000000 --- a/contrib/check_breeze.pl +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #!/usr/bin/perl | ||
2 | |||
3 | # Plugin to test signal strength on Breezecom wireless equipment | ||
4 | # Contributed by Jeffrey Blank | ||
5 | |||
6 | $Host=$ARGV[0]; | ||
7 | $sig_crit=$ARGV[1]; | ||
8 | $sig_warn=$ARGV[2]; | ||
9 | $sig=0; | ||
10 | $sig = `snmpget $Host public .1.3.6.1.4.1.710.3.2.3.1.3.0`; | ||
11 | @test=split(/ /,$sig); | ||
12 | $sig=@test[2]; | ||
13 | $sig=int($sig); | ||
14 | if ($sig>100){$sig=100} | ||
15 | |||
16 | print "Signal Strength at: $sig%\n"; | ||
17 | if ($sig<$sig_crit) | ||
18 | {exit(2)} | ||
19 | if ($sig<$sig_warn) | ||
20 | {exit(1)} | ||
21 | |||
22 | exit(0); | ||