check_carp is a plugin intended for use with the Nagios network monitoring system. This plugin checks the status of a carp(4) device. It is written in C.
CARP OK - state MASTER (vhid 1 advbase 1 advskew 10)
#check_carp -hcheck_carp 0.1 This plugin checks what state a given CARP interface is in. If an expected state is given and the current state doesn't match it, the plugin returns CRITICAL. If no expected state is given, the plugin returns OK. If there is a problem retrieving the information, the plugin returns UNKNOWN. Usage: check_carp [-hV] [-e state] interface -h - Print the full plugin help -V - Print the plugin version -e state - Critical when state is not this
You can manually specify the location to install the plugin:#tar xzf check_carp-XX.tar.gz#cd check_carp-XX#make && make install
You can remove it as follows:#make install DESTDIR=/path/to/plugins/
#make uninstall DESTDIR=/path/to/plugins/