Measurement | Tag1 | Tag2 | Field1 | Field2 | Field3 | Time |
---|---|---|---|---|---|---|
download_speed | snode | dnode | speed | mean_deviation | acceleration | |
tcp_three_way_handshake_time | snode | dnode | value | |||
time_to_first_byte | snode | dnode | value | |||
round_trip_time | snode | dnode | value |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
#Parameters to configure | |
SERVICE_USERNAME=ec2api | |
SERVICE_PASSWORD=ec2api | |
SERVICE_TENANT=service | |
CONNECTION="mysql://ec2api:[email protected]/ec2api?charset=utf8" | |
LOG_DIR=/var/log/ec2api | |
CONF_DIR=/etc/ec2api | |
NOVA_CONF=/etc/nova/nova.conf |
- Install Nagios Core and Nagios Plugins first.
- Download NRPE:
curl -L -O http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz
- Extract the NRPE archive:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# default: on | |
# description: NRPE (Nagios Remote Plugin Executor) | |
service nrpe | |
{ | |
flags = REUSE | |
socket_type = stream | |
port = 5666 | |
wait = no | |
user = nagios | |
group = nagios |
- Install NRPE and Nagios Plugins.
sudo apt-get install nagios-nrpe-server nagios-plugins
- Configure NRPE.
Change your nrpe configurtion, open
/etc/nagios/nrpe.cfg
then change these lines:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################# | |
# Sample NRPE Config File | |
# Written by: Ethan Galstad ([email protected]) | |
# | |
# Last Modified: 11-23-2007 | |
# | |
# NOTES: | |
# This is a sample configuration file for the NRPE daemon. It needs to be | |
# located on the remote host that is running the NRPE daemon, not the host | |
# from which the check_nrpe client is being executed. |
OlderNewer