Add: completed keystone pack
Change-Id: I38ce92f0eb5c8d174ab1810903102acde6eeddba
This commit is contained in:
parent
929e689611
commit
72fb7f84c1
@ -5,6 +5,6 @@
|
||||
# -----------------------------------------------------------------
|
||||
|
||||
define command {
|
||||
command_name CHECK_KEYSTONE
|
||||
command_line $PLUGINSDIR$/check_keystone -H $HOSTADDRESS$ $OPTIONS$
|
||||
}
|
||||
command_name check_keystone
|
||||
command_line $PLUGINSDIR$/check_keystone -U $_HOSTOS_AUTH_URL$ -u $_HOSTOS_USERNAME$ -p $_HOSTOS_PASSOWRD$ -t $_HOSTOS_TENANT_NAME$ -s $_HOSTKS_SERVICES$
|
||||
}
|
||||
|
@ -6,16 +6,19 @@
|
||||
"path":"",
|
||||
|
||||
"macros":{
|
||||
"_AUTH_URL": {"type": "url",
|
||||
"_OS_AUTH_URL": {"type": "url",
|
||||
"description": "Auth URL"
|
||||
},
|
||||
"_USERNAME": {"type": "string",
|
||||
"_OS_USERNAME": {"type": "string",
|
||||
"description": "OpenStack username"
|
||||
},
|
||||
"_PASSWORD": {"type": "string",
|
||||
"_OS_PASSWORD": {"type": "string",
|
||||
"description": "OpenStack password"
|
||||
},
|
||||
"_TENANT": {"type": "string",
|
||||
"_OS_TENANT": {"type": "string",
|
||||
"description": "OpenStack tenant name"
|
||||
},
|
||||
}
|
||||
"_KS_SERVICES": {"type": "string",
|
||||
"description": "Keystone services to expect"
|
||||
},
|
||||
}
|
||||
|
@ -0,0 +1,7 @@
|
||||
define service{
|
||||
host_name linux-keystone
|
||||
service_description Check KeyStone service.
|
||||
use generic-service
|
||||
register 0
|
||||
check_command check_keystone
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
define service{
|
||||
host_name linux-keystone
|
||||
service_description service1.cfg
|
||||
use linux-keystone-service
|
||||
register 0
|
||||
check_command CHECK_KEYSTONE
|
||||
}
|
@ -1,14 +1,13 @@
|
||||
# Shinken pack for monitoring OpenStack Keystone
|
||||
define host{
|
||||
name linux-keystone
|
||||
use pack-generic-host
|
||||
use generic-host
|
||||
check_interval 1
|
||||
register 0
|
||||
}
|
||||
|
||||
define service{
|
||||
use pack-generic-host-service
|
||||
service-description linux-keystone-service
|
||||
name linux-keystone-service
|
||||
register 0
|
||||
}
|
||||
_OS_AUTH_URL null
|
||||
_OS_USERNAME null
|
||||
_OS_PASSOWRD null
|
||||
_OS_TENANT_NAME null
|
||||
_KS_SERVICES identity
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user