diff options
| -rw-r--r-- | plugins/check_ups.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index f60c0e9e..adb7ab81 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
| @@ -40,7 +40,9 @@ const char *email = "devel@monitoring-plugins.org"; | |||
| 40 | #include "netutils.h" | 40 | #include "netutils.h" |
| 41 | #include "utils.h" | 41 | #include "utils.h" |
| 42 | 42 | ||
| 43 | enum { PORT = 3493 }; | 43 | enum { |
| 44 | PORT = 3493 | ||
| 45 | }; | ||
| 44 | 46 | ||
| 45 | #define UPS_NONE 0 /* no supported options */ | 47 | #define UPS_NONE 0 /* no supported options */ |
| 46 | #define UPS_UTILITY 1 /* supports utility line */ | 48 | #define UPS_UTILITY 1 /* supports utility line */ |
| @@ -66,7 +68,9 @@ enum { PORT = 3493 }; | |||
| 66 | #define UPSSTATUS_UNKNOWN 4096 | 68 | #define UPSSTATUS_UNKNOWN 4096 |
| 67 | #define UPSSTATUS_ALARM 8192 | 69 | #define UPSSTATUS_ALARM 8192 |
| 68 | 70 | ||
| 69 | enum { NOSUCHVAR = ERROR - 1 }; | 71 | enum { |
| 72 | NOSUCHVAR = ERROR - 1 | ||
| 73 | }; | ||
| 70 | 74 | ||
| 71 | typedef struct ups_config { | 75 | typedef struct ups_config { |
| 72 | unsigned int server_port; | 76 | unsigned int server_port; |
