Has anyone managed to get the Grafana dashboards working on Centos or Rocky?
I have tried several times over various versions and just given another hour to the task without any joy.
Following the guide and applying the Salt formula always fails on the targets I’ve tried, with:
ID: install_prometheus
Function: pkg.installed
Name: golang-github-prometheus-prometheus
Result: false
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit: run-r4cd5eeb15cd8494685380c6107f1045b.scope
Last metadata expiration check: 0:00:03 ago on Thu Mar 10 14:37:34 2022.
No match for argument: golang-github-prometheus-prometheus
Error: Unable to find a match: golang-github-prometheus-prometheus
Started: 14:37:18.669658
Duration: 20980.625
SLS: prometheus
Changed: {}
And indeed – the package is not called that on EL. It is supplied in the Epel repos (although on Centos 7 that appears to be broken – it does install fine manually on Rocky 8) – but the package is called
golang-github-prometheus - so always fails.
Anyone know how to work around this? I don’t have any Suse machines other than the one Uyuni runs on.
Manually, I always seem to get into configuration problems with Prometheus. It’s not software I’m familiar with and it does seem very fussy about syntax (something I’ve seen discussed at
https://github.com/uyuni-project/uyuni/issues/2082 )
I have an existing Grafana server that I’d like to be able to use this with.
Simon Avery
Linux Systems Administrator: ATASS Sports
Oxygen House | Grenadier Road,
Exeter Business Park | EX1 3LH
t: 01392 440 400
e:
simon.avery@atass-sports.co.uk
www.atass-sports.co.uk
Follow us on Twitter:
@atassSports
NOTICE
This email and any attachments confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient be advised that you have received this email in error and that any use, dissemination, forwarding, printing
or copying of this email is strictly prohibited. Please notify the sender immediately.
ATASS Ltd is incorporated in England and Wales with company number 04807405. See our website for further details and our privacy policy