Skip to main content

Monitor taskserver (taskd) using Nagios.

Project description

  1. 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
  2. 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.

  3. 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
    }
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nagios-taskserver-plugin-0.4.0.a1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file nagios-taskserver-plugin-0.4.0.a1.tar.gz.

File metadata

File hashes

Hashes for nagios-taskserver-plugin-0.4.0.a1.tar.gz
Algorithm Hash digest
SHA256 47c7bdd91c49bd33afff25a400a97991cb6b666bc22d3c21e7d04e8183e9b51c
MD5 ad4a99f750f5dc897c53bb4541405b06
BLAKE2b-256 9b41decece59cfa53c625af71eee2a28a4c8b6d3a6c1b0f1a066571aed01d0b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page