freebsd-ports/net-mgmt/nagios-pf-plugin/files/pkg-message.in
John Marino f466006dd0 Resurrect net-mgmt/nagios-pf-plugin
This port was removed due to lack of public distfiles.  A new source
has been found at GitHub, and the submitter becomes its new maintainer.

PR:		188325
Submitted by:	rand (iteris.com)
Minor tweaks:	marino
2014-06-11 09:07:56 +00:00

21 lines
556 B
Text

check_pf has been installed to %%PREFIX%%/libexec/nagios.
check_pf needs read permission to the pf(4) pseudo-device, i.e. /dev/pf.
Assuming check_pf will be run by user `nagios', the following will work:
# chmod 640 /dev/pf
# chgrp nagios /dev/pf
To make sure the change persists across reboots, add the following
to /etc/devfs.conf:
# nrpe2/nagios needs to be able to read statistics
own pf root:nagios
perm pf 0640
Please refer to the online documentation for additional information.
https://github.com/kian/nagios-pf-plugin/