Nagios Probes for STS

Installation

Prerequisites

  • Python 2.4 or newer (not Python 3000)
  • Host certificate & IGTF-bundle
  • Nagios server

Where to install

This set of probes needs to be installed on the Nagios server only. On the client side (where the STS service actually run), no action is required.

Install instructions

There is a rpm called nagios-plugins-sts available. It can be installed as follows:
yum install nagios-plugins-sts
This installs the plugins into the /usr/libexec/grid-monitoring/probes/ directory. It is up to the user to bind them into the local Nagios environment.

Usage

There are 2 different probes available that are described in the following subsections.

nagios-plugins-sts.status

This probe checks if the service is available. This is done by a call to https://`hostname`:'port'/sts/status, if there is a valid response the service is considered up and running.

Options

CLI shortcut Description
--hostname=HOSTNAME The hostname of the service
--cert=CERT The SSL client certificate
--key=KEY The private key (the key must be unencrypted)
--capath=CAPATH The directory where trust anchors are stored on the system
--help show this help message and exit
--port=PORT The port of the service
--url=URL The status endpoint URL of the service. Example: https://hostname:port/sts/status
--version show program's version number and exit
--timeout=TIMEOUT The TCP timeout for the HTTPS connection in seconds
--verbose verbose mode

nagios-plugins-sts.memory

The response of the call executed by the status probe is parsed. The value for the current memory consumption is read out and displayed in the Status information field of the Nagios control panel and written into the Performance Data tab of Nagios. Hence it can be displayed as a graph over time by Nagios add-ons, e.g. pnp.

Options

CLI shortcut Description Default
--hostname=HOSTNAME The hostname of the service  
--warning=MEM_WARN Memory usage warning threshold in MB 224.0
--critical=MEM_CRIT Memory usage critical threshold in MB 256.0
--cert=CERT The SSL client certificate /etc/grid-security/hostcert.pem
--key=KEY The private key (the key must be unencrypted) /etc/grid-security/hostkey.pem
--capath=CAPATH The directory where trust anchors are stored on the system /etc/grid-security/certificates
--help show this help message and exit  
--port=PORT The port of the service  
--url=URL The status endpoint URL of the service. Example: https://hostname:port/sts/status  
--version show program's version number and exit  
--timeout=TIMEOUT The TCP timeout for the HTTPS connection in seconds  
--verbose verbose mode  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2013-02-27 - HenriMikkonen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback