https://github.com/gluster/nagios-server-addons
Plugins and configuration helpers for gluster monitoring installed on nagios server (to work with gluster-nagios-addons plugins)
https://github.com/gluster/nagios-server-addons
Last synced: about 1 year ago
JSON representation
Plugins and configuration helpers for gluster monitoring installed on nagios server (to work with gluster-nagios-addons plugins)
- Host: GitHub
- URL: https://github.com/gluster/nagios-server-addons
- Owner: gluster
- License: gpl-2.0
- Created: 2016-02-09T12:50:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-09T12:51:09.000Z (over 10 years ago)
- Last Synced: 2025-03-29T18:44:05.736Z (about 1 year ago)
- Language: Python
- Size: 190 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
Gluster Nagios Add-ons:
=======================
Nagios server plugin, scripts, configuration files etc for gluster services.
Installation
============
The Nagios Server Add-ons can be used by following the standard
autotools installation process, documented in the INSTALL file. As a
quick start you can do
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libdir=/usr/lib
make
sudo make install
Packaging
=========
The 'nagios-server-addons.spec' file demonstrates how to distribute
this as an RPM package.
Sending Notifications to Ovirt Engine
=====================================
Nagios can be configured to send notifications to Ovirt engine to notify important nagios events.
Configure the 'Ovirt' Contact defined in /etc/nagios/gluster-gluster-contacts.cfg with actual
ovirt details.
# Ovirt Engine Rest API URL
_ovirt_rest_api #http://[ovirt-engine-address]:[port]/ovirt-engine/api
_ovirt_user # username@domain
# Ovirt password has to be configured as a user variable USER3$ in file /etc/nagios/private/resource.cfg.
$USER3$ = [password for the user defined in contact 'Ovirt']
User variable $USER3$ is used in commands to pass the password to the handler. If some other variable is
used to configure password than it has to be updated in the nagios commands 'notify-host-to-ovirt' and
'notify-service-to-ovirt' defined in file /etc/nagios/gluster/gluster-commands.cfg
Getting Help
============
-- End of readme