Actions
Feature #7895
closedAdd a script for CARP monitoring to NRPE
Start date:
09/27/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Description
I have deployed several CARP clusters at work, but I realized there is no real good way to monitor CARP status :
- SNMP does not provide MIBs for checking on CARP, and IF-MIB do not provide enough information to infer whether an interface is "MASTER but should be BACKUP" or the opposite.
- Default NRPE plugins do not provide any good information
ifconfig
is the only reliable source of information
Therefore, I decided to use NRPEv2 and to create a custom script to check the NIC CARP status.
I don't mind contributing it to pfSense, but I was not sure how to integrate it in the new package repository.
I wanted first to make a system patch that would create the file in /usr/local/libexec/nagios, but the patching system is not appropriate for "adding new files", since it will view the diff as always both applicable/removable.
Files
Actions