# Telegraf for Suse SLES

**URL:** <https://community.influxdata.com/t/telegraf-for-suse-sles/376>\
**Category:** Systems\
**Created:** [March 27, 2017, 10:15pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376 "2017-03-27T22:15:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zare](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zare](https://community.influxdata.com/u/zare)\
**Post date:** [March 27, 2017, 10:15pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/1 "2017-03-27T22:15:10Z")

</div>

Hi,

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

> **[Installation | InfluxData Documentation](https://archive.docs.influxdata.com/telegraf/v1.2/introduction/installation/)**

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

Any feedback is appreciated.

Thanks,  
Gjorgji

---

<div class="post-metadata">

**Author:** ![jackzampolin](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jackzampolin/32/5_2.png) [@jackzampolin](https://community.influxdata.com/u/jackzampolin)\
**Post date:** [March 27, 2017, 10:23pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/2 "2017-03-27T22:23:47Z")

</div>

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

```auto
# 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?

---

<div class="post-metadata">

**Author:** ![zare](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zare](https://community.influxdata.com/u/zare)\
**Post date:** [March 27, 2017, 10:29pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/3 "2017-03-27T22:29:06Z")

</div>

Yes, the repo registers fine, but install gives:

Package ‘telegraf’ is not available in your repositories

---

<div class="post-metadata">

**Author:** ![zare](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zare](https://community.influxdata.com/u/zare)\
**Post date:** [March 27, 2017, 10:33pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/4 "2017-03-27T22:33:14Z")

</div>

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](http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Factory)

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 devel:languages:go@build.opensuse.org  
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.

---

<div class="post-metadata">

**Author:** ![jackzampolin](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jackzampolin/32/5_2.png) [@jackzampolin](https://community.influxdata.com/u/jackzampolin)\
**Post date:** [March 27, 2017, 10:35pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/5 "2017-03-27T22:35:32Z")

</div>

@zare Those repos are not maintained by us. They are maintained by [`openSUSE Build Service`](https://build.opensuse.org/). You might want to reach out to them.

Otherwise, if you can build golang projects, I would recommend [building from source](https://github.com/influxdata/telegraf#from-source). Does this help?

Jack

---

<div class="post-metadata">

**Author:** ![zare](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zare](https://community.influxdata.com/u/zare)\
**Post date:** [April 19, 2017, 6:28pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/6 "2017-04-19T18:28:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jackzampolin](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/jackzampolin/32/5_2.png) [@jackzampolin](https://community.influxdata.com/u/jackzampolin)\
**Post date:** [April 19, 2017, 6:43pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/7 "2017-04-19T18:43:06Z")

</div>

@zare Yes! We actually have the `.rpm` packages [available for download](https://influxdata.com/downloads).

---

<div class="post-metadata">

**Author:** ![zare](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zare](https://community.influxdata.com/u/zare)\
**Post date:** [April 19, 2017, 6:57pm UTC](https://community.influxdata.com/t/telegraf-for-suse-sles/376/8 "2017-04-19T18:57:18Z")

</div>

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.py build the rpm
