BSD Ports

net-mgmt/nagios-pf-plugin 0.1_4 FreeBSD

Nagios plugin for checking PF

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9eddf7dd87
Categories
net-mgmt
Package size
3.9 KiB, 7.2 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

SystemPortVersion
FreeBSDnet-mgmt/nagios-pf-plugin0.1_4
DragonFlynet-mgmt/nagios-pf-plugin0.1_2
HardenedBSDnet-mgmt/nagios-pf-plugin0.1_4
GhostBSDnet-mgmt/nagios-pf-plugin0.1_4

Install

Binary package:

pkg install nagios-pf-plugin

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nagios-pf-plugin>0:net-mgmt/nagios-pf-plugin

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1_40.1_40.1_20.1_20.1_4
FreeBSD:14:quarterly0.1_40.1_4n/a0.1_20.1_4
FreeBSD:15:latest0.1_40.1_4n/a--
FreeBSD:15:quarterly0.1_40.1_4n/an/an/a
FreeBSD:16:latest0.1_40.1_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

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/

Files

distinfo 1
FileSizeSHA256
kian-nagios-pf-plugin-0.1-2aba423_GH0.tar.gz3142bc7e115024dc4684f895a3afba236d9b69d7e3f5695ce83fdcaddad5c3526703

Commit history 1

DateCommitCreditsLog message
9eddf7dd87 Oleksandr Kryvulia net-mgmt/nagios-pf-plugin: fix build on FreeBSD 15+
PR: 294009 Approved by: maintainer timeout (never replied) MFH: 2026Q3