check_iax nagios plugin
About check_iax
Nagios plugin check_iax allows system administrators to monitor IAX/IAX2
devices and servers.
System requirements
Unix system with gcc/make installed. Tested on Linux and FreeBSD, but should
work on any POSIX system.
How it works
Plugin check_iax sends IAX POKE request to the remote server and wait for IAX PONG
reply. Then it sends IAX ACK packet back to remote.
Download
check_iax-1.0.0.tar.gz - source code.
Installation
To compile the program run `make` in check_iax directory. After
compilation, copy check_iax to the nagios plugins directory
(e.g. /usr/local/libexec/nagios/plugins).
Configuration
Add check_iax command to your nagios commands file
# 'check_iax' command definition, 100ms WARNING, 500ms CRITICAL
define command{
command_name check_iax
command_line $USER1$/check_iax -H $HOSTADDRESS$ -w 100 -c 500
}
Then just use check_iax command in your service definition.
Any feedback is appreciated. Author's email: samm [at] os2.kiev.ua.
© Alex Samorukov