summaryrefslogtreecommitdiffstats
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 01:11:01 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 01:11:01 (GMT)
commit230d67e18ad368773f2302485d0b55f50f654e3f (patch)
tree555c1d1dd92d7897e037303bf03f86b2de0f78b9 /plugins/check_ups.c
parent2d1ba3e36b950f05832ea2bd595616fa6cd28c28 (diff)
downloadmonitoring-plugins-230d67e18ad368773f2302485d0b55f50f654e3f.tar.gz
changed Error: by CRITICAL -
more localization fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r--plugins/check_ups.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 7f88ec3..0e23c53 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -396,20 +396,20 @@ get_ups_variable (const char *varname, char *buf, size_t buflen)
396 ptr = temp_buffer + strlen (varname) + 5; 396 ptr = temp_buffer + strlen (varname) + 5;
397 397
398 if (!strcmp (ptr, "NOT-SUPPORTED")) { 398 if (!strcmp (ptr, "NOT-SUPPORTED")) {
399 printf ("Error: Variable '%s' is not supported\n", varname); 399 printf ("CRITICAL - Variable '%s' is not supported\n", varname);
400 return ERROR; 400 return ERROR;
401 } 401 }
402 402
403 if (!strcmp (ptr, "DATA-STALE")) { 403 if (!strcmp (ptr, "DATA-STALE")) {
404 printf ("Error: UPS data is stale\n"); 404 printf ("CRITICAL - UPS data is stale\n");
405 return ERROR; 405 return ERROR;
406 } 406 }
407 407
408 if (!strcmp (ptr, "UNKNOWN-UPS")) { 408 if (!strcmp (ptr, "UNKNOWN-UPS")) {
409 if (ups_name) 409 if (ups_name)
410 printf ("Error: UPS '%s' is unknown\n", ups_name); 410 printf ("CRITICAL - UPS '%s' is unknown\n", ups_name);
411 else 411 else
412 printf ("Error: UPS is unknown\n"); 412 printf ("CRITICAL - UPS is unknown\n");
413 return ERROR; 413 return ERROR;
414 } 414 }
415 415