Foreman Katello

Dashboard

Dashboard is for prometheus, and it combines 2 metrics sources. Foreman metrics and node exporter systemd/disk/cpu collector. Monitors - cluster performance, service uptime, cpu/ram/disk
Last updated: a year ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 45

Reviews: 0

  • Selection_015.png
    Selection_015.png

Configure Prometheus to have 2 jobs and use labels, like this:

scrape_configs:

  • job_name: foreman_cluster_stats

    sample_limit: 60000

    scheme: https

    tls_config:

    insecure_skip_verify: true

    static_configs:

    • targets: ['foreman-master.example.com:443']

      labels: {location: 'eu-central-1', foreman_type: 'master', foreman_instance: 'foreman-master'}

  • job_name: foreman_server_stats

    sample_limit: 60000

    static_configs:

    • targets: ['foreman-master.example.com:3100']

      labels: {location: 'eu-central-1', foreman_type: 'master', foreman_instance: 'foreman-master'}

    • targets: ['foreman-smartproxy1.example.com:3100']

      labels: {location: 'eu-central-1', foreman_type: 'smartproxy', foreman_instance: 'foreman-smartproxy1'}

    • targets: ['foreman-smartproxy2.example.com:3100']

      labels: {location: 'us-east-1', foreman_type: 'smartproxy', foreman_instance: 'foreman-smartproxy2'}

Collector Configuration Details

--web.listen-address=:3100 --collector.diskstats --no-collector.arp --no-collector.bcache --no-collector.conntrack --collector.cpu --no-collector.edac --no-collector.entropy --no-collector.filefd --no-collector.hwmon --no-collector.infiniband --no-collector.ipvs --no-collector.mdadm --no-collector.netstat --no-collector.vmstat --no-collector.wifi --no-collector.nfs --no-collector.xfs --no-collector.zfs --collector.loadavg --collector.meminfo --no-collector.netdev --collector.time --collector.timex --collector.ntp --no-collector.stat --no-collector.sockstat --collector.systemd --no-collector.uname --collector.textfile --collector.textfile.directory='/var/node_exporter/metrics'