From ee6d13bfdf7899b3550e6d173e4775e9a56e6f2d Mon Sep 17 00:00:00 2001 From: TheNetworkGuy Date: Sat, 14 Jun 2025 20:17:57 +0000 Subject: [PATCH] Fixed line too long and updated readme --- README.md | 4 ++-- modules/device.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 64e52ee..65cdf02 100644 --- a/README.md +++ b/README.md @@ -518,8 +518,8 @@ usermacro_sync = "full" This will force a full usermacro sync on every run on hosts that have secret usermacros set. That way, you will know for sure the secret values are always up to date. -Keep in mind that NetBox (and the log output of this script) will show your secrets -in plain text. If true secrecy is required, consider switching to +Keep in mind that NetBox will show your secrets in plain text. +If true secrecy is required, consider switching to [vault](https://www.zabbix.com/documentation/current/en/manual/config/macros/secret_macros#vault-secret) usermacros. diff --git a/modules/device.py b/modules/device.py index 95f9d4f..fd7ff59 100644 --- a/modules/device.py +++ b/modules/device.py @@ -854,7 +854,8 @@ class PhysicalDevice: try: # API call to Zabbix self.zabbix.hostinterface.update(updates) - e = f"Host {self.name}: updated interface with data {sanatize_log_output(updates)}." + e = (f"Host {self.name}: updated interface " + f"with data {sanatize_log_output(updates)}.") self.logger.info(e) self.create_journal_entry("info", e) except APIRequestError as e: