Browse Source

Fix triggers expressions using properly escaped html codes

Change-Id: I6d859f3bd9c4058fcced545914bf507fa4223bdc
Olivier Bourdon 2 years ago
parent
commit
563f6a2865

+ 2
- 2
deployment_scripts/puppet/modules/plugin_zabbix/files/import/Template_App_OpenStack_RabbitMQ_ha.xml View File

@@ -421,7 +421,7 @@
421 421
     </templates>
422 422
     <triggers>
423 423
         <trigger>
424
-            <expression>{Template App OpenStack HA RabbitMQ:rabbitmq.unmirror.queues.last(0)}>0</expression>
424
+            <expression>{Template App OpenStack HA RabbitMQ:rabbitmq.unmirror.queues.last(0)}&gt;0</expression>
425 425
             <name>RabbitMQ queues are not mirrored</name>
426 426
             <url/>
427 427
             <status>0</status>
@@ -431,7 +431,7 @@
431 431
             <dependencies/>
432 432
         </trigger>
433 433
         <trigger>
434
-            <expression>{Template App OpenStack HA RabbitMQ:rabbitmq.missing.nodes.last(0)}>0</expression>
434
+            <expression>{Template App OpenStack HA RabbitMQ:rabbitmq.missing.nodes.last(0)}&gt;0</expression>
435 435
             <name>RabbitMQ nodes missing from cluster</name>
436 436
             <url/>
437 437
             <status>0</status>

+ 3
- 3
deployment_scripts/puppet/modules/plugin_zabbix/files/import/Template_OpenStack_Cluster.xml View File

@@ -768,7 +768,7 @@
768 768
     </templates>
769 769
     <triggers>
770 770
         <trigger>
771
-            <expression>{Template OpenStack Cluster:db.services.offline.nova.query.last(0)}>0</expression>
771
+            <expression>{Template OpenStack Cluster:db.services.offline.nova.query.last(0)}&gt;0</expression>
772 772
             <name>Nova service status offline test failed</name>
773 773
             <url/>
774 774
             <status>0</status>
@@ -778,7 +778,7 @@
778 778
             <dependencies/>
779 779
         </trigger>
780 780
         <trigger>
781
-            <expression>{Template OpenStack Cluster:db.services.offline.cinder.query.last(0)}>0</expression>
781
+            <expression>{Template OpenStack Cluster:db.services.offline.cinder.query.last(0)}&gt;0</expression>
782 782
             <name>Cinder service status offline test failed</name>
783 783
             <url/>
784 784
             <status>0</status>
@@ -788,7 +788,7 @@
788 788
             <dependencies/>
789 789
         </trigger>
790 790
         <trigger>
791
-            <expression>{Template OpenStack Cluster:db.services.offline.neutron.query.last(0)}>0</expression>
791
+            <expression>{Template OpenStack Cluster:db.services.offline.neutron.query.last(0)}&gt;0</expression>
792 792
             <name>Neutron service status offline test failed</name>
793 793
             <url/>
794 794
             <status>0</status>

Loading…
Cancel
Save