summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b8a307)
raw | patch | inline | side by side (parent: 8b8a307)
author | Matthias Eble <psychotrahe@gmx.de> | |
Thu, 11 Jun 2009 14:22:47 +0000 (16:22 +0200) | ||
committer | Matthias Eble <psychotrahe@gmx.de> | |
Thu, 11 Jun 2009 14:22:47 +0000 (16:22 +0200) |
Minor output fixes for check_ifoperstatus.
Fixed typo so that -n now implies -I as documented.
Fixed typo so that -n now implies -I as documented.
plugins-scripts/check_ifoperstatus.pl | patch | blob | history |
index e137e7fd8e20fc95594b80aa47389ef98d4672ad..6038b935af50a577d44c63c38d5960af2f50f5e9 100755 (executable)
}
unless ($snmpkey > 0 || defined $ifdescr || defined $iftype){
- usage("Either a valid snmpkey key (-k) or a ifDescr (-d) must be provided");
+ usage("Either a valid snmp key (-k) or a ifDescr (-d) must be provided");
}
- if (defined $name) {
+ if (defined $ifName) {
$ifXTable=1;
}
# Must define a security level even though defualt is noAuthNoPriv
unless ( grep /^$seclevel$/, qw(noAuthNoPriv authNoPriv authPriv) ) {
- usage("Must define a security level even though default is noAuthNoPriv");
+ usage("Must define a valid security level even though default is noAuthNoPriv");
}
# Authentication wanted