summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81bee45)
raw | patch | inline | side by side (parent: 81bee45)
author | Benoit Mortier <opensides@users.sourceforge.net> | |
Sat, 4 Dec 2004 12:31:41 +0000 (12:31 +0000) | ||
committer | Benoit Mortier <opensides@users.sourceforge.net> | |
Sat, 4 Dec 2004 12:31:41 +0000 (12:31 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1002 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_by_ssh.c | patch | blob | history | |
plugins/check_dns.c | patch | blob | history | |
po/POTFILES.in | patch | blob | history |
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index d34b2678fc9561fdfe6921a61e2e33c3c1dc7c07..dd2230a00f26b80867eff26a9bb5ca848cfb6c74 100644 (file)
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
{
print_revision (progname, revision);
- printf (_("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"));
- printf (_(COPYRIGHT), copyright, email);
+ printf ("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n");
+ printf (COPYRIGHT, copyright, email);
printf (_("This plugin uses SSH to execute commands on a remote host\n\n"));
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index b9ad29d3070b5b21f5b0a15dc510c079c3e9258e..dd6ebdabf25aae510cc722a40bff9c529c29a2f1 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
/* TODO: this is_host check is probably unnecessary. */
/* Better to confirm nslookup response matches */
if (is_host (optarg) == FALSE) {
- printf (_("Invalid hostname/address\n\n"));
- print_usage ();
- exit (STATE_UNKNOWN);
+ usage2 (_("Invalid hostname/address"), optarg);
}
if (strlen (optarg) >= ADDRESS_LENGTH)
die (STATE_UNKNOWN, _("Input buffer overflow\n"));
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 51a84c7657c1eb020c91040399e88877661081ae..3697da4eb5d2b61ef76626c700d79c787f971ecd 100644 (file)
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
plugins/check_game.c
plugins/check_hpjd.c
plugins/check_http.c
-plugins/check_ide-smart.c
plugins/check_ldap.c
plugins/check_load.c
plugins/check_mrtg.c