Telegraf for Suse SLES


Tried to install Telegraf on Suse SLES 11 SP3. Imported the repo based on:

But the repository does have Telegraf package (only InfluxDB).

Any feedback is appreciated.


@zare In the documentation it looks like there is a download for telegraf:

# add go repository
zypper ar -f obs://devel:languages:go/ go
# install latest telegraf
zypper in telegraf

Are you saying those installation instructions don’t work?

Yes, the repo registers fine, but install gives:

Package ‘telegraf’ is not available in your repositories

Here is the full output:

qa1-rac2:~ # zypper ar -f obs://devel:languages:go/ go
Adding repository ‘go’ [done]
Repository ‘go’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: /repositories/devel:/languages:/go/openSUSE_Factory - openSUSE Download

qa1-rac2:~ # zypper in telegraf
Retrieving repository ‘go’ metadata

New repository or package signing key received:
Key ID: AF4CFE4D307D7BF9
Key Name: devel:languages:go OBS Project
Key Fingerprint: B619E7E24D0ED061FA14343CAF4CFE4D307D7BF9
Key Created: Mon Feb 9 09:17:07 2015
Key Expires: Wed Apr 19 10:17:07 2017 (expires in 22 days)
Repository: go

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): a
Retrieving repository ‘go’ metadata [done]
Building repository ‘go’ cache [done]
Retrieving repository ‘SLES11-SP3-LTSS-Updates’ metadata [done]
Building repository ‘SLES11-SP3-LTSS-Updates’ cache [done]
Loading repository data…
Reading installed packages…
‘telegraf’ not found in package names. Trying capabilities.
No provider of ‘telegraf’ found.
Resolving package dependencies…

Nothing to do.

@zare Those repos are not maintained by us. They are maintained by openSUSE Build Service. You might want to reach out to them.

Otherwise, if you can build golang projects, I would recommend building from source. Does this help?


I’ve installed for source, but will like to make rpm. Looking at the script, is rpm build supported? I dont see that mapped to input switches

@zare Yes! We actually have the .rpm packages available for download.

Yes but they dont work correctly for Suse SLES 11. I found how to fix the pre and post install shell scripts, but cannot get the build the rpm