Use correct address in sensu check
diff --git a/rabbitmq/meta/sensu.yml b/rabbitmq/meta/sensu.yml
index 4fcc4aa..cd16341 100644
--- a/rabbitmq/meta/sensu.yml
+++ b/rabbitmq/meta/sensu.yml
@@ -27,7 +27,7 @@
     - {{ network.fqdn|replace('.', '-') }}
 {%- else %}
   remote_rabbitmq_server_tcp_{{ network.fqdn }}:
-    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_tcp -H {% if grains.ipv4[0] == '127.0.0.1' %}{{ grains.ipv4[1] }}{% else %}{{ grains.ipv4[0] }}{% endif %} -p 5672"
+    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_tcp -H {{ address }} -p 5672"
     interval: 60
     occurrences: 1
     subscribers:
@@ -44,4 +44,5 @@
     interval: 300
     occurrences: 3
     subscribers:
-    - {{ grains['fqdn']|replace('.', '-') }}
\ No newline at end of file
+    - {{ grains['fqdn']|replace('.', '-') }}
+