Nagios Plugins

Tools to manage your network resources

Nagios Plugins Header

Servers sometimes fail, often caused by preventable errors such as capacity exhaustion. These tools work with a network monitoring system called nagios to let you know when your servers resources are approaching exhausted so you can fix things before they crash and cause downtime for you and your customers.

check_apache

This module polls an Apache HTTPD server for status information through mod_status, parses for the requested value, compares that value against warning and critical levels, and responds with a status string and appropriate exit status. It script handles basic authentication (.htaccess / .htpasswd), SSL encryption, and redirection to extract a wide variety of values.

This has been tested with Apache/2.2.10 (Unix) and should work with any HTTPD 2.x running mod_status.

This module and its documentation is available on github:
http://github.com/linenoise/check_apache/

check_freebsd_memory

This module polls a FreeBSD server for memory information through sysctl(8). This plugin reports on the a variety of memory measurements and has been tested with FreeBSD 7.1.

This module and its documentation is available on github:
http://github.com/linenoise/check_freebsd_memory/

check_freebsd_processes

This module monitors the FreeBSD process table for matching threads, optionally filtering by thread state. This plugin is designed to be run through NRPE on remote machines rather than being spawned by the central Nagios monitoring process. This pulls a process list through ps(1), and optionally matches the subset of those processes based on command name or execution state (wait, idle, swapped, etc).

This has been tested with FreeBSD 7.2, but should work with any version of FreeBSD with compatible ps(1) output formatting.

This module and its documentation is available on github:
http://github.com/linenoise/check_freebsd_processes/

check_freebsd_network

This module polls and reports on FreeBSD network statistics. It pulls network status information from netstat(1). This plugin reports on 322 different network statistics.

This module and its documentation is available on github:
http://github.com/linenoise/check_freebsd_network/

check_freebsd_open_files

This module pulls FreeBSD status on open files, querying based on file descriptor, mode, mount, process, and user. It allows queries based on file descriptor, mode, mount, process, and user.

This module and its documentation is available on github:
http://github.com/linenoise/check_freebsd_open_files/

check_freebsd_swap

This module reports on FreeBSD aggregate swap file usage. It polls for swap file information through pstat(8). This plugin reports on available_swap_blocks, swap_usage, total_swap_blocks, and used_swap_blocks. This has been tested with FreeBSD 7.1.

This module and its documentation is available on github:
http://github.com/linenoise/check_freebsd_swap/