aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 01:11:01 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 01:11:01 +0000
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 7f88ec30..0e23c537 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)
ptr = temp_buffer + strlen (varname) + 5;
if (!strcmp (ptr, "NOT-SUPPORTED")) {
- printf ("Error: Variable '%s' is not supported\n", varname);
+ printf ("CRITICAL - Variable '%s' is not supported\n", varname);
return ERROR;
}
if (!strcmp (ptr, "DATA-STALE")) {
- printf ("Error: UPS data is stale\n");
+ printf ("CRITICAL - UPS data is stale\n");
return ERROR;
}
if (!strcmp (ptr, "UNKNOWN-UPS")) {
if (ups_name)
- printf ("Error: UPS '%s' is unknown\n", ups_name);
+ printf ("CRITICAL - UPS '%s' is unknown\n", ups_name);
else
- printf ("Error: UPS is unknown\n");
+ printf ("CRITICAL - UPS is unknown\n");
return ERROR;
}