Merge "Added pack files for Glance"

This commit is contained in:
Jenkins 2015-01-18 21:09:28 +00:00 committed by Gerrit Code Review
commit 370cf182bb
6 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,4 @@
linux-glance
============
Shinken configuration pack for OpenStack Glance service.

View File

@ -0,0 +1,4 @@
define command {
command_name check_glance
command_line $PLUGINSDIR$/check_glance -U $_HOSTOS_AUTH_URL$ -u $_HOSTOS_USERNAME$ -p $_HOSTOS_PASSOWRD$ -t $_HOSTOS_TENANT_NAME$ -e $_HOSTOS_GLANCE_URL$
}

View File

@ -0,0 +1,32 @@
{
"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",
},
},
}

View File

@ -0,0 +1,8 @@
define service{
service_description Check Glance service
host_name linux-glance
use generic-service
register 0
check_command check_glance
}

View File

@ -0,0 +1,12 @@
define host {
name linux-glance
use generic-host
register 0
_OS_AUTH_URL null
_OS_USERNAME null
_OS_PASSOWRD null
_OS_TENANT_NAME null
_OS_GLANCE_URL null
}

View File

@ -0,0 +1,23 @@
{
"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"
}