General Documentation

Functional Description

EMI Nagios metapackage is a package providing through its dependencies the whole collection of EMI's products nagios probes

Software Requirement Specification

The Nagios probe specification can be found at http://nagios.sourceforge.net/docs/nagioscore/3/en/pluginapi.html


Programming Languages
Probes can be developed in any of these languages:

  • Python (2.4)
  • Perl (5.8) - in case of Perl usage of module Nagios::Plugin is highly recommended.
  • C
  • shell scripting (Bash, Bourne)

Nagios Conditions

  • Each probe must provide the following arguments:
      -h help (--help)
      -t timeout (--timeout)

  • The following arguments should be used if applicable:
      -H hostname (--hostname)
      -p port (--port)
      -u url (--url)
      -v verbose (--verbose)
      -w warning threshold (--warning)
      -c critical threshold (--critical)

  • Limit for a Nagios Test/Plugin output: Maximum output size is 16KB. Above that limit the output will be truncated.

More details on EGI Nagios Probes Development - https://tomtools.cern.ch/confluence/display/SAMDOC/Probes+Development

System Administrator Documentation

System Administrator Guide

Installation and configuration

Repositories needed for the installation of emi-nagios metapackage together with all EMI products nagios plugins

# yum install emi-nagios

will install all avalable EMI nagios probes:

  • emi-cream-nagios
  • emi-lb-nagios-plugins
  • emi-wms-nagios
  • nagios-plugins-argus
  • nagios-plugins-bdii
  • nagios-plugins-dpm-disk
  • nagios-plugins-dpm-head
  • nagios-plugins-ees
  • nagios-plugins-fts
  • nagios-plugins-glexec
  • nagios-lcgdm
  • nagios-plugins-lcgdm
  • nagios-plugins-lcgdm-common
  • nagios-plugins-lfc
  • nagios-plugins-voms
  • nordugrid-arc-nagios-plugins
  • unicore-nagios-plugins
Other emi-nagios dependencies:
  • glite-yaim-core
  • glite-yaim-clients
  • fetch-crl

The following probe:

  • nagios-plugins-emi.glexec
is part of gLExec-wn, the emi-glexec-wn metapackage, and is installed directly on the WN.

Changes planned for EMI 3:

  • nagios-plugins-emi.glexec and nagios-plugins-emi.ees will be RENAMED in nagios-plugins-glexec and nagios-plugins-ees, and will be installed in %{_libdir}/nagios/plugins/, i.e. /usr/lib64/nagion/plugins/ for RPM, location used by Fedora, and in /usr/lib/nagios/plugins for Debian.

Configuration & Usage of individual services nagios probes

For the configuration of the environment of the EMI-NAGIOS:

# /opt/glite/yaim/bin/yaim -d 6 -c -s site-info.def -n NAGIOS

with a very basic site-info.def, for ex:

# cat site-info.def
# Site-wide settings
SITE_DESC="EMI Integration Testbed site INFN-CNAF"
SITE_LOC="Bologna, Italy"
VOS="testers.eu-emi.eu testers2.eu-emi.eu cms dteam infngrid" 

For the configuration of the probes - please have a look at the individual EMI products nagios probes documentation

Service Reference Card

Direct link to this twiki: - https://twiki.cern.ch/twiki/bin/view/EMI/EMINagios

-- DoinaCristinaAiftimiei - 10-May-2012

Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf EMINagios_v_1_0_0_1.pdf r1 manage 68.0 K 2012-05-14 - 21:45 DoinaCristinaAiftimiei EMI Nagios documentation
PDFpdf EMINagios_v_3_0_0-1.pdf r1 manage 74.5 K 2013-03-05 - 08:50 DoinaCristinaAiftimiei  
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r13 - 2013-03-05 - DoinaCristinaAiftimiei
    • 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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback