diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 6fae3d1f81b03db0e9e609ed0b70c49b3b4dff05..c1c4ea831b7db57093296956fe12ebb9fbde1e94 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
/* Process this block for string matching */
else if (eval_method[i] & CRIT_STRING) {
- if (strcmp (response, string_value))
+ if (strcmp (show, string_value))
iresult = STATE_CRITICAL;
else
iresult = STATE_OK;
}
else if ( strcmp(seclevel, "authPriv") == 0 ) {
if ( secname == NULL || authpasswd == NULL || privpasswd == NULL ) {
- printf (("Missing secname (%s), authpassword (%s), or privpasswd (%s)! \n"),secname, authpasswd,privpasswd );
+ printf (_("Missing secname (%s), authpassword (%s), or privpasswd (%s)! \n"),secname, authpasswd,privpasswd );
print_usage ();
exit (STATE_UNKNOWN);
}