Code

Plenty of french translations (and a few fixes BTW)
[nagiosplug.git] / plugins / check_snmp.c
index 9fa4a60bf4069bf355c86073ea8127d7ac0ce646..7b844f76678c432b83f440fd54b25659acbd5454 100644 (file)
@@ -521,7 +521,7 @@ process_arguments (int argc, char **argv)
        /* Test parameters */
                case 'c':                                                                       /* critical time threshold */
                        if (strspn (optarg, "0123456789:,") < strlen (optarg))
-                               usage2 (_("Invalid critical threshold: %s\n"), optarg);
+                               usage2 (_("Invalid critical threshold"), optarg);
                        for (ptr = optarg; ptr && jj < MAX_OIDS; jj++) {
                                if (llu_getll (&lower_crit_lim[jj], ptr) == 1)
                                        eval_method[jj] |= CRIT_LT;
@@ -532,7 +532,7 @@ process_arguments (int argc, char **argv)
                        break;
                case 'w':                                                                       /* warning time threshold */
                        if (strspn (optarg, "0123456789:,") < strlen (optarg))
-                               usage2 (_("Invalid warning threshold: %s\n"), optarg);
+                               usage2 (_("Invalid warning threshold"), optarg);
                        for (ptr = optarg; ptr && ii < MAX_OIDS; ii++) {
                                if (llu_getll (&lower_warn_lim[ii], ptr) == 1)
                                        eval_method[ii] |= WARN_LT;
@@ -957,7 +957,7 @@ print_help (void)
   printf (" %s\n", "-A, --authpassword=PASSWORD");
   printf ("    %s\n", _("SNMPv3 authentication password"));
   printf (" %s\n", "-X, --privpasswd=PASSWORD");
-  printf ("    %s\n", _("SNMPv3 crypt passwd (DES)"));
+  printf ("    %s\n", _("SNMPv3 privacy password"));
 
        /* OID Stuff */
        printf (" %s\n", "-o, --oid=OID(s)");