Skip to main content

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/.

Release files for eidanagios 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eidanagios 0.2
File Size Uploaded
eidanagios-0.2.tar.gz 21.4 kB Details

Release files / eidanagios-0.2.tar.gz

Download URL eidanagios-0.2.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
82798e508e3425b205d2ca280ac38401a5e58024cdeb3fa4b69f0570e34782c7
BLAKE2b-256 checksum
How to use checksums
4a6515d01240bffe49aef6cda4c28fa02052fc50927fe68f8b8b02a22b83e753
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page