Merge "Removed shinken packs"
This commit is contained in:
commit
7979b00f4e
@ -13,8 +13,8 @@ RUN pip install python-surveilclient
|
|||||||
# Download packs
|
# Download packs
|
||||||
RUN apt-get install -y subversion && \
|
RUN apt-get install -y subversion && \
|
||||||
svn checkout https://github.com/savoirfairelinux/monitoring-tools/trunk/packs/generic-host /packs/generic-host && \
|
svn checkout https://github.com/savoirfairelinux/monitoring-tools/trunk/packs/generic-host /packs/generic-host && \
|
||||||
svn checkout https://github.com/stackforge/surveil/trunk/shinken-tools/packs/linux-glance /packs/linux-glance && \
|
svn checkout https://github.com/savoirfairelinux/monitoring-tools/trunk/packs/linux-glance /packs/linux-glance && \
|
||||||
svn checkout https://github.com/stackforge/surveil/trunk/shinken-tools/packs/linux-keystone /packs/linux-keystone && \
|
svn checkout https://github.com/savoirfairelinux/monitoring-tools/trunk/packs/linux-keystone /packs/linux-keystone && \
|
||||||
apt-get remove -y subversion
|
apt-get remove -y subversion
|
||||||
|
|
||||||
ADD requirements.txt surveil/requirements.txt
|
ADD requirements.txt surveil/requirements.txt
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
linux-glance
|
|
||||||
============
|
|
||||||
|
|
||||||
Shinken configuration pack for OpenStack Glance service.
|
|
@ -1,4 +0,0 @@
|
|||||||
define command {
|
|
||||||
command_name check_glance
|
|
||||||
command_line $PLUGINSDIR$/check_glance -U $_HOSTOS_AUTH_URL$ -u $_HOSTOS_USERNAME$ -p $_HOSTOS_PASSWORD$ -t $_HOSTOS_TENANT_NAME$ -e $_HOSTOS_GLANCE_URL$
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
"name":"linux-glance",
|
|
||||||
|
|
||||||
"description":"Check Glance service",
|
|
||||||
|
|
||||||
# NEXT LINES ARE SAMPLES: YOU CAN DELETE IT
|
|
||||||
"macros":{
|
|
||||||
"_OS_AUTH_URL": {"type": "string",
|
|
||||||
"description": "The Auth API URL",
|
|
||||||
},
|
|
||||||
|
|
||||||
"_OS_USERNAME": {"type": "string",
|
|
||||||
"description": "The Auth API username",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
"_OS_PASSWORD": {"type": "string",
|
|
||||||
"description": "The Auth API password",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
"_OS_TENANT_NAME": {"type": "string",
|
|
||||||
"description": "The Tenant name",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
"_OS_GLANCE_URL": {"type": "string",
|
|
||||||
"description": "The Glance URL",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
define service{
|
|
||||||
service_description Check Glance service
|
|
||||||
host_name linux-glance
|
|
||||||
use generic-service
|
|
||||||
register 0
|
|
||||||
check_command check_glance
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
define host {
|
|
||||||
name linux-glance
|
|
||||||
use generic-host
|
|
||||||
register 0
|
|
||||||
|
|
||||||
_OS_AUTH_URL null
|
|
||||||
_OS_USERNAME null
|
|
||||||
_OS_PASSWORD null
|
|
||||||
_OS_TENANT_NAME null
|
|
||||||
_OS_GLANCE_URL null
|
|
||||||
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "sfl-linux-glance",
|
|
||||||
"types": ["pack"],
|
|
||||||
"version": "1.0",
|
|
||||||
"homepage": "https://github.com/stackforge/surveil",
|
|
||||||
"author": "Grégory Starck",
|
|
||||||
"description": "Check an OpenStack Glance instance.",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Grégory Starck",
|
|
||||||
"email": "gregory.starck@savoirfairelinux.com"
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"repository": "https://github.com/stackforge/surveil",
|
|
||||||
"keywords": [
|
|
||||||
"pack",
|
|
||||||
"linux-glance"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
|
||||||
"shinken": ">=1.4"
|
|
||||||
},
|
|
||||||
"license": "GPL"
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
linux-keystone
|
|
||||||
==========
|
|
||||||
|
|
||||||
Shinken pack for monitoring OpenStack Keystone
|
|
@ -1,5 +0,0 @@
|
|||||||
monitoring-packs-sfl-linux-keystone (2015.1.2.11.16-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial release
|
|
||||||
|
|
||||||
-- Thibault Cohen <thibault.cohen@savoirfairelinux.com> Tue, 05 Oct 2014 10:15:52 -0400
|
|
@ -1 +0,0 @@
|
|||||||
9
|
|
@ -1,15 +0,0 @@
|
|||||||
Source: monitoring-packs-sfl-linux-keystone
|
|
||||||
Section: python
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
|
|
||||||
Build-Depends: debhelper (>= 8.0.0)
|
|
||||||
Standards-Version: 3.9.4
|
|
||||||
Homepage: https://github.com/savoirfairelinux/monitoring-tools
|
|
||||||
Vcs-Browser: https://github.com/savoirfairelinux/monitoring-tools.git
|
|
||||||
|
|
||||||
Package: monitoring-packs-sfl-linux-keystone
|
|
||||||
Architecture: all
|
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
|
||||||
Description: Shinken pack for monitoring OpenStack Keystone
|
|
||||||
More information is available on Github:
|
|
||||||
https://github.com/savoirfairelinux/sfl-shinken-packs
|
|
@ -1,29 +0,0 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: monitoring-packs-sfl-linux-keystone
|
|
||||||
Source: <https://github.com/savoirfairelinux/monitoring-tools>
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: 2015 Alexandre Viau <alexandre.viau@savoirfairelinux.com>
|
|
||||||
License: GPL-3.0+
|
|
||||||
|
|
||||||
License: GPL-3.0+
|
|
||||||
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
|
|
||||||
(at your option) any later version.
|
|
||||||
.
|
|
||||||
This package 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/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General
|
|
||||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
||||||
|
|
||||||
# Please also look if there are files or directories which have a
|
|
||||||
# different copyright/license attached and list them here.
|
|
||||||
# Please avoid to pick license terms that are more restrictive than the
|
|
||||||
# packaged work, as it may make Debian's contributions unacceptable upstream.
|
|
@ -1,2 +0,0 @@
|
|||||||
pack /etc/shinken/packs/linux-keystone
|
|
||||||
package.json /etc/shinken/packs/linux-keystone
|
|
@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
# -*- makefile -*-
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
#export DH_VERBOSE=1
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
@ -1 +0,0 @@
|
|||||||
3.0 (quilt)
|
|
@ -1,226 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
|
|
||||||
extensions = []
|
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
|
||||||
templates_path = ['_templates']
|
|
||||||
|
|
||||||
# The suffix of source filenames.
|
|
||||||
source_suffix = '.rst'
|
|
||||||
|
|
||||||
# The master toctree document.
|
|
||||||
master_doc = 'source/linux-keystone'
|
|
||||||
|
|
||||||
# General information about the project.
|
|
||||||
project = u'linux-keystone'
|
|
||||||
copyright = u'2015, Alexandre Viau <alexandre.viau@savoirfairelinux.com>'
|
|
||||||
|
|
||||||
# The short X.Y version.
|
|
||||||
version = ''
|
|
||||||
# The full version, including alpha/beta/rc tags.
|
|
||||||
release = '1'
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
||||||
# for a list of supported languages.
|
|
||||||
#language = None
|
|
||||||
|
|
||||||
# There are two options for replacing |today|: either, you set today to some
|
|
||||||
# non-false value, then it is used:
|
|
||||||
#today = ''
|
|
||||||
# Else, today_fmt is used as the format for a strftime call.
|
|
||||||
#today_fmt = '%B %d, %Y'
|
|
||||||
|
|
||||||
# List of patterns, relative to source directory, that match files and
|
|
||||||
# directories to ignore when looking for source files.
|
|
||||||
exclude_patterns = []
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
|
||||||
# documents.
|
|
||||||
#default_role = None
|
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
|
||||||
#add_function_parentheses = True
|
|
||||||
|
|
||||||
# If true, the current module name will be prepended to all description
|
|
||||||
# unit titles (such as .. function::).
|
|
||||||
#add_module_names = True
|
|
||||||
|
|
||||||
# If true, sectionauthor and moduleauthor directives will be shown in the
|
|
||||||
# output. They are ignored by default.
|
|
||||||
#show_authors = False
|
|
||||||
|
|
||||||
# The name of the Pygments (syntax highlighting) style to use.
|
|
||||||
pygments_style = 'sphinx'
|
|
||||||
|
|
||||||
# A list of ignored prefixes for module index sorting.
|
|
||||||
#modindex_common_prefix = []
|
|
||||||
|
|
||||||
# If true, keep warnings as "system message" paragraphs in the built documents.
|
|
||||||
#keep_warnings = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output ----------------------------------------------
|
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
||||||
# a list of builtin themes.
|
|
||||||
html_theme = 'default'
|
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a theme
|
|
||||||
# further. For a list of options available for each theme, see the
|
|
||||||
# documentation.
|
|
||||||
#html_theme_options = {}
|
|
||||||
|
|
||||||
# Add any paths that contain custom themes here, relative to this directory.
|
|
||||||
#html_theme_path = []
|
|
||||||
|
|
||||||
# The name for this set of Sphinx documents. If None, it defaults to
|
|
||||||
# "<project> v<release> documentation".
|
|
||||||
#html_title = None
|
|
||||||
|
|
||||||
# A shorter title for the navigation bar. Default is the same as html_title.
|
|
||||||
#html_short_title = None
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top
|
|
||||||
# of the sidebar.
|
|
||||||
#html_logo = None
|
|
||||||
|
|
||||||
# The name of an image file (within the static path) to use as favicon of the
|
|
||||||
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
|
||||||
# pixels large.
|
|
||||||
#html_favicon = None
|
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
||||||
html_static_path = ['source/_static']
|
|
||||||
|
|
||||||
# Add any extra paths that contain custom files (such as robots.txt or
|
|
||||||
# .htaccess) here, relative to this directory. These files are copied
|
|
||||||
# directly to the root of the documentation.
|
|
||||||
#html_extra_path = []
|
|
||||||
|
|
||||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
|
||||||
# using the given strftime format.
|
|
||||||
#html_last_updated_fmt = '%b %d, %Y'
|
|
||||||
|
|
||||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
|
||||||
# typographically correct entities.
|
|
||||||
#html_use_smartypants = True
|
|
||||||
|
|
||||||
# Custom sidebar templates, maps document names to template names.
|
|
||||||
#html_sidebars = {}
|
|
||||||
|
|
||||||
# Additional templates that should be rendered to pages, maps page names to
|
|
||||||
# template names.
|
|
||||||
#html_additional_pages = {}
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
#html_domain_indices = True
|
|
||||||
|
|
||||||
# If false, no index is generated.
|
|
||||||
#html_use_index = False
|
|
||||||
|
|
||||||
# If true, the index is split into individual pages for each letter.
|
|
||||||
#html_split_index = False
|
|
||||||
|
|
||||||
# If true, links to the reST sources are added to the pages.
|
|
||||||
#html_show_sourcelink = True
|
|
||||||
|
|
||||||
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
|
||||||
#html_show_sphinx = True
|
|
||||||
|
|
||||||
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
|
||||||
#html_show_copyright = True
|
|
||||||
|
|
||||||
# If true, an OpenSearch description file will be output, and all pages will
|
|
||||||
# contain a <link> tag referring to it. The value of this option must be the
|
|
||||||
# base URL from which the finished HTML is served.
|
|
||||||
#html_use_opensearch = ''
|
|
||||||
|
|
||||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
|
||||||
#html_file_suffix = None
|
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
|
||||||
htmlhelp_basename = 'linux-keystonedoc'
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for LaTeX output ---------------------------------------------
|
|
||||||
|
|
||||||
latex_elements = {
|
|
||||||
# The paper size ('letterpaper' or 'a4paper').
|
|
||||||
#'papersize': 'letterpaper',
|
|
||||||
|
|
||||||
# The font size ('10pt', '11pt' or '12pt').
|
|
||||||
#'pointsize': '10pt',
|
|
||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
|
||||||
#'preamble': '',
|
|
||||||
}
|
|
||||||
|
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
|
||||||
# (source start file, target name, title,
|
|
||||||
# author, documentclass [howto, manual, or own class]).
|
|
||||||
latex_documents = [
|
|
||||||
('source/linux-keystone', 'linux-keystone.tex', u'linux-keystone Documentation',
|
|
||||||
u'Alexandre Viau', 'manual'),
|
|
||||||
]
|
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
|
||||||
# the title page.
|
|
||||||
#latex_logo = None
|
|
||||||
|
|
||||||
# For "manual" documents, if this is true, then toplevel headings are parts,
|
|
||||||
# not chapters.
|
|
||||||
#latex_use_parts = False
|
|
||||||
|
|
||||||
# If true, show page references after internal links.
|
|
||||||
#latex_show_pagerefs = False
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
#latex_show_urls = False
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
#latex_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
#latex_domain_indices = True
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for manual page output ---------------------------------------
|
|
||||||
|
|
||||||
# One entry per manual page. List of tuples
|
|
||||||
# (source start file, name, description, authors, manual section).
|
|
||||||
man_pages = [
|
|
||||||
('source/linux-keystone', 'linux-keystone', u'linux-keystone Documentation',
|
|
||||||
[u'Alexandre Viau'], 1)
|
|
||||||
]
|
|
||||||
|
|
||||||
# If true, show URL addresses after external links.
|
|
||||||
#man_show_urls = False
|
|
||||||
|
|
||||||
|
|
||||||
# -- Options for Texinfo output -------------------------------------------
|
|
||||||
|
|
||||||
# Grouping the document tree into Texinfo files. List of tuples
|
|
||||||
# (source start file, target name, title, author,
|
|
||||||
# dir menu entry, description, category)
|
|
||||||
texinfo_documents = [
|
|
||||||
('source/linux-keystone', 'linux-keystone', u'linux-keystone Documentation',
|
|
||||||
u'Alexandre Viau', 'linux-keystone', 'Shinken pack for monitoring OpenStack Keystone',
|
|
||||||
'Packs'),
|
|
||||||
]
|
|
||||||
|
|
||||||
# Documents to append as an appendix to all manuals.
|
|
||||||
#texinfo_appendices = []
|
|
||||||
|
|
||||||
# If false, no module index is generated.
|
|
||||||
#texinfo_domain_indices = True
|
|
||||||
|
|
||||||
# How to display URL addresses: 'footnote', 'no', or 'inline'.
|
|
||||||
#texinfo_show_urls = 'footnote'
|
|
||||||
|
|
||||||
# If true, do not generate a @detailmenu in the "Top" node's menu.
|
|
||||||
#texinfo_no_detailmenu = False
|
|
@ -1,48 +0,0 @@
|
|||||||
linux-keystone
|
|
||||||
==============
|
|
||||||
|
|
||||||
Dependencies
|
|
||||||
************
|
|
||||||
|
|
||||||
Shinken Modules
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
This pack will create services which need the following modules :
|
|
||||||
|
|
||||||
**List of Shinken modules used**
|
|
||||||
|
|
||||||
Plugins
|
|
||||||
~~~~~~~
|
|
||||||
|
|
||||||
This pack will create services which need the following plugins :
|
|
||||||
|
|
||||||
**List of plugins used**
|
|
||||||
|
|
||||||
Network
|
|
||||||
~~~~~~~
|
|
||||||
|
|
||||||
This pack will create services which need the following protocol :
|
|
||||||
|
|
||||||
**List of port/protocol used**
|
|
||||||
|
|
||||||
Installation
|
|
||||||
************
|
|
||||||
|
|
||||||
Copy the pack folder in the packs folder defined in shinken.cfg (`cfg_dir=packs`)
|
|
||||||
|
|
||||||
|
|
||||||
How to use it
|
|
||||||
*************
|
|
||||||
|
|
||||||
|
|
||||||
Settings
|
|
||||||
~~~~~~~~
|
|
||||||
|
|
||||||
This is the list of settings which can be redefined in the host definition
|
|
||||||
|
|
||||||
**List of macros**
|
|
||||||
|
|
||||||
Triggers
|
|
||||||
~~~~~~~~
|
|
||||||
|
|
||||||
**List of triggers**
|
|
@ -1,54 +0,0 @@
|
|||||||
#
|
|
||||||
# Example spec file for cdplayer app...
|
|
||||||
#
|
|
||||||
%define raw_name linux-keystone
|
|
||||||
%define name monitoring-packs-sfl-%{raw_name}
|
|
||||||
%define version 2015.1.2.11.16
|
|
||||||
%define release 1
|
|
||||||
%define install_folder /usr/lib/
|
|
||||||
|
|
||||||
Name: %{name}
|
|
||||||
Version: %{version}
|
|
||||||
Release: %{release}%{?dist}
|
|
||||||
License: GPL v3
|
|
||||||
Summary: Shinken pack for monitoring OpenStack Keystone
|
|
||||||
Group: Networking/Other
|
|
||||||
Source: http://monitoring.savoirfairelinux.com/%{name}_%{version}.orig.tar.gz
|
|
||||||
URL: http://monitoring.savoirfairelinux.com/
|
|
||||||
Distribution: Savoir-faire Linux
|
|
||||||
Vendor: Savoir-faire Linux
|
|
||||||
Packager: Alexandre Viau <alexandre.viau@savoirfairelinux.com>
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
||||||
BuildRequires: python-sphinx
|
|
||||||
#Requires: python, python-dlnetsnmp
|
|
||||||
|
|
||||||
%description
|
|
||||||
Shinken pack for monitoring OpenStack Keystone
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{name}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
%{__install} -d -m 755 %{buildroot}/%{_sysconfdir}/shinken/packs/%{raw_name}
|
|
||||||
%{__cp} -r pack/* %{buildroot}/%{_sysconfdir}/shinken/packs/%{raw_name}
|
|
||||||
%{__install} -p -m 755 package.json %{buildroot}/%{_sysconfdir}/shinken/packs/%{raw_name}
|
|
||||||
%{__install} -d -m 755 %{buildroot}/%{_docdir}/shinken/packs/%{raw_name}
|
|
||||||
%{__cp} -r doc/* %{buildroot}/%{_docdir}/shinken/packs/%{raw_name}
|
|
||||||
%{__rm} %{buildroot}/%{_docdir}/shinken/packs/%{raw_name}/conf.py
|
|
||||||
%{__install} -d -m 755 %{buildroot}/%{_mandir}/man1/shinken/packs/%{raw_name}
|
|
||||||
sphinx-build -b man -d doc/build/doctrees/source doc %{buildroot}/%{_mandir}/man1/shinken/packs/%{raw_name}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
|
||||||
%docdir
|
|
||||||
%{_docdir}/shinken/packs/%{raw_name}
|
|
||||||
%{_mandir}/man1/shinken/packs/%{raw_name}
|
|
||||||
%config
|
|
||||||
%{_sysconfdir}/shinken/packs/
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Fri Jan 02 2015 Alexandre Viau <alexandre.viau@savoirfairelinux.com>
|
|
||||||
- Initial Release
|
|
@ -1,10 +0,0 @@
|
|||||||
# -----------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# linux-keystone Commands
|
|
||||||
#
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
|
|
||||||
define command {
|
|
||||||
command_name check_keystone
|
|
||||||
command_line $PLUGINSDIR$/check_keystone -U $_HOSTOS_AUTH_URL$ -u $_HOSTOS_USERNAME$ -p $_HOSTOS_PASSWORD$ -t $_HOSTOS_TENANT_NAME$ -s $_HOSTKS_SERVICES$
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"name":"linux-keystone",
|
|
||||||
|
|
||||||
"description":"Shinken pack for monitoring OpenStack Keystone",
|
|
||||||
|
|
||||||
"path":"",
|
|
||||||
|
|
||||||
"macros":{
|
|
||||||
"_OS_AUTH_URL": {"type": "url",
|
|
||||||
"description": "Auth URL"
|
|
||||||
},
|
|
||||||
"_OS_USERNAME": {"type": "string",
|
|
||||||
"description": "OpenStack username"
|
|
||||||
},
|
|
||||||
"_OS_PASSWORD": {"type": "string",
|
|
||||||
"description": "OpenStack password"
|
|
||||||
},
|
|
||||||
"_OS_TENANT": {"type": "string",
|
|
||||||
"description": "OpenStack tenant name"
|
|
||||||
},
|
|
||||||
"_KS_SERVICES": {"type": "string",
|
|
||||||
"description": "Keystone services to expect"
|
|
||||||
},
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
define service{
|
|
||||||
host_name linux-keystone
|
|
||||||
service_description Check KeyStone service.
|
|
||||||
use generic-service
|
|
||||||
register 0
|
|
||||||
check_command check_keystone
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
# Shinken pack for monitoring OpenStack Keystone
|
|
||||||
define host{
|
|
||||||
name linux-keystone
|
|
||||||
use generic-host
|
|
||||||
check_interval 1
|
|
||||||
register 0
|
|
||||||
|
|
||||||
_OS_AUTH_URL null
|
|
||||||
_OS_USERNAME null
|
|
||||||
_OS_PASSWORD null
|
|
||||||
_OS_TENANT_NAME null
|
|
||||||
_KS_SERVICES identity
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "linux-keystone",
|
|
||||||
"types": ["pack"],
|
|
||||||
"version": "1.0",
|
|
||||||
"homepage": "https://github.com/savoirfairelinux/monitoring-tools",
|
|
||||||
"author": "Alexandre Viau",
|
|
||||||
"description": "Shinken pack for monitoring OpenStack Keystone",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Alexandre Viau",
|
|
||||||
"email": "alexandre.viau@savoirfairelinux.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"repository": "https://github.com/savoirfairelinux/monitoring-tools",
|
|
||||||
"keywords": [
|
|
||||||
"pack",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"dependencies": {
|
|
||||||
"shinken": ">=1.4"
|
|
||||||
},
|
|
||||||
"license": "GPL"
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user