Bläddra i källkod

added roles symlink for zabbix_setup, fixed URL to work with ZAIO instead of a test cluster instance.

Thomas Wiest 9 år sedan
förälder
incheckning
2762258206

+ 3 - 1
playbooks/adhoc/zabbix_setup/clean_zabbix.yml

@@ -2,7 +2,9 @@
 - hosts: localhost
   gather_facts: no
   vars:
-    g_zserver: http://oso-rhel7-zabbix-web.kwoodsontest2.opstest.online.openshift.com/zabbix/api_jsonrpc.php
+    # Use this for local ZAIO
+    g_zserver: http://localhost/zabbix/api_jsonrpc.php
+
     g_zuser: Admin
     g_zpassword: zabbix
   roles:

+ 1 - 0
playbooks/adhoc/zabbix_setup/roles

@@ -0,0 +1 @@
+../../../roles/

+ 3 - 1
playbooks/adhoc/zabbix_setup/setup_zabbix.yml

@@ -5,7 +5,9 @@
   - vars/template_heartbeat.yml
   - vars/template_os_linux.yml
   vars:
-    g_zserver: http://oso-rhel7-zabbix-web.kwoodsontest2.opstest.online.openshift.com/zabbix/api_jsonrpc.php
+    # Use this for local ZAIO
+    g_zserver: http://localhost/zabbix/api_jsonrpc.php
+
     g_zuser: Admin
     g_zpassword: zabbix
   roles: