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
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check pf.conf sync

Rating
0 votes
Favoured:
0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.