467e569d02
re: https://github.com/librenms/librenms/releases/tag/22.2.1 This port update skips over several releases. See: https://github.com/librenms/librenms/releases See UPDATING for details on storage directory which needs to move to /var/db/librenms LiberNMS wants to write to the %%WWWDIR%%/storage directory. To comply with man 7 hier, this entry is now a symlink to /var/db/librenms/storage Please adjust your filesystem accordingly. The contrib directory has been removed from the upstream tarball. As such, the port now installs the log rotation file to /${PREFIX}/etc/newsyslog.conf.d/librenms.conf.sample PR: 260085 261031
12 lines
477 B
Python
12 lines
477 B
Python
--- poller-wrapper.py.orig 2022-01-26 18:26:32 UTC
|
|
+++ poller-wrapper.py
|
|
@@ -40,6 +40,9 @@ if not config:
|
|
logger = logging.getLogger(__name__)
|
|
logger.critical("Could not run {} wrapper. Missing config".format(WRAPPER_TYPE))
|
|
sys.exit(1)
|
|
+
|
|
+os.environ['PATH'] += ':%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin'
|
|
+
|
|
log_dir = config["log_dir"]
|
|
log_file = os.path.join(log_dir, WRAPPER_TYPE + "_wrapper.log")
|
|
logger = LibreNMS.logger_get_logger(log_file, debug=args.debug)
|