]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/zabbix Changed application_prototype naming convention
authorDmitriy Rabotjagov <dmitriy.r@sitevalley.com>
Tue, 29 Jan 2019 11:11:32 +0000 (13:11 +0200)
committerDmitriy Rabotjagov <dmitriy.r@sitevalley.com>
Tue, 26 Feb 2019 10:20:26 +0000 (12:20 +0200)
application_prototypes were named not as obvious as they could be,
so changed them from "Ceph {#CRUSH_RULE}" to "Ceph CRUSH [{#CRUSH_RULE}]"
to make name of crush policy more visable and easier to select by regexp.

Also discoverable items have been removed from regular Ceph application

Signed-off-by: Dmitriy Rabotjagov <noonedeadpunk@ya.ru>
doc/mgr/zabbix.rst
src/pybind/mgr/zabbix/zabbix_template.xml

index 62f513fd58a9816e309fa95d5f8e6ccc3d09e4f0..ba0eadd583795cf93f4f0816d18b607b1f1db4e3 100644 (file)
@@ -114,7 +114,7 @@ This can be done with this command:
 
 The module will now send its latest data to the Zabbix server.
 
-Items discovery is accomplished also via sabbix_sender, and runs every `discovery_interval * interval` seconds. If you wish to launch discovery 
+Items discovery is accomplished also via zabbix_sender, and runs every `discovery_interval * interval` seconds. If you wish to launch discovery 
 manually, this can be done with this command:
 
 ::
index 4d005280d37da07100a23bb3672623e1f960a8f1..40627eb86b0a1443fdb74dea7b805f7cfe63abfb 100644 (file)
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing/>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>
                             <port/>
                             <description/>
                             <inventory_link>0</inventory_link>
-                            <applications>
-                                <application>
-                                    <name>Ceph</name>
-                                </application>
-                            </applications>
+                            <applications/>
                             <valuemap/>
                             <logtimefmt/>
                             <preprocessing>
                             <jmx_endpoint/>
                             <application_prototypes>
                                 <application_prototype>
-                                    <name>Ceph {#CRUSH_RULE}</name>
+                                    <name>Ceph CRUSH [{#CRUSH_RULE}]</name>
                                 </application_prototype>
                             </application_prototypes>
                             <master_item_prototype/>