diff options
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_log.sh | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 12 | ||||
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index c623a8d6..10c56f14 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -109,7 +109,7 @@ while test -n "$1"; do | |||
109 | ;; | 109 | ;; |
110 | -V | --version) | 110 | -V | --version) |
111 | print_revision "$PROGNAME" "$REVISION" | 111 | print_revision "$PROGNAME" "$REVISION" |
112 | exit "$STATE_OK" | 112 | exit "$STATE_UNKNOWN" |
113 | ;; | 113 | ;; |
114 | -F | --filename) | 114 | -F | --filename) |
115 | logfile=$2 | 115 | logfile=$2 |
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index b14ec50e..d58cfbea 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -86,20 +86,20 @@ esac | |||
86 | # Information options | 86 | # Information options |
87 | case "$cmd" in | 87 | case "$cmd" in |
88 | --help) | 88 | --help) |
89 | print_help | 89 | print_help |
90 | exit "$STATE_OK" | 90 | exit "$STATE_OK" |
91 | ;; | 91 | ;; |
92 | -h) | 92 | -h) |
93 | print_help | 93 | print_help |
94 | exit "$STATE_OK" | 94 | exit "$STATE_OK" |
95 | ;; | 95 | ;; |
96 | --version) | 96 | --version) |
97 | print_revision "$PROGNAME" "$REVISION" | 97 | print_revision "$PROGNAME" "$REVISION" |
98 | exit "$STATE_OK" | 98 | exit "$STATE_UNKNOWN" |
99 | ;; | 99 | ;; |
100 | -V) | 100 | -V) |
101 | print_revision "$PROGNAME" "$REVISION" | 101 | print_revision "$PROGNAME" "$REVISION" |
102 | exit "$STATE_OK" | 102 | exit "$STATE_UNKNOWN" |
103 | ;; | 103 | ;; |
104 | esac | 104 | esac |
105 | 105 | ||
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 921e7b36..adbfc533 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -34,11 +34,11 @@ case "$1" in | |||
34 | ;; | 34 | ;; |
35 | --version) | 35 | --version) |
36 | print_revision "$PROGNAME" "$REVISION" | 36 | print_revision "$PROGNAME" "$REVISION" |
37 | exit "$STATE_OK" | 37 | exit "$STATE_UNKNOWN" |
38 | ;; | 38 | ;; |
39 | -V) | 39 | -V) |
40 | print_revision "$PROGNAME" "$REVISION" | 40 | print_revision "$PROGNAME" "$REVISION" |
41 | exit "$STATE_OK" | 41 | exit "$STATE_UNKNOWN" |
42 | ;; | 42 | ;; |
43 | *) | 43 | *) |
44 | sensordata=$(sensors 2>&1) | 44 | sensordata=$(sensors 2>&1) |