Skip to main content

eidanagios: Nagios plugins and test code for EIDA services

Project description

Nagios plugins and test code for EIDA services

Scripts to check EIDA service from a Nagios system or from the command line.

Overview

This package provides the needed tools to check if different EIDA services are working properly. It follows the standard specification to develop Nagios plugins, but can also be used from the command line as a regular executable.

check_EIDA_auth

This utility lets you check an EIDA auth endpoint by presenting a token and trying to authenticate.

A typical help message from check_EIDA_auth looks like the following:

$ check_EIDA_auth -h
usage: check_EIDA_auth [-h] [-H HOSTNAME | -u URL] [-t TIMEOUT]
                       [-a AUTHENTICATION] [-V] [-v]

Nagios plugin to check an EIDA auth endpoint. If no arguments are passed all
EIDA nodes are tested.

optional arguments:
  -h, --help            show this help message and exit
  -H HOSTNAME, --hostname HOSTNAME
                        Hostname providing the "auth" method at the default
                        location. Valid values are domain names (e.g.
                        geofon.gfz-potsdam.de) or the data centre ID (BGR,
                        ETH, GFZ, INGV, KOERI, LMU, NIEP, NOA, ODC, RESIF,
                        UIB)
  -u URL, --url URL     URL pointing to the "auth" method to check. Use with
                        non-standard locations
  -t TIMEOUT, --timeout TIMEOUT
                        Number of seconds to be used as a timeout for the HTTP
                        calls.
  -a AUTHENTICATION, --authentication AUTHENTICATION
                        File containing the token to use during the
                        authentication process
  -V, --version         Show version information.
  -v, --verbose

check_EIDA_alparray

This utility lets you check that the Alparray data is available from an EIDA node.

A typical help message from check_EIDA_alparray looks like the following:

$ check_EIDA_alparray -h    
usage: check_EIDA_alparray [-h] [-H HOSTNAME] [-t TIMEOUT] [-a AUTHENTICATION]
                           [-V] [-v]

Nagios plugin to check if Alparray data is accessible from endpoints If no
arguments are passed all EIDA nodes are tested.

optional arguments:
  -h, --help            show this help message and exit
  -H HOSTNAME, --hostname HOSTNAME
                        Hostname providing the "auth" and "queryauth" method
                        at the default location. Valid values are domain names
                        (e.g. geofon.gfz-potsdam.de) or the data centre ID
                        (ETH, GFZ, INGV, LMU, ODC, RESIF)
  -t TIMEOUT, --timeout TIMEOUT
                        Number of seconds to be used as a timeout for the HTTP
                        calls.
  -a AUTHENTICATION, --authentication AUTHENTICATION
                        File containing the token to use during the
                        authentication process
  -V, --version         Show version information.
  -v, --verbose         If this option is enabled more lines with details will
                        follow the expected one-line message

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

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

eidanagios-0.1.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file eidanagios-0.1.tar.gz.

File metadata

  • Download URL: eidanagios-0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.0

File hashes

Hashes for eidanagios-0.1.tar.gz
Algorithm Hash digest
SHA256 24cc19a62e0314ba22b0569a767e6fa9bd08f96c51a60a224bd7267a376e9abf
MD5 65d041c0f5e858200217993e1dd5a1cf
BLAKE2b-256 0df67d93fffafbae81ece1705f55506cdc452ed58651e94360cc0945cc6842a1

See more details on using hashes here.

Supported by

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