Monitor taskserver (taskd) using Nagios.
Project description
Install this package using pip:
pip install nagios-taskserver-plugin
or from a clone of this repository using pip:
pip install .
or from a clone of this repository using setup.py:
python setup.py install
Copy plugin/taskserver.cfg and plugin/restart_taskserver.cfg into your nagios plugin path. On Ubuntu 12.04 this will be /etc/nagios-plugins/config.
Add a new service definition to your nagios services configuration (e.g. /etc/nagios3/conf.d/services_nagios2.conf); for example:
# check that taskserver is running define service { hostgroup_name taskservers service_description Taskserver check_command check_taskserver!/path/to/taskrc use generic-service notification_interval 0 event_handler restart_taskserver!sudo service taskd restart }
Add a hostgroup matching the hostgroup name above to your hostgroup configuration (e.g. /etc/nagios3/conf.d/hostgroups_nagios2.conf):
define hostgroup { hostgroup_name taskservers alias Taskd Servers members your_hostname }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for nagios-taskserver-plugin-0.5.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44afdd0d61f8fc0a0086c00c5025026e6b9580babeef137a1abf9a7a2de4c775 |
|
MD5 | b004ae6dc3e05b6a40ab4c74bc6857f4 |
|
BLAKE2b-256 | ab286fb41de54b235e2a9ca5ab09093682852e85a8f0ef4f4f9e1aa5462af560 |