[Bug 255427] net-mgmt/librenms: Install a newsyslog config file to rotate Librenms logs.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 26 16:37:16 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255427

            Bug ID: 255427
           Summary: net-mgmt/librenms: Install a newsyslog config file to
                    rotate Librenms logs.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dvl at FreeBSD.org
          Reporter: james at french.id.au
             Flags: maintainer-feedback?(dvl at FreeBSD.org)
          Assignee: dvl at FreeBSD.org

Created attachment 224451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224451&action=edit
Add a newsyslog config

The librenms port does not currently supply a newsyslog config file. The out of
the box configuration for a distributed poller is quite chatty to the log file
- one of my hosts had a multiple gigabyte log file.

Attached is a patch to include a newsyslog config for log rotation, configured
to be installed as a sample to avoid overwriting user edits (eg, to disable
compression if using ZFS). The reference file gets installed in the contrib
folder in the librenms install. It may be better under
/usr/local/share/librenms, which currently doesn't exist.

Poudriere log to follow.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list