BigFix Relay Metrics

I just recently upgrade one of my Lab environments to BigFix 11.04 and I am hoping to implement enhanced monitoring rules for the Relay service using the brand-new Relay Metrics API.
However, I am not able to figure out how to access it. I am hitting the endpoint
https://BigFixDNS:52311/metrics

And nothing comes up. Is there any additional requirements to enable this API in our BigFix environment?

The metrics are on a different port number, let me find a reference.

Have a look at this: Metrics Collection and Visualization in BigFix 11.0.4 - Metrics Collection and Visualization in BigFix 11.0.4 Blog

Yeah, I was using that document, and in the config examples it seems to be using port 52311

targets: ["10.0.0.1:52311"]

But I am just not able to reach the metrics API.

In order to troubleshoot, you can start by pointing the browser locally to your relay
http://<your_relay>:52311/metrics
then remotely and finally using https

on my lab it prints metrics…

That is interesting. Did you need to authenticate?
I am getting a 403 error

403 -- Forbidden

Did you set it as authenticating relay? If so, try to disable it and confirm you can read metrics…

After disabling authentication for the relay service I am now able to read the metrics. However, that won’t work for us in our production environment where for security reasons we have all our relays as authenticating relays

You can use fixlets
5869 - TROUBLESHOOTING: Collect BES Relay metrics
5870 - TROUBLESHOOTING: Upload BES Relay metrics

to collect metrics offline and ingest into Prometheus.

2 Likes