REF=9b0cdcd7cf19ab12afe54cafdbe0afaad8999c3b45d9c6024823864091cdd205 # errors 1000=Error: Notification is required. The switch is currently set to %s, but there is no bot token or chat ID. 1001=Please edit the Telegram fields with %s mod under configuration changes. 1002=Error: A notification is required. The switch is currently set to %s, but no email address is stored. 1003=Please enter an email address under configuration changes using %s mod. 1010=Program not installed. Please run %s install first. 1020=No devices added. Please add devices first using "%s add". # update section 1100=Apply update changes: ipfail -> jail 1101=Apply update changes Config ID format -> ID G000/Dnnn 1102=Apply update changes: [Geräte/Dienste] -> [Dev/Srv] # NOTE: The section headers in brackets [] are legacy identifiers from the configuration file. Translating them has no functional impact, but they are kept for correctness. # direct execution 1200=Usage: script requires arguments 1201=• "%s install" - install and initialize configuration 1202=• "%s update" - update faultnotify 1203=• "%s test" - run device tests (single or continuous) 1204=• "%s add" - add devices 1205=• "%s mod" - modify configuration and devices 1206=• "%s on" - One-time test run of devices and services 1207=• "%s off" - Activate continuous loop (especially with systemd-run) 1208=Initial setup: 1209=• "%s stop" - Disable continuous loop ### functions ### # package_check 1300=OK: %s is installed. 1301=MISSING: %s # show_master_menu 1310=Error: Config is missing: %s 1311=Device List # draw_hierarchy 1320=Error: Can't find Config: %s 1321=[Faultnotify Hierarchy] 1322=ROOT 1323=Note: The following entries reference a non-existent master device: 1324=This can be corrected using %s mod. ########## ##### INSTALL ##### 1400=Faultnotify, the fault notification service is now being installed. 1401=The setup process will now begin. 1402=This installation is guided. Devices to be monitored can be added. 1403=This script requires several packages. The following check determines which ones are required and already installed. 1404=If any packages are missing, they must be installed manually and at your own responsibility. 1405=The following programs/packages are missing and must be installed: 1406=All required programs/packages are installed. 1407=In addition, ensure that the server is able to send emails if email notifications are used. 1408=Continue ... 1409=How should notifications be sent? 1410=Email ( 1 ) or Telegram ( 2 ): 1411=Please do not leave this empty. Aborting. 1412=Faultnotify is already installed. To reinstall, remove '%s'. # install section: email 1420=Okay Email. 1421=Please enter recipient email address. Separate multiple addresses with commas, for example a@b.com,c@d.net 1422=Address(es): 1423=Can the server send emails? 1424=A verification code will be sent for confirmation. 1425=If this fails, the installation will continue normally and responsibility lies with the user. 1426=The email will be sent to the specified address(es). # email verification: email text and send 1427=Faultnotify - Verification Code # NOTE: Subject 1428=Verification code: %s # NOTE: Text Message/Body 1429=Email verification code (leave empty to skip): 1430=Verification completed successfully. 1431=Verification failed or was skipped. 1432=Installation will continue anyway. Email settings can be corrected later, mail delivery prepared, or Telegram configured without repeating verification. The configuration file is located at 1433=Mail setup is entirely the user's responsibility. 1434=Email address(es) %s registered. # install section: telegram 1440=Okay Telegram. 1441=Please enter the Telegram bot token (Bot:Token): 1442=Please enter the Telegram chat ID: 1443=Can a message be sent using the provided bot token and chat ID? 1444=A verification code will be sent for confirmation. 1445=If this fails the installation will continue normally. Responsibility lies with the user. 1446=Faultnotify Verification Code: %s 1447=Telegram verification code (leave empty to abort): 1448=Installation will continue anyway. Telegram settings can be corrected later or switched to email without repeating verification. The configuration file is located at %s. 1449=Verification failed or was skipped. 1450=Installation will continue anyway. Telegram settings can be corrected later or switched to email without repeating verification. The configuration file is located at %s. 1451=Telegram registered. # error if doesnt match with 1 or 2 1460=Error Only 1 or 2 are allowed. # finish 1470=Initial setup completed. Devices can be added at any time using %s add. ##### ADD ##### 2000=Adding devices to be monitored in Faultnotify, the fault notification service 2001=Please enter the name of the new device or service for ID %s (leave empty to finish): 2002=Device add section finished. 2003=Note: Critical characters have been replaced. 2004=| > Please enter the IP address or domain of the device or service %s: 2005=Invalid IP address or domain. Please try again. 2006=| >> Is this a service? If yes, which port should be monitored? Leave empty for no: 2007=Invalid port. Please try again. 2008=| >>> Is this the UDP protocol? Enter "yes", "u", or "udp". Leave empty for normal TCP: 2009=Invalid input. Please try again. 2010=The device list for selecting a dependency would appear here, but currently no entries exist. 2011=| >>>> Dependent on device? Or leave empty for no group: 2012=Invalid: master ID %s does not exist in %s 2013=Device/service %s is now dependent on %s 2014=Invalid master ID. Allowed: empty or 1..999 2015=Note: The name and port of the device have already been retained, as 'modify' was chosen. ##### MOD ##### 3000=Modification Section 3001=What is to change? 3002=Devices/Services (1) or Configuration File (2): 3003=Selection: # A1 DEV/SRV 3100=What should be changed? 3101=Input can be the ID (D006 or 006), the name as a search term (Icecast), or the full IP address (172.16.10.135). 3102=Input: 3103=Invalid ID. Allowed: 1..999 3104=No entry found for D%s 3105=Ambiguous: Multiple entries found for D%s 3106=The following line is affected: %s 3107=What should be done? 3108=1 - Modify entry - Name and IP will be retained 3109=2 - Delete entry without replacement 3110=Selection: 3111=Device/service deleted and re-added. 3112=Device/service deleted. 3113=No valid selection. 3114=Error: Could not read name/IP from the config line. 3115=Name and IP will be retained. If the device is to be fundamentally changed, please choose 'delete without replacement.' 3116=Error: Could not find an entry. #A2 CONF 3200=The following settings are configured: 3201=(1) Online - Ping check: %s 3202= > This entry determines whether the server itself is online. 3203=(2) Notification via: %s 3204= > Email or Telegram possible. 3205=(3) Email address: %s 3206= > If Email is set, this entry is used as the recipient address. 3207= If Email is not set, this field may remain empty. 3208=(4) Telegram bot token: %s 3209= > If Telegram is set: Telegram bot and token are required for Telegram delivery (via API). 3210= If Telegram is not set, this field may remain empty. 3211=(5) Telegram chat ID: %s 3212= > If Telegram is set: Recipient chat. Chat or group possible. 3213=(6) Next device ID: %s 3214= > Next device/service ID. 3215= This parameter is automatically maintained by the script during normal operation. 3216= Manual changes are only useful in deliberate cases, e.g. after tests. 3217= Deviations, especially duplicate assignments, may affect the consistency of device checks. 3218=What should be changed? 3219=Selection: 3900=(not set) # A2 CONF SIMILARITY TEXTS 3220=Entered: %s 3221=Apply? > ENTER 3222=Error: Value could not be changed. 3223=OK # NOTE: OK when changes are confirmed 3224=OK? # NOTE: OK? when user confirmation is required before deletion # A2 CONF 1 3230=Current value: %s 3231=Error: Invalid input. Allowed are domain names (e.g. example.com) or IPv4 addresses. # A2 CONF 2 3240=Current notification: %s 3241=Select new notification: Email (1) or Telegram (2): 3242=No valid selection. # A2 CONF 3 3250=Current email address(es): %s 3251=Multiple addresses must be separated by commas. 3252=New address(es): 3253=Note: Nothing entered. Should the email address be removed from the config? 3254=Error: At least one address is invalid. 3255=Allowed: aa@bb.tld or aa@bb.tld,bb@aa.tld (spaces are removed). 3256=Error: Duplicate email address(es) detected. Please specify each address only once. # A2 CONF 4 3260=Current Telegram bot token: %s 3261=Note: New entries are not validated in this case. 3262=Note: Nothing entered. Should the Telegram bot token be removed from the config? 3263=Error: Invalid format. 3264=Expected format: VALUE:VALUE (e.g. 123456:ABCDEF). # A2 CONF 5 3270=Current Telegram chat ID: %s 3271=Note: New entries are not validated in this case. 3272=New chat ID: 3273=Note: Nothing entered. Should the Telegram chat ID be removed from the config? # A2 CONF 6 3280=Current value: %s 3281=Note: This parameter is automatically maintained by the script during normal operation. 3282=Manual changes are only useful in deliberate cases, e.g. after tests. 3283=Deviations, especially duplicate assignments, may affect the consistency of device checks. 3284=New value: 3285=Error: The ID must not be empty. 3286=Error: The ID must be an integer. 3287=Error: The ID must be at least 1. 3288=Error: The ID must not exceed 999. ##### TEST ##### 4000=Test run: Devices and services are being tested. 4001=Automatic switch: "%s on" to enable automatic mode, "%s off\ 4002=When automatic mode is enabled, the test runs until it is disabled. 4003=Test section - device checks - fault notification via %s on failure. 4004=ERROR Invalid group ID %s 4005=ERROR Invalid device ID D%s 4006=↷ SKIP: %s (%s) dependency chain not valid 4007=- Restarting checks - waiting 5 seconds... 4008=> Sending email... 4009=Automatic mode enabled. 4010=Automatic mode disabled. 4012=Note: Continuous operation runs in the foreground and blocks this terminal. 4013=Recommendation: Set up Faultnotify as a system service so it can run permanently in the background. 4014=To stop: %s stop (in a second terminal) or press CTRL+C. 4015=Automation is not running. No changes were made. 4016=Done. 4020=↷ Internet connection disrupted (%s). Waiting for host to become reachable... 4021=✓ Internet connection returned to OK 4022=Sending %s (Internet connection returned to OK)... # TEST PING (DEVICES) 4100=✓ ONLINE: Device %s (%s) is online. 4101=Round 2: Device %s (%s) 4102=✓! ONLINE: Device %s (%s) is online. 4103=✘ FAILURE / OUTAGE: Device %s (%s) is no longer reachable. 4104=✓ BACK ONLINE: Device %s (%s) reachable again. 4105=✓! BACK ONLINE: Device %s (%s) reachable again. 4106=✘ OFFLINE: Device %s (%s) is still offline. # TEST NETCAT (SERVICES) UDP 4200=✓ ONLINE: Service %s (%s:%s/udp) is online. 4201=✓! ONLINE: Service %s (%s:%s/udp) is online. 4202=✘ FAILURE / OUTAGE: Service %s (%s:%s/udp) is no longer reachable. 4203=✓ BACK ONLINE: Service %s (%s:%s/udp) reachable again. 4204=✓ BACK ONLINE: Service %s (%s:%s/udp) is back online. 4205=✘ OFFLINE: Service %s (%s:%s/udp) is still offline. # TEST NETCAT (SERVICES) TCP 4210=✓ ONLINE: Service %s (%s:%s) is online. 4211=✓! ONLINE: Service %s (%s:%s) is online. 4212=✘ FAILURE / OUTAGE: Service %s (%s:%s) is no longer reachable. 4213=✓ BACK ONLINE: Service %s (%s:%s) reachable again. 4214=✘ OFFLINE: Service %s (%s:%s) is still offline. # NOTIFICATIONS 4300=✘ FAILURE / OUTAGE: Device %s (%s) is no longer reachable. 4301=✓ BACK ONLINE: Device %s (%s) is back online. 4302=✘ FAILURE / OUTAGE: Service %s (%s:%s/udp) is no longer reachable. 4303=✓ BACK ONLINE: Service %s (%s:%s) is back online. 4304=✓! ONLINE AGAIN: Device %s (%s) is online again. 4305=✘ FAILURE / OUTAGE: Service %s (%s:%s) is no longer reachable. 4306=✓ BACK ONLINE: Service %s (%s:%s/udp) is back online. 4307=Faultnotify - Summary 4308=Internet outage (reference %s), start: %s 4309=Internet connection returned to OK (%s) 4310=Faultnotify - Internet outage