This release is a pre-release and may not be stable for production use.
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 }
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nagios-taskserver-plugin-0.4.0.a3.tar.gz.
File metadata
- Download URL: nagios-taskserver-plugin-0.4.0.a3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77c75b9143ae91ce8b29fa1429d7fed6737884fe5c74096fe478000f3b2d47c7
|
|
| MD5 |
bd137871dd958517c831688c1fd2ddab
|
|
| BLAKE2b-256 |
c653e68827f49fd14c4e3e0967adfdf28370a1780c9db1fa3a6eced92fc3ceb3
|