Merge "Added pack files for Glance"
This commit is contained in:
commit
370cf182bb
4
shinken-tools/packs/linux-glance/README.rst
Normal file
4
shinken-tools/packs/linux-glance/README.rst
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
linux-glance
|
||||||
|
============
|
||||||
|
|
||||||
|
Shinken configuration pack for OpenStack Glance service.
|
4
shinken-tools/packs/linux-glance/pack/commands.cfg
Normal file
4
shinken-tools/packs/linux-glance/pack/commands.cfg
Normal 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$
|
||||||
|
}
|
32
shinken-tools/packs/linux-glance/pack/linux-glance.pack
Normal file
32
shinken-tools/packs/linux-glance/pack/linux-glance.pack
Normal 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
define service{
|
||||||
|
service_description Check Glance service
|
||||||
|
host_name linux-glance
|
||||||
|
use generic-service
|
||||||
|
register 0
|
||||||
|
check_command check_glance
|
||||||
|
}
|
12
shinken-tools/packs/linux-glance/pack/templates.cfg
Normal file
12
shinken-tools/packs/linux-glance/pack/templates.cfg
Normal 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
|
||||||
|
|
||||||
|
}
|
23
shinken-tools/packs/linux-glance/package.json
Normal file
23
shinken-tools/packs/linux-glance/package.json
Normal 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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user