├── LICENSE ├── README.md ├── server └── externalscripts │ └── openstack-discovery └── templates ├── Template_OpenStack.xml ├── Template_OpenStack_Node.xml └── Template_OpenStack_v3.xml /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Monitoring OpenStack with Zabbix 2 | 3 | This repository contains Zabbix resources for monitoring OpenStack environment. 4 | 5 | # Features 6 | The following features are currently available: 7 | * Automatically discover (using API), add service endpoints and monitor their availability and performance 8 | * Automatically discover (using API), add hypervisor hosts and monitor availability, performance and other metrics 9 | * Active monitoring of OpenStack nodes - connections are initiated by agents installed on nodes 10 | * Flexible configuration based on variables (Zabbix macros) 11 | 12 | # Installation 13 | * Install **python-keystoneclient** and **python-novaclient** on you Zabbix server 14 | * Install Zabbix agents on your OpenStack nodes and define **ServerActive** with IP address of the Zabbix server 15 | * Copy scripts from **server/externalscripts/** to your Zabbix server to **ExternalScripts** location 16 | * Import templates from **templates/** into your Zabbix server 17 | * Add OpenStack controller host (the one with Keystone component) to Zabbix and link **Template OpenStack** or **Template OpenStack Identity V3** template to it 18 | * Wait for Zabbix to add discovered hypervisor hosts and endpoints items (look for them in the controller host) 19 | 20 | # Configuration 21 | Configure the following macros on the **controller host level** in Zabbix so that server could connect to keystone: 22 | * **{$OS_AUTHURL}** - OpenStack keystone auth url (*http://127.0.0.1:5000/v2.0* by default) 23 | * **{$OS_TENANT}** - OpenStack tenant name (*admin* by default) 24 | * **{$OS_USER}** - OpenStack user name (*admin* by default) 25 | * **{$OS_PASSWORD}** - OpenStack user password (*admin* by default) 26 | * **{$OS_USER}** - OpenStack user name (*admin* by default) 27 | * **{$OS_PASSWORD}** - OpenStack user password (*admin* by default) 28 | * **{$OS_USER_DOMAIN_NAME}** - (only for Identity API v3) OpenStack User domain name (*Default* by default) 29 | * **{$OS_PROJECT_DOMAIN_NAME}}** - (only for Identity API v3) OpenStack User domain name (*Default* by default) 30 | 31 | 32 | # License 33 | This project is licensed under Apache License 2.0 34 | 35 | # Contribute 36 | Feel free to test, break, experiment and contribute :-) 37 | -------------------------------------------------------------------------------- /server/externalscripts/openstack-discovery: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | 4 | from sys import exit 5 | from sys import argv 6 | from sys import stderr 7 | import json 8 | from datetime import datetime 9 | import re 10 | 11 | from urlparse import urlparse 12 | 13 | try: 14 | from keystoneclient.v2_0 import client as keystone_client 15 | from keystoneclient.auth.identity import v2 16 | from novaclient import client 17 | except ImportError: 18 | print 'ZBX_NOTSUPPORTED\x00 Failed to import openstack python modules' 19 | exit(1) 20 | 21 | try: 22 | from keystoneauth1.identity import v3 23 | from keystoneauth1 import session 24 | from keystoneclient.v3 import client as kv3client 25 | except ImportError: 26 | # endpoints_v3 and hypervisors_v3 will failed... 27 | pass 28 | 29 | def get_host_port(url): 30 | parsed = urlparse(url) 31 | if parsed: 32 | # Case of https/http endpoints where port wasn't explicitly define 33 | if not parsed.port: 34 | if "https" in url: 35 | return (parsed.hostname, 443) 36 | else: 37 | return(parsed.hostname, 80) 38 | else: 39 | return (parsed.hostname, parsed.port) 40 | 41 | def print_json(data): 42 | print json.dumps({'data':data},sort_keys=True,indent=7,separators=(',',':')) 43 | 44 | def discover_endpoints(auth_url, tenant_name, username, password): 45 | conn = keystone_client.Client(username=username, password=password, tenant_name=tenant_name, auth_url=auth_url) 46 | 47 | services = [] 48 | for e in conn.endpoints.list(): 49 | host = get_host_port(e.publicurl) 50 | if e.enabled: 51 | service = conn.services.get(e.service_id) 52 | services.append({'{#OS_SERVICENAME}':service.name, '{#OS_SERVICEURL}':e.publicurl, '{#OS_SERVICEHOST}':host[0], '{#OS_SERVICEPORT}':host[1] }) 53 | 54 | print_json(services) 55 | 56 | def discover_endpoints_v3(auth_url, tenant_name, username, password, user_domain_name, project_domain_name): 57 | auth = v3.Password(auth_url=auth_url, username=username, 58 | password=password, project_name=tenant_name, 59 | user_domain_name=user_domain_name, project_domain_name=project_domain_name) 60 | sess = session.Session(auth=auth) 61 | conn = kv3client.Client(session=sess) 62 | 63 | services = [] 64 | for e in conn.endpoints.list(interface='public'): 65 | host = get_host_port(e.url) 66 | if e.enabled: 67 | service = conn.services.get(e.service_id) 68 | services.append({'{#OS_SERVICENAME}':service.name, '{#OS_SERVICEURL}':e.url, '{#OS_SERVICEHOST}':host[0], '{#OS_SERVICEPORT}':host[1] }) 69 | 70 | print_json(services) 71 | 72 | def discover_hypervisors(auth_url, tenant_name, username, password): 73 | conn = nova = client.Client(2, username, password, tenant_name, auth_url) 74 | 75 | hypervisors = [] 76 | for h in conn.hypervisors.list(detailed=True): 77 | if h.status == 'enabled': 78 | hypervisors.append({'{#OS_HYPERVISOR_HOSTNAME}':h.hypervisor_hostname, '{#OS_HYPERVISOR_IP}':h.host_ip, '{#OS_HYPERVISOR_TYPE}':h.hypervisor_type }) 79 | 80 | print_json(hypervisors) 81 | 82 | def discover_hypervisors_v3(auth_url, tenant_name, username, password, user_domain_name, project_domain_name): 83 | auth = v3.Password(auth_url=auth_url, username=username, 84 | password=password, project_name=tenant_name, 85 | user_domain_name=user_domain_name, project_domain_name=project_domain_name) 86 | sess = session.Session(auth=auth) 87 | conn = client.Client(2, session=sess) 88 | 89 | hypervisors = [] 90 | for h in conn.hypervisors.list(detailed=True): 91 | if h.status == 'enabled': 92 | hypervisors.append({'{#OS_HYPERVISOR_HOSTNAME}':h.hypervisor_hostname, '{#OS_HYPERVISOR_IP}':h.host_ip, '{#OS_HYPERVISOR_TYPE}':h.hypervisor_type }) 93 | 94 | print_json(hypervisors) 95 | 96 | 97 | if __name__ == '__main__': 98 | if (len(argv) not in [6,8]): 99 | print """Usage: %s TYPE AUTH_URL TENANT USERNAME PASSWORD 100 | where 101 | 102 | TYPE - one of the following: endpoints hypervisors endpoints_v3 hypervisors_v3 103 | AUTH_URL - URL to keystone 104 | TENANT - tenant name 105 | USERNAME - user name 106 | PASSWORD - password for user 107 | (v3 only) USER_DOMAIN_NAME - user domain name 108 | (v3 only) PROJECT_DOMAIN_NAME - project domain name 109 | """ % argv[0] 110 | exit(2) 111 | else: 112 | (TYPE,AUTH_URL,TENANT,USERNAME,PASSWORD) = argv[1:6] 113 | 114 | if TYPE in ['endpoints_v3', 'hypervisors_v3']: 115 | (USER_DOMAIN_NAME, PROJECT_DOMAIN_NAME) = argv[6:] 116 | 117 | if TYPE == 'endpoints': 118 | discover_endpoints(AUTH_URL,TENANT,USERNAME,PASSWORD) 119 | elif TYPE == 'hypervisors': 120 | discover_hypervisors(AUTH_URL,TENANT,USERNAME,PASSWORD) 121 | elif TYPE == 'endpoints_v3': 122 | discover_endpoints_v3(AUTH_URL,TENANT,USERNAME,PASSWORD, USER_DOMAIN_NAME, PROJECT_DOMAIN_NAME) 123 | elif TYPE == 'hypervisors_v3': 124 | discover_hypervisors_v3(AUTH_URL,TENANT,USERNAME,PASSWORD, USER_DOMAIN_NAME, PROJECT_DOMAIN_NAME) 125 | else: 126 | print 'ZBX_NOTSUPPORTED\x00 Unknown type: %s' % TYPE 127 | exit(1) 128 | 129 | 130 | 131 | -------------------------------------------------------------------------------- /templates/Template_OpenStack.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.0 4 | 2015-06-25T10:43:58Z 5 | 6 | 7 | Discovered hosts 8 | 9 | 10 | Templates 11 | 12 | 13 | 14 | 197 | 198 | 199 | -------------------------------------------------------------------------------- /templates/Template_OpenStack_Node.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.0 4 | 2015-06-25T10:43:01Z 5 | 6 | 7 | Templates 8 | 9 | 10 | 11 | 2018 | 2019 | 2020 | 2021 | {Template OpenStack Node:vfs.file.cksum[/etc/passwd].diff(0)}>0 2022 | /etc/passwd has been changed on {HOST.NAME} 2023 | 2024 | 0 2025 | 2 2026 | 2027 | 0 2028 | 2029 | 2030 | 2031 | {Template OpenStack Node:kernel.maxfiles.last(0)}<1024 2032 | Configured max number of opened files is too low on {HOST.NAME} 2033 | 2034 | 0 2035 | 1 2036 | 2037 | 0 2038 | 2039 | 2040 | 2041 | {Template OpenStack Node:kernel.maxproc.last(0)}<256 2042 | Configured max number of processes is too low on {HOST.NAME} 2043 | 2044 | 0 2045 | 1 2046 | 2047 | 0 2048 | 2049 | 2050 | 2051 | {Template OpenStack Node:system.cpu.util[,iowait].avg(5m)}>20 2052 | Disk I/O is overloaded on {HOST.NAME} 2053 | 2054 | 0 2055 | 2 2056 | OS spends significant time waiting for I/O (input/output) operations. It could be indicator of performance issues with storage system. 2057 | 0 2058 | 2059 | 2060 | 2061 | {Template OpenStack Node:system.uname.diff(0)}>0 2062 | Host information was changed on {HOST.NAME} 2063 | 2064 | 0 2065 | 1 2066 | 2067 | 0 2068 | 2069 | 2070 | 2071 | {Template OpenStack Node:system.hostname.diff(0)}>0 2072 | Hostname was changed on {HOST.NAME} 2073 | 2074 | 0 2075 | 1 2076 | 2077 | 0 2078 | 2079 | 2080 | 2081 | {Template OpenStack Node:vm.memory.size[available].last(0)}<20M 2082 | Lack of available memory on server {HOST.NAME} 2083 | 2084 | 0 2085 | 3 2086 | 2087 | 0 2088 | 2089 | 2090 | 2091 | {Template OpenStack Node:system.swap.size[,pfree].last(0)}<50 2092 | Lack of free swap space on {HOST.NAME} 2093 | 2094 | 0 2095 | 2 2096 | It probably means that the systems requires more physical memory. 2097 | 0 2098 | 2099 | 2100 | 2101 | {Template OpenStack Node:system.cpu.load[percpu,avg1].avg(5m)}>5 2102 | Processor load is too high on {HOST.NAME} 2103 | 2104 | 0 2105 | 2 2106 | 2107 | 0 2108 | 2109 | 2110 | 2111 | {Template OpenStack Node:proc.num[].avg(5m)}>600 2112 | Too many processes on {HOST.NAME} 2113 | 2114 | 0 2115 | 2 2116 | 2117 | 0 2118 | 2119 | 2120 | 2121 | {Template OpenStack Node:proc.num[,,run].avg(5m)}>30 2122 | Too many processes running on {HOST.NAME} 2123 | 2124 | 0 2125 | 2 2126 | 2127 | 0 2128 | 2129 | 2130 | 2131 | {Template OpenStack Node:agent.ping.nodata(5m)}=1 2132 | Zabbix agent on {HOST.NAME} is unreachable for 5 minutes 2133 | 2134 | 0 2135 | 4 2136 | 2137 | 0 2138 | 2139 | 2140 | 2141 | {Template OpenStack Node:system.uptime.change(0)}<0 2142 | {HOST.NAME} has just been restarted 2143 | 2144 | 0 2145 | 1 2146 | 2147 | 0 2148 | 2149 | 2150 | 2151 | 2152 | 2153 | CPU jumps 2154 | 900 2155 | 200 2156 | 0.0000 2157 | 100.0000 2158 | 1 2159 | 1 2160 | 0 2161 | 1 2162 | 0 2163 | 0.0000 2164 | 0.0000 2165 | 0 2166 | 0 2167 | 0 2168 | 0 2169 | 2170 | 2171 | 1 2172 | 0 2173 | 000099 2174 | 0 2175 | 2 2176 | 0 2177 | 2178 | Template OpenStack Node 2179 | system.cpu.intr 2180 | 2181 | 2182 | 2183 | 0 2184 | 0 2185 | 009900 2186 | 0 2187 | 2 2188 | 0 2189 | 2190 | Template OpenStack Node 2191 | system.cpu.switches 2192 | 2193 | 2194 | 2195 | 2196 | 2197 | CPU load 2198 | 900 2199 | 200 2200 | 0.0000 2201 | 100.0000 2202 | 1 2203 | 1 2204 | 0 2205 | 1 2206 | 0 2207 | 0.0000 2208 | 0.0000 2209 | 1 2210 | 0 2211 | 0 2212 | 0 2213 | 2214 | 2215 | 0 2216 | 0 2217 | 009900 2218 | 0 2219 | 2 2220 | 0 2221 | 2222 | Template OpenStack Node 2223 | system.cpu.load[percpu,avg1] 2224 | 2225 | 2226 | 2227 | 1 2228 | 0 2229 | 000099 2230 | 0 2231 | 2 2232 | 0 2233 | 2234 | Template OpenStack Node 2235 | system.cpu.load[percpu,avg5] 2236 | 2237 | 2238 | 2239 | 2 2240 | 0 2241 | 990000 2242 | 0 2243 | 2 2244 | 0 2245 | 2246 | Template OpenStack Node 2247 | system.cpu.load[percpu,avg15] 2248 | 2249 | 2250 | 2251 | 2252 | 2253 | CPU utilization 2254 | 900 2255 | 200 2256 | 0.0000 2257 | 100.0000 2258 | 1 2259 | 0 2260 | 1 2261 | 1 2262 | 0 2263 | 0.0000 2264 | 0.0000 2265 | 1 2266 | 1 2267 | 0 2268 | 0 2269 | 2270 | 2271 | 6 2272 | 1 2273 | 000099 2274 | 0 2275 | 2 2276 | 0 2277 | 2278 | Template OpenStack Node 2279 | system.cpu.util[,user] 2280 | 2281 | 2282 | 2283 | 4 2284 | 1 2285 | 999900 2286 | 0 2287 | 2 2288 | 0 2289 | 2290 | Template OpenStack Node 2291 | system.cpu.util[,iowait] 2292 | 2293 | 2294 | 2295 | 2 2296 | 1 2297 | 009999 2298 | 0 2299 | 2 2300 | 0 2301 | 2302 | Template OpenStack Node 2303 | system.cpu.util[,interrupt] 2304 | 2305 | 2306 | 2307 | 7 2308 | 1 2309 | 009900 2310 | 0 2311 | 2 2312 | 0 2313 | 2314 | Template OpenStack Node 2315 | system.cpu.util[,idle] 2316 | 2317 | 2318 | 2319 | 5 2320 | 1 2321 | 990000 2322 | 0 2323 | 2 2324 | 0 2325 | 2326 | Template OpenStack Node 2327 | system.cpu.util[,system] 2328 | 2329 | 2330 | 2331 | 1 2332 | 1 2333 | 55FF55 2334 | 0 2335 | 2 2336 | 0 2337 | 2338 | Template OpenStack Node 2339 | system.cpu.util[,softirq] 2340 | 2341 | 2342 | 2343 | 3 2344 | 1 2345 | 990099 2346 | 0 2347 | 2 2348 | 0 2349 | 2350 | Template OpenStack Node 2351 | system.cpu.util[,nice] 2352 | 2353 | 2354 | 2355 | 0 2356 | 1 2357 | FF5555 2358 | 0 2359 | 2 2360 | 0 2361 | 2362 | Template OpenStack Node 2363 | system.cpu.util[,steal] 2364 | 2365 | 2366 | 2367 | 2368 | 2369 | Memory usage 2370 | 900 2371 | 200 2372 | 0.0000 2373 | 100.0000 2374 | 1 2375 | 1 2376 | 0 2377 | 1 2378 | 0 2379 | 0.0000 2380 | 0.0000 2381 | 1 2382 | 2 2383 | 0 2384 | 2385 | Template OpenStack Node 2386 | vm.memory.size[total] 2387 | 2388 | 2389 | 2390 | 0 2391 | 5 2392 | 00C800 2393 | 0 2394 | 2 2395 | 0 2396 | 2397 | Template OpenStack Node 2398 | vm.memory.size[available] 2399 | 2400 | 2401 | 2402 | 2403 | 2404 | Swap usage 2405 | 600 2406 | 340 2407 | 0.0000 2408 | 100.0000 2409 | 0 2410 | 0 2411 | 2 2412 | 1 2413 | 1 2414 | 0.0000 2415 | 0.0000 2416 | 0 2417 | 0 2418 | 0 2419 | 0 2420 | 2421 | 2422 | 1 2423 | 0 2424 | 00AA00 2425 | 0 2426 | 2 2427 | 0 2428 | 2429 | Template OpenStack Node 2430 | system.swap.size[,free] 2431 | 2432 | 2433 | 2434 | 0 2435 | 0 2436 | AA0000 2437 | 0 2438 | 2 2439 | 2 2440 | 2441 | Template OpenStack Node 2442 | system.swap.size[,total] 2443 | 2444 | 2445 | 2446 | 2447 | 2448 | 2449 | -------------------------------------------------------------------------------- /templates/Template_OpenStack_v3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.0 4 | 2015-06-25T10:43:58Z 5 | 6 | 7 | Discovered hosts 8 | 9 | 10 | Templates 11 | 12 | 13 | 14 | 205 | 206 | 207 | --------------------------------------------------------------------------------