Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree

Check pf.conf sync

0 votes
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This check verifies that pf.conf is in sync between two different sources.
This check is particularly useful when managing a pair of redundant appliances which run pf to provide IP routing and/or filtering.

The check takes two arguments: the addresses of each appliance. It then attempts to transfer the pf.conf (logging in as the netadmin user) to the local machine's /tmp and perform a diff (using pecl-xdiff) before finally returning the status to Nagios. The netadmin user should use passwordless ssh login, or the password may be set in the user's .netc.