freebsd-ports/net-mgmt/nagios-pf-plugin/files/pkg-message.in
Rong-En Fan 4810b70a24 - Mark IGNORE for FreeBSD pre-6.1: requires strtonum(3)
- Add backup master site
- Remove MASTER_SITES from SUB_LIST which does not work properly
  and is not right when there is more than one master sites

PR:		ports/110457
Submitted by:	Kian Mohageri <kian.mohageri at gmail.com> (maintainer)
2007-03-18 13:27:07 +00:00

21 lines
559 B
Text

check_pf has been installed to %%PREFIX%%/%%NAGIOS_PLUGIN_DIR%%.
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.
http://www.zampanosbits.com/check_pf/