How do I Install Longview on CentOS 8

Linode Staff

I'm not able to install Longview client on my CentOS 8 Linode. It keeps throwing out this error message.

[root@root ~]# curl -s https://lv.linode.com/E7F2F406-D8A4-406F-9219DAF0B035D0A0 | sudo bash
Longview Repo 435 B/s | 264 B 00:00
Errors during downloading metadata for repository 'longview':

Status code: 404 for https://yum-longview.linode.com/name="centos/VERSION="8"/noarch/repodata/repomd.xml (IP: 96.126.109.89)
Error: Failed to download metadata for repo 'longview': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

1 Reply

This error message is generated because CentOS 8 went EOL on 12/31/21, and the official repo was moved to vault.centos.org. Therefore, we do not keep mirrors for this anymore.

This means that even running the yum update command will produce the same error message and the workaround is to first use the repos from using CentOS 7 or CentOS Stream 8. Instructions on how to do that can be found in this community post.

Next, run yum update to update your packages and follow our Manual Longview Installation Guide to install Longview.

It can take several minutes for data to load and display in the Cloud Manager but once it does, you’ll see the graphs and charts populating with your Linode’s metrics.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct