Module: monitoring-plugins Branch: check_dhcp_rogue_detection Commit: 39c5c73c41c85cdc2a5281b835f3bafd39353249 Author: Lorenz Kästle <12514511+rincewinds...@users.noreply.github.com> Date: Sun Aug 27 10:58:55 2023 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=39c5c73
Update translations --- po/de.po | 152 +++++++++++++++++++++++++--------------------- po/fr.po | 152 +++++++++++++++++++++++++--------------------- po/monitoring-plugins.pot | 152 +++++++++++++++++++++++++--------------------- 3 files changed, 252 insertions(+), 204 deletions(-) diff --git a/po/de.po b/po/de.po index eb0f8df..6de4331 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: nagiosplug\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2023-07-11 16:07+0200\n" +"POT-Creation-Date: 2023-08-27 10:58+0200\n" "PO-Revision-Date: 2004-12-23 17:46+0100\n" "Last-Translator: <>\n" "Language-Team: English <e...@li.org>\n" @@ -31,7 +31,7 @@ msgstr "" #: plugins/check_radius.c:176 plugins/check_real.c:80 plugins/check_smtp.c:146 #: plugins/check_snmp.c:248 plugins/check_ssh.c:74 plugins/check_swap.c:115 #: plugins/check_tcp.c:222 plugins/check_time.c:78 plugins/check_ups.c:122 -#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:270 +#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:272 msgid "Could not parse arguments" msgstr "Argumente konnten nicht ausgewertet werden" @@ -256,7 +256,7 @@ msgstr "" #: plugins/check_snmp.c:1347 plugins/check_ssh.c:325 plugins/check_swap.c:607 #: plugins/check_tcp.c:710 plugins/check_time.c:371 plugins/check_ups.c:663 #: plugins/check_users.c:262 plugins/check_ide_smart.c:606 plugins/negate.c:273 -#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1390 +#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1412 #: plugins-root/check_icmp.c:1633 msgid "Usage:" msgstr "" @@ -5990,7 +5990,7 @@ msgstr "" msgid "Receive failed" msgstr "" -#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1310 +#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1330 #, fuzzy, c-format msgid "Invalid hostname/address - %s" msgstr "" @@ -6197,327 +6197,343 @@ msgid "" "For more information about these matters, see the file named COPYING.\n" msgstr "" -#: plugins-root/check_dhcp.c:317 +#: plugins-root/check_dhcp.c:319 #, c-format msgid "Error: Could not get hardware address of interface '%s'\n" msgstr "" -#: plugins-root/check_dhcp.c:340 +#: plugins-root/check_dhcp.c:342 #, c-format msgid "Error: if_nametoindex error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:345 +#: plugins-root/check_dhcp.c:347 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 1 error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:350 +#: plugins-root/check_dhcp.c:352 #, c-format msgid "" "Error: Couldn't get hardware address from interface %s. malloc error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:355 +#: plugins-root/check_dhcp.c:357 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:386 +#: plugins-root/check_dhcp.c:388 #, c-format msgid "" "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " "eg lnc0.\n" msgstr "" -#: plugins-root/check_dhcp.c:391 plugins-root/check_dhcp.c:403 +#: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 #, c-format msgid "" "Error: can't read MAC address from DLPI streams interface for device %s unit " "%d.\n" msgstr "" -#: plugins-root/check_dhcp.c:409 +#: plugins-root/check_dhcp.c:411 #, c-format msgid "" "Error: can't get MAC address for this architecture. Use the --mac option.\n" msgstr "" -#: plugins-root/check_dhcp.c:428 +#: plugins-root/check_dhcp.c:430 #, c-format msgid "Error: Cannot determine IP address of interface %s\n" msgstr "" -#: plugins-root/check_dhcp.c:436 +#: plugins-root/check_dhcp.c:438 #, c-format msgid "Error: Cannot get interface IP address on this platform.\n" msgstr "" -#: plugins-root/check_dhcp.c:441 +#: plugins-root/check_dhcp.c:443 #, c-format msgid "Pretending to be relay client %s\n" msgstr "" -#: plugins-root/check_dhcp.c:521 +#: plugins-root/check_dhcp.c:523 #, c-format msgid "DHCPDISCOVER to %s port %d\n" msgstr "" -#: plugins-root/check_dhcp.c:573 +#: plugins-root/check_dhcp.c:575 #, c-format msgid "Result=ERROR\n" msgstr "" -#: plugins-root/check_dhcp.c:579 +#: plugins-root/check_dhcp.c:581 #, c-format msgid "Result=OK\n" msgstr "" -#: plugins-root/check_dhcp.c:589 +#: plugins-root/check_dhcp.c:591 #, c-format msgid "DHCPOFFER from IP address %s" msgstr "" -#: plugins-root/check_dhcp.c:590 +#: plugins-root/check_dhcp.c:592 #, c-format msgid " via %s\n" msgstr "" -#: plugins-root/check_dhcp.c:597 +#: plugins-root/check_dhcp.c:599 #, c-format msgid "" "DHCPOFFER XID (%u) did not match DHCPDISCOVER XID (%u) - ignoring packet\n" msgstr "" -#: plugins-root/check_dhcp.c:619 +#: plugins-root/check_dhcp.c:621 #, c-format msgid "DHCPOFFER hardware address did not match our own - ignoring packet\n" msgstr "" -#: plugins-root/check_dhcp.c:637 +#: plugins-root/check_dhcp.c:639 #, c-format msgid "Total responses seen on the wire: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:638 +#: plugins-root/check_dhcp.c:640 #, fuzzy, c-format msgid "Valid responses for this machine: %d\n" msgstr "Keine Antwort vom Host \n" -#: plugins-root/check_dhcp.c:653 +#: plugins-root/check_dhcp.c:655 #, c-format msgid "send_dhcp_packet result: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:686 +#: plugins-root/check_dhcp.c:688 #, fuzzy, c-format msgid "No (more) data received (nfound: %d)\n" msgstr "Keine Daten empfangen %s\n" -#: plugins-root/check_dhcp.c:699 +#: plugins-root/check_dhcp.c:701 #, c-format msgid "recvfrom() failed, " msgstr "" -#: plugins-root/check_dhcp.c:706 +#: plugins-root/check_dhcp.c:708 #, c-format msgid "receive_dhcp_packet() result: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:707 +#: plugins-root/check_dhcp.c:709 #, c-format msgid "receive_dhcp_packet() source: %s\n" msgstr "" -#: plugins-root/check_dhcp.c:737 +#: plugins-root/check_dhcp.c:739 #, c-format msgid "Error: Could not create socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:747 +#: plugins-root/check_dhcp.c:749 #, c-format msgid "Error: Could not set reuse address option on DHCP socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:753 +#: plugins-root/check_dhcp.c:755 #, c-format msgid "Error: Could not set broadcast option on DHCP socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:762 +#: plugins-root/check_dhcp.c:764 #, c-format msgid "" "Error: Could not bind socket to interface %s. Check your privileges...\n" msgstr "" -#: plugins-root/check_dhcp.c:773 +#: plugins-root/check_dhcp.c:775 #, c-format msgid "" "Error: Could not bind to DHCP socket (port %d)! Check your privileges...\n" msgstr "" -#: plugins-root/check_dhcp.c:807 +#: plugins-root/check_dhcp.c:809 #, c-format msgid "Requested server address: %s\n" msgstr "" -#: plugins-root/check_dhcp.c:869 +#: plugins-root/check_dhcp.c:871 #, c-format msgid "Lease Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:871 +#: plugins-root/check_dhcp.c:873 #, c-format msgid "Lease Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:873 +#: plugins-root/check_dhcp.c:875 #, c-format msgid "Renewal Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:875 +#: plugins-root/check_dhcp.c:877 #, c-format msgid "Renewal Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:877 +#: plugins-root/check_dhcp.c:879 #, c-format msgid "Rebinding Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:878 +#: plugins-root/check_dhcp.c:880 #, c-format msgid "Rebinding Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:906 +#: plugins-root/check_dhcp.c:909 #, c-format msgid "Added offer from server @ %s" msgstr "" -#: plugins-root/check_dhcp.c:907 +#: plugins-root/check_dhcp.c:910 #, c-format msgid " of IP address %s\n" msgstr "" -#: plugins-root/check_dhcp.c:974 +#: plugins-root/check_dhcp.c:977 #, c-format msgid "DHCP Server Match: Offerer=%s" msgstr "" -#: plugins-root/check_dhcp.c:975 +#: plugins-root/check_dhcp.c:978 #, c-format msgid " Requested=%s" msgstr "" -#: plugins-root/check_dhcp.c:977 +#: plugins-root/check_dhcp.c:980 #, c-format msgid " (duplicate)" msgstr "" -#: plugins-root/check_dhcp.c:978 +#: plugins-root/check_dhcp.c:981 #, c-format msgid "\n" msgstr "" -#: plugins-root/check_dhcp.c:1026 +#: plugins-root/check_dhcp.c:1040 #, c-format msgid "No DHCPOFFERs were received.\n" msgstr "" -#: plugins-root/check_dhcp.c:1030 +#: plugins-root/check_dhcp.c:1044 #, c-format msgid "Received %d DHCPOFFER(s)" msgstr "" -#: plugins-root/check_dhcp.c:1033 +#: plugins-root/check_dhcp.c:1048 +#, c-format +msgid ", Rogue DHCP Server detected! Server %s" +msgstr "" + +#: plugins-root/check_dhcp.c:1049 +#, c-format +msgid " offered %s \n" +msgstr "" + +#: plugins-root/check_dhcp.c:1054 #, c-format msgid ", %s%d of %d requested servers responded" msgstr "" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 #, c-format msgid ", requested address (%s) was %soffered" msgstr "" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 msgid "not " msgstr "" -#: plugins-root/check_dhcp.c:1038 +#: plugins-root/check_dhcp.c:1059 #, c-format msgid ", max lease time = " msgstr "" -#: plugins-root/check_dhcp.c:1040 +#: plugins-root/check_dhcp.c:1061 #, c-format msgid "Infinity" msgstr "" -#: plugins-root/check_dhcp.c:1160 +#: plugins-root/check_dhcp.c:1180 msgid "Got unexpected non-option argument" msgstr "" -#: plugins-root/check_dhcp.c:1202 +#: plugins-root/check_dhcp.c:1222 #, c-format msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1214 +#: plugins-root/check_dhcp.c:1234 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1227 +#: plugins-root/check_dhcp.c:1247 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" msgstr "" -#: plugins-root/check_dhcp.c:1239 +#: plugins-root/check_dhcp.c:1259 #, c-format msgid "" "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1263 +#: plugins-root/check_dhcp.c:1283 #, c-format msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1342 +#: plugins-root/check_dhcp.c:1362 #, c-format msgid "Hardware address: " msgstr "" -#: plugins-root/check_dhcp.c:1358 +#: plugins-root/check_dhcp.c:1378 msgid "This plugin tests the availability of DHCP servers on a network." msgstr "" -#: plugins-root/check_dhcp.c:1370 +#: plugins-root/check_dhcp.c:1390 msgid "IP address of DHCP server that we must hear from" msgstr "" -#: plugins-root/check_dhcp.c:1372 +#: plugins-root/check_dhcp.c:1392 msgid "IP address that should be offered by at least one DHCP server" msgstr "" -#: plugins-root/check_dhcp.c:1374 +#: plugins-root/check_dhcp.c:1394 msgid "Seconds to wait for DHCPOFFER before timeout occurs" msgstr "" -#: plugins-root/check_dhcp.c:1376 +#: plugins-root/check_dhcp.c:1396 msgid "Interface to to use for listening (i.e. eth0)" msgstr "" -#: plugins-root/check_dhcp.c:1378 +#: plugins-root/check_dhcp.c:1398 msgid "MAC address to use in the DHCP request" msgstr "" -#: plugins-root/check_dhcp.c:1380 +#: plugins-root/check_dhcp.c:1400 msgid "Unicast testing: mimic a DHCP relay, requires -s" msgstr "" +#: plugins-root/check_dhcp.c:1402 +msgid "" +"Only requested DHCP server may response (rogue DHCP server detection), " +"requires -s" +msgstr "" + #: plugins-root/check_icmp.c:1572 msgid "specify a target" msgstr "" diff --git a/po/fr.po b/po/fr.po index a20c93c..26c8780 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2023-07-11 16:07+0200\n" +"POT-Creation-Date: 2023-08-27 10:58+0200\n" "PO-Revision-Date: 2010-04-21 23:38-0400\n" "Last-Translator: Thomas Guyot-Sionnest <derm...@aei.ca>\n" "Language-Team: Nagios Plugin Development Mailing List <nagiosplug-" @@ -34,7 +34,7 @@ msgstr "" #: plugins/check_radius.c:176 plugins/check_real.c:80 plugins/check_smtp.c:146 #: plugins/check_snmp.c:248 plugins/check_ssh.c:74 plugins/check_swap.c:115 #: plugins/check_tcp.c:222 plugins/check_time.c:78 plugins/check_ups.c:122 -#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:270 +#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:272 msgid "Could not parse arguments" msgstr "Impossible de décomposer les arguments" @@ -262,7 +262,7 @@ msgstr "Exemples:" #: plugins/check_snmp.c:1347 plugins/check_ssh.c:325 plugins/check_swap.c:607 #: plugins/check_tcp.c:710 plugins/check_time.c:371 plugins/check_ups.c:663 #: plugins/check_users.c:262 plugins/check_ide_smart.c:606 plugins/negate.c:273 -#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1390 +#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1412 #: plugins-root/check_icmp.c:1633 msgid "Usage:" msgstr "Utilisation:" @@ -6126,7 +6126,7 @@ msgstr "Le chemin fourni est trop long pour un socket unix" msgid "Receive failed" msgstr "La réception à échoué" -#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1310 +#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1330 #, c-format msgid "Invalid hostname/address - %s" msgstr "Adresse/Nom invalide - %s" @@ -6388,25 +6388,25 @@ msgstr "" "des copies des plugins selon les termes de la GNU General Public License.\n" "Pour de plus ample informations, voir le fichier COPYING.\n" -#: plugins-root/check_dhcp.c:317 +#: plugins-root/check_dhcp.c:319 #, c-format msgid "Error: Could not get hardware address of interface '%s'\n" msgstr "" "Erreur: Impossible d'obtenir l'adresse matérielle pour l'interface '%s'\n" -#: plugins-root/check_dhcp.c:340 +#: plugins-root/check_dhcp.c:342 #, c-format msgid "Error: if_nametoindex error - %s.\n" msgstr "Erreur: if_nametoindex erreur - %s.\n" -#: plugins-root/check_dhcp.c:345 +#: plugins-root/check_dhcp.c:347 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 1 error - %s.\n" msgstr "" "Erreur: Impossible d'obtenir l'adresse matérielle depuis %s. erreur sysctl 1 " "- %s.\n" -#: plugins-root/check_dhcp.c:350 +#: plugins-root/check_dhcp.c:352 #, c-format msgid "" "Error: Couldn't get hardware address from interface %s. malloc error - %s.\n" @@ -6414,14 +6414,14 @@ msgstr "" "Erreur: Impossible d'obtenir l'adresse matérielle depuis l'interface %s\n" " erreur malloc - %s.\n" -#: plugins-root/check_dhcp.c:355 +#: plugins-root/check_dhcp.c:357 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" msgstr "" "Erreur: Impossible d'obtenir l'adresse matérielle depuis %s erreur sysctl 2 " "- %s.\n" -#: plugins-root/check_dhcp.c:386 +#: plugins-root/check_dhcp.c:388 #, c-format msgid "" "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " @@ -6430,7 +6430,7 @@ msgstr "" "Erreur: impossible de trouver le numéro dans le nom de l'interface (%s).\n" "J'attendais le nom suivi du type ex lnc0.\n" -#: plugins-root/check_dhcp.c:391 plugins-root/check_dhcp.c:403 +#: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 #, c-format msgid "" "Error: can't read MAC address from DLPI streams interface for device %s unit " @@ -6439,7 +6439,7 @@ msgstr "" "Erreur: impossible de lire l'adresse MAC depuis l'interface DLPI pour le \n" "périphérique %s numéro %d.\n" -#: plugins-root/check_dhcp.c:409 +#: plugins-root/check_dhcp.c:411 #, c-format msgid "" "Error: can't get MAC address for this architecture. Use the --mac option.\n" @@ -6447,47 +6447,47 @@ msgstr "" "Erreur: impossible d'obtenir l'adresse MAC sur cette architecture. Utilisez " "l'option --mac.\n" -#: plugins-root/check_dhcp.c:428 +#: plugins-root/check_dhcp.c:430 #, c-format msgid "Error: Cannot determine IP address of interface %s\n" msgstr "Erreur: Impossible d'obtenir l'adresse IP de l'interface %s\n" -#: plugins-root/check_dhcp.c:436 +#: plugins-root/check_dhcp.c:438 #, c-format msgid "Error: Cannot get interface IP address on this platform.\n" msgstr "Erreur: Impossible d'obtenir l'adresse IP sur cette architecture.\n" -#: plugins-root/check_dhcp.c:441 +#: plugins-root/check_dhcp.c:443 #, c-format msgid "Pretending to be relay client %s\n" msgstr "" -#: plugins-root/check_dhcp.c:521 +#: plugins-root/check_dhcp.c:523 #, c-format msgid "DHCPDISCOVER to %s port %d\n" msgstr "DHCPDISCOVER vers %s port %d\n" -#: plugins-root/check_dhcp.c:573 +#: plugins-root/check_dhcp.c:575 #, c-format msgid "Result=ERROR\n" msgstr "Résultat=ERREUR\n" -#: plugins-root/check_dhcp.c:579 +#: plugins-root/check_dhcp.c:581 #, c-format msgid "Result=OK\n" msgstr "Résultat=OK\n" -#: plugins-root/check_dhcp.c:589 +#: plugins-root/check_dhcp.c:591 #, c-format msgid "DHCPOFFER from IP address %s" msgstr "DHCPOFFER depuis l'adresse IP %s" -#: plugins-root/check_dhcp.c:590 +#: plugins-root/check_dhcp.c:592 #, c-format msgid " via %s\n" msgstr " depuis %s\n" -#: plugins-root/check_dhcp.c:597 +#: plugins-root/check_dhcp.c:599 #, c-format msgid "" "DHCPOFFER XID (%u) did not match DHCPDISCOVER XID (%u) - ignoring packet\n" @@ -6495,67 +6495,67 @@ msgstr "" "DHCPOFFER XID (%u) ne correspond pas au DHCPDISCOVER XID (%u) - paquet " "ignoré\n" -#: plugins-root/check_dhcp.c:619 +#: plugins-root/check_dhcp.c:621 #, c-format msgid "DHCPOFFER hardware address did not match our own - ignoring packet\n" msgstr "" "l'adresse matérielle du DHCPOFFER ne correspond pas à la notre paquet " "ignoré\n" -#: plugins-root/check_dhcp.c:637 +#: plugins-root/check_dhcp.c:639 #, c-format msgid "Total responses seen on the wire: %d\n" msgstr "Nombre total de réponses vues: %d\n" -#: plugins-root/check_dhcp.c:638 +#: plugins-root/check_dhcp.c:640 #, c-format msgid "Valid responses for this machine: %d\n" msgstr "Nombre de réponse valides pour cette machine: %d\n" -#: plugins-root/check_dhcp.c:653 +#: plugins-root/check_dhcp.c:655 #, c-format msgid "send_dhcp_packet result: %d\n" msgstr "résultat de send_dchp_packet: %d\n" -#: plugins-root/check_dhcp.c:686 +#: plugins-root/check_dhcp.c:688 #, c-format msgid "No (more) data received (nfound: %d)\n" msgstr "Plus de données reçues (nfound: %d)\n" -#: plugins-root/check_dhcp.c:699 +#: plugins-root/check_dhcp.c:701 #, c-format msgid "recvfrom() failed, " msgstr "recvfrom() a échoué, " -#: plugins-root/check_dhcp.c:706 +#: plugins-root/check_dhcp.c:708 #, c-format msgid "receive_dhcp_packet() result: %d\n" msgstr "résultat de receive_dchp_packet(): %d\n" -#: plugins-root/check_dhcp.c:707 +#: plugins-root/check_dhcp.c:709 #, c-format msgid "receive_dhcp_packet() source: %s\n" msgstr "source de receive_dchp_packet(): %s\n" -#: plugins-root/check_dhcp.c:737 +#: plugins-root/check_dhcp.c:739 #, c-format msgid "Error: Could not create socket!\n" msgstr "Erreur: Impossible de créer un socket!\n" -#: plugins-root/check_dhcp.c:747 +#: plugins-root/check_dhcp.c:749 #, c-format msgid "Error: Could not set reuse address option on DHCP socket!\n" msgstr "" "Erreur: Impossible de configurer l'option de réutilisation de l'adresse sur\n" "le socket DHCP!\n" -#: plugins-root/check_dhcp.c:753 +#: plugins-root/check_dhcp.c:755 #, c-format msgid "Error: Could not set broadcast option on DHCP socket!\n" msgstr "" "Erreur: Impossible de configurer l'option broadcast sur le socket DHCP!\n" -#: plugins-root/check_dhcp.c:762 +#: plugins-root/check_dhcp.c:764 #, c-format msgid "" "Error: Could not bind socket to interface %s. Check your privileges...\n" @@ -6563,7 +6563,7 @@ msgstr "" "Erreur: Impossible de connecter le socket à l'interface %s.\n" "Vérifiez vos droits...\n" -#: plugins-root/check_dhcp.c:773 +#: plugins-root/check_dhcp.c:775 #, c-format msgid "" "Error: Could not bind to DHCP socket (port %d)! Check your privileges...\n" @@ -6571,129 +6571,139 @@ msgstr "" "Erreur: Impossible de se connecter au socket (port %d)! Vérifiez vos " "droits..\n" -#: plugins-root/check_dhcp.c:807 +#: plugins-root/check_dhcp.c:809 #, c-format msgid "Requested server address: %s\n" msgstr "Adresse serveur demandée: %s\n" -#: plugins-root/check_dhcp.c:869 +#: plugins-root/check_dhcp.c:871 #, c-format msgid "Lease Time: Infinite\n" msgstr "Durée du Bail: Infini\n" -#: plugins-root/check_dhcp.c:871 +#: plugins-root/check_dhcp.c:873 #, c-format msgid "Lease Time: %lu seconds\n" msgstr "Durée du Bail: %lu secondes\n" -#: plugins-root/check_dhcp.c:873 +#: plugins-root/check_dhcp.c:875 #, c-format msgid "Renewal Time: Infinite\n" msgstr "Renouvellement du bail: Infini\n" -#: plugins-root/check_dhcp.c:875 +#: plugins-root/check_dhcp.c:877 #, c-format msgid "Renewal Time: %lu seconds\n" msgstr "Durée du renouvellement = %lu secondes\n" -#: plugins-root/check_dhcp.c:877 +#: plugins-root/check_dhcp.c:879 #, c-format msgid "Rebinding Time: Infinite\n" msgstr "Délai de nouvelle demande: Infini\n" -#: plugins-root/check_dhcp.c:878 +#: plugins-root/check_dhcp.c:880 #, c-format msgid "Rebinding Time: %lu seconds\n" msgstr "Délai de nouvelle demande: %lu secondes\n" -#: plugins-root/check_dhcp.c:906 +#: plugins-root/check_dhcp.c:909 #, c-format msgid "Added offer from server @ %s" msgstr "Rajouté offre du serveur @ %s" -#: plugins-root/check_dhcp.c:907 +#: plugins-root/check_dhcp.c:910 #, c-format msgid " of IP address %s\n" msgstr "de l'adresse IP %s\n" -#: plugins-root/check_dhcp.c:974 +#: plugins-root/check_dhcp.c:977 #, c-format msgid "DHCP Server Match: Offerer=%s" msgstr "Correspondance du serveur DHCP: Offrant=%s" -#: plugins-root/check_dhcp.c:975 +#: plugins-root/check_dhcp.c:978 #, c-format msgid " Requested=%s" msgstr " Demandé=%s" -#: plugins-root/check_dhcp.c:977 +#: plugins-root/check_dhcp.c:980 #, c-format msgid " (duplicate)" msgstr "" -#: plugins-root/check_dhcp.c:978 +#: plugins-root/check_dhcp.c:981 #, c-format msgid "\n" msgstr "" -#: plugins-root/check_dhcp.c:1026 +#: plugins-root/check_dhcp.c:1040 #, c-format msgid "No DHCPOFFERs were received.\n" msgstr "Pas de DHCPOFFERs reçus.\n" -#: plugins-root/check_dhcp.c:1030 +#: plugins-root/check_dhcp.c:1044 #, c-format msgid "Received %d DHCPOFFER(s)" msgstr "Reçu %d DHCPOFFER(s)" -#: plugins-root/check_dhcp.c:1033 +#: plugins-root/check_dhcp.c:1048 +#, fuzzy, c-format +msgid ", Rogue DHCP Server detected! Server %s" +msgstr "Correspondance du serveur DHCP: Offrant=%s" + +#: plugins-root/check_dhcp.c:1049 +#, c-format +msgid " offered %s \n" +msgstr "" + +#: plugins-root/check_dhcp.c:1054 #, c-format msgid ", %s%d of %d requested servers responded" msgstr ", %s%d de %d serveurs ont répondus" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 #, c-format msgid ", requested address (%s) was %soffered" msgstr ", l'adresse demandée (%s) %s été offerte" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 msgid "not " msgstr "n'as pas" -#: plugins-root/check_dhcp.c:1038 +#: plugins-root/check_dhcp.c:1059 #, c-format msgid ", max lease time = " msgstr ", bail maximum = " -#: plugins-root/check_dhcp.c:1040 +#: plugins-root/check_dhcp.c:1061 #, c-format msgid "Infinity" msgstr "Infini" -#: plugins-root/check_dhcp.c:1160 +#: plugins-root/check_dhcp.c:1180 msgid "Got unexpected non-option argument" msgstr "" -#: plugins-root/check_dhcp.c:1202 +#: plugins-root/check_dhcp.c:1222 #, c-format msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" msgstr "" "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans check_ctrl: %s.\n" -#: plugins-root/check_dhcp.c:1214 +#: plugins-root/check_dhcp.c:1234 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" msgstr "" "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_ctrl/putmsg(): " "%s.\n" -#: plugins-root/check_dhcp.c:1227 +#: plugins-root/check_dhcp.c:1247 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" msgstr "" "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans put_both/putmsg().\n" -#: plugins-root/check_dhcp.c:1239 +#: plugins-root/check_dhcp.c:1259 #, c-format msgid "" "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" @@ -6701,46 +6711,52 @@ msgstr "" "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_attach_req/" "open(%s..): %s.\n" -#: plugins-root/check_dhcp.c:1263 +#: plugins-root/check_dhcp.c:1283 #, c-format msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" msgstr "" "Erreur: Impossible d'obtenir la MAC par l'API DLPI dans dl_bind/" "check_ctrl(): %s.\n" -#: plugins-root/check_dhcp.c:1342 +#: plugins-root/check_dhcp.c:1362 #, c-format msgid "Hardware address: " msgstr "Adresse matérielle: " -#: plugins-root/check_dhcp.c:1358 +#: plugins-root/check_dhcp.c:1378 msgid "This plugin tests the availability of DHCP servers on a network." msgstr "Ce plugin teste la disponibilité de serveurs DHCP dans un réseau." -#: plugins-root/check_dhcp.c:1370 +#: plugins-root/check_dhcp.c:1390 msgid "IP address of DHCP server that we must hear from" msgstr "" -#: plugins-root/check_dhcp.c:1372 +#: plugins-root/check_dhcp.c:1392 msgid "IP address that should be offered by at least one DHCP server" msgstr "" -#: plugins-root/check_dhcp.c:1374 +#: plugins-root/check_dhcp.c:1394 msgid "Seconds to wait for DHCPOFFER before timeout occurs" msgstr "" -#: plugins-root/check_dhcp.c:1376 +#: plugins-root/check_dhcp.c:1396 msgid "Interface to to use for listening (i.e. eth0)" msgstr "" -#: plugins-root/check_dhcp.c:1378 +#: plugins-root/check_dhcp.c:1398 msgid "MAC address to use in the DHCP request" msgstr "" -#: plugins-root/check_dhcp.c:1380 +#: plugins-root/check_dhcp.c:1400 msgid "Unicast testing: mimic a DHCP relay, requires -s" msgstr "" +#: plugins-root/check_dhcp.c:1402 +msgid "" +"Only requested DHCP server may response (rogue DHCP server detection), " +"requires -s" +msgstr "" + #: plugins-root/check_icmp.c:1572 msgid "specify a target" msgstr "" diff --git a/po/monitoring-plugins.pot b/po/monitoring-plugins.pot index 4f6b241..0bd1dd1 100644 --- a/po/monitoring-plugins.pot +++ b/po/monitoring-plugins.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" -"POT-Creation-Date: 2023-07-11 16:07+0200\n" +"POT-Creation-Date: 2023-08-27 10:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -30,7 +30,7 @@ msgstr "" #: plugins/check_radius.c:176 plugins/check_real.c:80 plugins/check_smtp.c:146 #: plugins/check_snmp.c:248 plugins/check_ssh.c:74 plugins/check_swap.c:115 #: plugins/check_tcp.c:222 plugins/check_time.c:78 plugins/check_ups.c:122 -#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:270 +#: plugins/check_users.c:84 plugins/negate.c:210 plugins-root/check_dhcp.c:272 msgid "Could not parse arguments" msgstr "" @@ -247,7 +247,7 @@ msgstr "" #: plugins/check_snmp.c:1347 plugins/check_ssh.c:325 plugins/check_swap.c:607 #: plugins/check_tcp.c:710 plugins/check_time.c:371 plugins/check_ups.c:663 #: plugins/check_users.c:262 plugins/check_ide_smart.c:606 plugins/negate.c:273 -#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1390 +#: plugins/urlize.c:196 plugins-root/check_dhcp.c:1412 #: plugins-root/check_icmp.c:1633 msgid "Usage:" msgstr "" @@ -5828,7 +5828,7 @@ msgstr "" msgid "Receive failed" msgstr "" -#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1310 +#: plugins/netutils.c:342 plugins-root/check_dhcp.c:1330 #, c-format msgid "Invalid hostname/address - %s" msgstr "" @@ -6027,327 +6027,343 @@ msgid "" "For more information about these matters, see the file named COPYING.\n" msgstr "" -#: plugins-root/check_dhcp.c:317 +#: plugins-root/check_dhcp.c:319 #, c-format msgid "Error: Could not get hardware address of interface '%s'\n" msgstr "" -#: plugins-root/check_dhcp.c:340 +#: plugins-root/check_dhcp.c:342 #, c-format msgid "Error: if_nametoindex error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:345 +#: plugins-root/check_dhcp.c:347 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 1 error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:350 +#: plugins-root/check_dhcp.c:352 #, c-format msgid "" "Error: Couldn't get hardware address from interface %s. malloc error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:355 +#: plugins-root/check_dhcp.c:357 #, c-format msgid "Error: Couldn't get hardware address from %s. sysctl 2 error - %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:386 +#: plugins-root/check_dhcp.c:388 #, c-format msgid "" "Error: can't find unit number in interface_name (%s) - expecting TypeNumber " "eg lnc0.\n" msgstr "" -#: plugins-root/check_dhcp.c:391 plugins-root/check_dhcp.c:403 +#: plugins-root/check_dhcp.c:393 plugins-root/check_dhcp.c:405 #, c-format msgid "" "Error: can't read MAC address from DLPI streams interface for device %s unit " "%d.\n" msgstr "" -#: plugins-root/check_dhcp.c:409 +#: plugins-root/check_dhcp.c:411 #, c-format msgid "" "Error: can't get MAC address for this architecture. Use the --mac option.\n" msgstr "" -#: plugins-root/check_dhcp.c:428 +#: plugins-root/check_dhcp.c:430 #, c-format msgid "Error: Cannot determine IP address of interface %s\n" msgstr "" -#: plugins-root/check_dhcp.c:436 +#: plugins-root/check_dhcp.c:438 #, c-format msgid "Error: Cannot get interface IP address on this platform.\n" msgstr "" -#: plugins-root/check_dhcp.c:441 +#: plugins-root/check_dhcp.c:443 #, c-format msgid "Pretending to be relay client %s\n" msgstr "" -#: plugins-root/check_dhcp.c:521 +#: plugins-root/check_dhcp.c:523 #, c-format msgid "DHCPDISCOVER to %s port %d\n" msgstr "" -#: plugins-root/check_dhcp.c:573 +#: plugins-root/check_dhcp.c:575 #, c-format msgid "Result=ERROR\n" msgstr "" -#: plugins-root/check_dhcp.c:579 +#: plugins-root/check_dhcp.c:581 #, c-format msgid "Result=OK\n" msgstr "" -#: plugins-root/check_dhcp.c:589 +#: plugins-root/check_dhcp.c:591 #, c-format msgid "DHCPOFFER from IP address %s" msgstr "" -#: plugins-root/check_dhcp.c:590 +#: plugins-root/check_dhcp.c:592 #, c-format msgid " via %s\n" msgstr "" -#: plugins-root/check_dhcp.c:597 +#: plugins-root/check_dhcp.c:599 #, c-format msgid "" "DHCPOFFER XID (%u) did not match DHCPDISCOVER XID (%u) - ignoring packet\n" msgstr "" -#: plugins-root/check_dhcp.c:619 +#: plugins-root/check_dhcp.c:621 #, c-format msgid "DHCPOFFER hardware address did not match our own - ignoring packet\n" msgstr "" -#: plugins-root/check_dhcp.c:637 +#: plugins-root/check_dhcp.c:639 #, c-format msgid "Total responses seen on the wire: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:638 +#: plugins-root/check_dhcp.c:640 #, c-format msgid "Valid responses for this machine: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:653 +#: plugins-root/check_dhcp.c:655 #, c-format msgid "send_dhcp_packet result: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:686 +#: plugins-root/check_dhcp.c:688 #, c-format msgid "No (more) data received (nfound: %d)\n" msgstr "" -#: plugins-root/check_dhcp.c:699 +#: plugins-root/check_dhcp.c:701 #, c-format msgid "recvfrom() failed, " msgstr "" -#: plugins-root/check_dhcp.c:706 +#: plugins-root/check_dhcp.c:708 #, c-format msgid "receive_dhcp_packet() result: %d\n" msgstr "" -#: plugins-root/check_dhcp.c:707 +#: plugins-root/check_dhcp.c:709 #, c-format msgid "receive_dhcp_packet() source: %s\n" msgstr "" -#: plugins-root/check_dhcp.c:737 +#: plugins-root/check_dhcp.c:739 #, c-format msgid "Error: Could not create socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:747 +#: plugins-root/check_dhcp.c:749 #, c-format msgid "Error: Could not set reuse address option on DHCP socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:753 +#: plugins-root/check_dhcp.c:755 #, c-format msgid "Error: Could not set broadcast option on DHCP socket!\n" msgstr "" -#: plugins-root/check_dhcp.c:762 +#: plugins-root/check_dhcp.c:764 #, c-format msgid "" "Error: Could not bind socket to interface %s. Check your privileges...\n" msgstr "" -#: plugins-root/check_dhcp.c:773 +#: plugins-root/check_dhcp.c:775 #, c-format msgid "" "Error: Could not bind to DHCP socket (port %d)! Check your privileges...\n" msgstr "" -#: plugins-root/check_dhcp.c:807 +#: plugins-root/check_dhcp.c:809 #, c-format msgid "Requested server address: %s\n" msgstr "" -#: plugins-root/check_dhcp.c:869 +#: plugins-root/check_dhcp.c:871 #, c-format msgid "Lease Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:871 +#: plugins-root/check_dhcp.c:873 #, c-format msgid "Lease Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:873 +#: plugins-root/check_dhcp.c:875 #, c-format msgid "Renewal Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:875 +#: plugins-root/check_dhcp.c:877 #, c-format msgid "Renewal Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:877 +#: plugins-root/check_dhcp.c:879 #, c-format msgid "Rebinding Time: Infinite\n" msgstr "" -#: plugins-root/check_dhcp.c:878 +#: plugins-root/check_dhcp.c:880 #, c-format msgid "Rebinding Time: %lu seconds\n" msgstr "" -#: plugins-root/check_dhcp.c:906 +#: plugins-root/check_dhcp.c:909 #, c-format msgid "Added offer from server @ %s" msgstr "" -#: plugins-root/check_dhcp.c:907 +#: plugins-root/check_dhcp.c:910 #, c-format msgid " of IP address %s\n" msgstr "" -#: plugins-root/check_dhcp.c:974 +#: plugins-root/check_dhcp.c:977 #, c-format msgid "DHCP Server Match: Offerer=%s" msgstr "" -#: plugins-root/check_dhcp.c:975 +#: plugins-root/check_dhcp.c:978 #, c-format msgid " Requested=%s" msgstr "" -#: plugins-root/check_dhcp.c:977 +#: plugins-root/check_dhcp.c:980 #, c-format msgid " (duplicate)" msgstr "" -#: plugins-root/check_dhcp.c:978 +#: plugins-root/check_dhcp.c:981 #, c-format msgid "\n" msgstr "" -#: plugins-root/check_dhcp.c:1026 +#: plugins-root/check_dhcp.c:1040 #, c-format msgid "No DHCPOFFERs were received.\n" msgstr "" -#: plugins-root/check_dhcp.c:1030 +#: plugins-root/check_dhcp.c:1044 #, c-format msgid "Received %d DHCPOFFER(s)" msgstr "" -#: plugins-root/check_dhcp.c:1033 +#: plugins-root/check_dhcp.c:1048 +#, c-format +msgid ", Rogue DHCP Server detected! Server %s" +msgstr "" + +#: plugins-root/check_dhcp.c:1049 +#, c-format +msgid " offered %s \n" +msgstr "" + +#: plugins-root/check_dhcp.c:1054 #, c-format msgid ", %s%d of %d requested servers responded" msgstr "" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 #, c-format msgid ", requested address (%s) was %soffered" msgstr "" -#: plugins-root/check_dhcp.c:1036 +#: plugins-root/check_dhcp.c:1057 msgid "not " msgstr "" -#: plugins-root/check_dhcp.c:1038 +#: plugins-root/check_dhcp.c:1059 #, c-format msgid ", max lease time = " msgstr "" -#: plugins-root/check_dhcp.c:1040 +#: plugins-root/check_dhcp.c:1061 #, c-format msgid "Infinity" msgstr "" -#: plugins-root/check_dhcp.c:1160 +#: plugins-root/check_dhcp.c:1180 msgid "Got unexpected non-option argument" msgstr "" -#: plugins-root/check_dhcp.c:1202 +#: plugins-root/check_dhcp.c:1222 #, c-format msgid "Error: DLPI stream API failed to get MAC in check_ctrl: %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1214 +#: plugins-root/check_dhcp.c:1234 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_ctrl/putmsg(): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1227 +#: plugins-root/check_dhcp.c:1247 #, c-format msgid "Error: DLPI stream API failed to get MAC in put_both/putmsg().\n" msgstr "" -#: plugins-root/check_dhcp.c:1239 +#: plugins-root/check_dhcp.c:1259 #, c-format msgid "" "Error: DLPI stream API failed to get MAC in dl_attach_req/open(%s..): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1263 +#: plugins-root/check_dhcp.c:1283 #, c-format msgid "Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n" msgstr "" -#: plugins-root/check_dhcp.c:1342 +#: plugins-root/check_dhcp.c:1362 #, c-format msgid "Hardware address: " msgstr "" -#: plugins-root/check_dhcp.c:1358 +#: plugins-root/check_dhcp.c:1378 msgid "This plugin tests the availability of DHCP servers on a network." msgstr "" -#: plugins-root/check_dhcp.c:1370 +#: plugins-root/check_dhcp.c:1390 msgid "IP address of DHCP server that we must hear from" msgstr "" -#: plugins-root/check_dhcp.c:1372 +#: plugins-root/check_dhcp.c:1392 msgid "IP address that should be offered by at least one DHCP server" msgstr "" -#: plugins-root/check_dhcp.c:1374 +#: plugins-root/check_dhcp.c:1394 msgid "Seconds to wait for DHCPOFFER before timeout occurs" msgstr "" -#: plugins-root/check_dhcp.c:1376 +#: plugins-root/check_dhcp.c:1396 msgid "Interface to to use for listening (i.e. eth0)" msgstr "" -#: plugins-root/check_dhcp.c:1378 +#: plugins-root/check_dhcp.c:1398 msgid "MAC address to use in the DHCP request" msgstr "" -#: plugins-root/check_dhcp.c:1380 +#: plugins-root/check_dhcp.c:1400 msgid "Unicast testing: mimic a DHCP relay, requires -s" msgstr "" +#: plugins-root/check_dhcp.c:1402 +msgid "" +"Only requested DHCP server may response (rogue DHCP server detection), " +"requires -s" +msgstr "" + #: plugins-root/check_icmp.c:1572 msgid "specify a target" msgstr ""