BSD Ports

net-mgmt/nagios-pf-plugin 0.1_2 DragonFly

Nagios plugin for checking PF

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net-mgmt
Package size
3.8 KiB, 8.0 KiB installed

Description

check_pf is a plugin intended for use with the Nagios network monitoring system. This plugin checks the status of PF, the OpenBSD packet filter, and compares the current state count to given or default thresholds, returning the result. It is written in C.

In the other systems

The newest version among them is 0.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlynet-mgmt/nagios-pf-plugin0.1_2 newestnone known-[email protected]-
FreeBSDnet-mgmt/nagios-pf-plugin0.1_4 newestnone known-[email protected]2026-09-16
HardenedBSDnet-mgmt/nagios-pf-plugin0.1_4 newestno data-[email protected]-
GhostBSDnet-mgmt/nagios-pf-plugin0.1_4 newestno data-[email protected]-

Install

Binary package:

pkg install nagios-pf-plugin

From DPorts:

cd /usr/dports/net-mgmt/nagios-pf-plugin && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

check_pf has been installed to /usr/local/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/