-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
When trying to connect to Red Hat OpenShift, one has to directly access the provided API without port. Due to the fact, that the default port is set to 9090 and can't be blank it is not possible to use this plugin with RedHat OpenShift. For example:
Version: v0.1.0
For example:
sudo -u icinga ./check_prometheus -H ***.net query --query '***' --secure
[UNKNOWN] - Post "https://***.net:9090/api/v1/query": dial tcp ***:9090: connect: connection refused (*url.Error)
Should preferably just call http://***.net/api/v1/query because using 443 or 80 explicitly doesn't work.
sudo -u icinga ./check_prometheus -H ***.net query --query '***' -p 443 --secure
[UNKNOWN] - Post "https://***.net:443/api/v1/query": dial tcp ***:443: connect: connection refused (*url.Error)
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request