Advertisement
Guest User

Untitled

a guest
Aug 7th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. ./log-monitoring-config.sh
  2. WARNING the configuration setting "scrape-jobs" already has the value "- job_name: 'k8s-api-endpoints'\n kubernetes_sd_configs:\n - api_server: 10.4.240.109\n role: endpoints\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n scrape_interval: 30s\n scheme: https\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n relabel_configs:\n - source_labels: [__meta_kubernetes_namespace, __meta_kubernetes_service_name, __meta_kubernetes_endpoint_port_name]\n action: keep\n regex: default;kubernetes;https\n- job_name: 'kubernetes-nodes'\n kubernetes_sd_configs:\n - api_server: 10.4.240.109\n role: node\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n scrape_interval: 30s\n scheme: https\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n relabel_configs:\n - action: labelmap\n regex: __meta_kubernetes_node_label_(.+)\n - target_label: __address__\n replacement: 10.4.240.109\n - source_labels: [__meta_kubernetes_node_name]\n regex: (.+)\n target_label: __metrics_path__\n replacement: /api/v1/nodes/$1/proxy/metrics\n- job_name: 'kubernetes-cadvisor'\n kubernetes_sd_configs:\n - api_server: 10.4.240.109\n role: node\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n scrape_interval: 30s\n scheme: https\n tls_config:\n insecure_skip_verify: true\n basic_auth:\n username: admin\n password: 4ZTlNIUiFHoI4q3U3i5KtyoY0tClIAXY\n relabel_configs:\n - action: labelmap\n regex: __meta_kubernetes_node_label_(.+)\n - target_label: __address__\n replacement: 10.4.240.109\n - source_labels: [__meta_kubernetes_node_name]\n regex: (.+)\n target_label: __metrics_path__\n replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor"
  3. unit-grafana-0:
  4. id: b706ec6d-d2e4-4b5a-8a50-9e0b98f5a9f7
  5. message: 'fork/exec /var/lib/juju/agents/unit-grafana-0/charm/actions/import-dashboard:
  6. permission denied'
  7. status: failed
  8. timing:
  9. completed: 2018-08-07 10:02:03 +0100 BST
  10. enqueued: 2018-08-07 10:02:03 +0100 BST
  11. started: 2018-08-07 10:02:03 +0100 BST
  12. unit: grafana/0
  13. unit-grafana-0:
  14. id: aafb9213-cd8c-4c90-8b35-7f03518391b7
  15. message: 'fork/exec /var/lib/juju/agents/unit-grafana-0/charm/actions/import-dashboard:
  16. permission denied'
  17. status: failed
  18. timing:
  19. completed: 2018-08-07 10:02:06 +0100 BST
  20. enqueued: 2018-08-07 10:02:05 +0100 BST
  21. started: 2018-08-07 10:02:06 +0100 BST
  22. unit: grafana/0
  23. WARNING the configuration setting "logstash_hosts" already has the value "10.4.240.110:5044"
  24. WARNING the configuration setting "vhost_http_template" already has the value "PExvY2F0aW9uICIvIj4KICAgIFJlcXVlc3RIZWFkZXIgc2V0IFgtR3JheWxvZy1TZXJ2ZXItVVJM\nICJodHRwOi8ve3tzZXJ2ZXJuYW1lfX0vYXBpLyIKICAgIFByb3h5UGFzcyBodHRwOi8ve3tncmF5\nbG9nX3dlYn19LwogICAgUHJveHlQYXNzUmV2ZXJzZSBodHRwOi8ve3tncmF5bG9nX3dlYn19Lwo8\nL0xvY2F0aW9uPgoKPExvY2F0aW9uICIvYXBpLyI+CiAgICBQcm94eVBhc3MgaHR0cDovL3t7Z3Jh\neWxvZ19hcGl9fS9hcGkvCiAgICBQcm94eVBhc3NSZXZlcnNlIGh0dHA6Ly97e2dyYXlsb2dfYXBp\nfX0vYXBpLwo8L0xvY2F0aW9uPgo="
  25. WARNING the configuration setting "elasticsearch_cluster_name" already has the value "elasticsearch"
  26.  
  27.  
  28. The Grafana UI is available at: http://10.4.240.109
  29. 10.4.240.109:3000.
  30.  
  31. Username is admin.
  32.  
  33. Retrieve the grafana password with: juju run-action --wait grafana/0 get-admin-password
  34.  
  35. The Graylog UI is accessible at: http://10.4.240.110
  36. 10.4.240.110/.
  37.  
  38. Retrieve the admin password with: juju run-action --wait graylog/0 show-admin-password
  39.  
  40. NOTE: Graylog configuration may still be in progress. It may take up to 5 minutes for
  41. the web interface to become ready.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement