Add test for StackLight remote collectd

This change adds new checks to support StackLight. In this case the
remote collector runs two different collectd processes. One for
local check and another one for remote check with a different
configuration.

Change-Id: I7837a1b5e33c0497901ee21639515e576a22b7b8
diff --git a/collectd/meta/sensu.yml b/collectd/meta/sensu.yml
index 9445ffd..980c189 100644
--- a/collectd/meta/sensu.yml
+++ b/collectd/meta/sensu.yml
@@ -1,7 +1,22 @@
 check:
+{%- if pillar.collectd.get('remote_client', {}).get('enabled', False) %}
+  local_collectd_remote_client_proc1:
+    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C collectd -u root -c 1:2"
+    interval: 60
+    occurrences: 1
+    subscribers:
+    - local-collectd-remote_client
+  local_collectd_remote_client_proc2:
+    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C collectd -a /etc/remote_collectd/collectd.conf -u root -c 0:1"
+    interval: 60
+    occurrences: 1
+    subscribers:
+    - local-collectd-remote_client
+{%- else %}
   local_collectd_proc:
     command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C collectd -u root -c 1:1"
     interval: 60
     occurrences: 1
     subscribers:
     - local-collectd-client
+{%- endif %}