Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/: don't mention CentOS #10135

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 2 additions & 60 deletions doc/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,6 @@ apt update
```
<!-- {% endif %} -->

<!-- {% if centos %} -->
### CentOS Repository <a id="centos-repository"></a>

```bash
wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
```

The packages for CentOS depend on other packages which are distributed
as part of the [EPEL repository](https://fedoraproject.org/wiki/EPEL):

```bash
yum install epel-release
```
<!-- {% endif %} -->

<!-- {% if rhel %} -->
### RHEL Repository <a id="rhel-repository"></a>

Expand Down Expand Up @@ -212,7 +197,7 @@ You can install Icinga 2 by using your distribution's package manager
to install the `icinga2` package. The following commands must be executed
with `root` permissions unless noted otherwise.

<!-- {% if centos or rhel or fedora or amazon_linux %} -->
<!-- {% if rhel or fedora or amazon_linux %} -->
!!! tip

If you have [SELinux](22-selinux.md) enabled, the package `icinga2-selinux` is also required.
Expand All @@ -227,21 +212,6 @@ apt install icinga2
```
<!-- {% endif %} -->

<!-- {% if centos %} -->
<!-- {% if not icingaDocs %} -->
#### CentOS
<!-- {% endif %} -->
!!! info

Note that installing Icinga 2 is only supported on CentOS 7 as CentOS 8 is EOL.

```bash
yum install icinga2
systemctl enable icinga2
systemctl start icinga2
```
<!-- {% endif %} -->

<!-- {% if rhel %} -->
#### RHEL 8 or Later

Expand Down Expand Up @@ -339,17 +309,6 @@ apt install monitoring-plugins
```
<!-- {% endif %} -->

<!-- {% if centos %} -->
<!-- {% if not icingaDocs %} -->
#### CentOS
<!-- {% endif %} -->
The packages for CentOS depend on other packages which are distributed as part of the EPEL repository.

```bash
yum install nagios-plugins-all
```
<!-- {% endif %} -->

<!-- {% if rhel %} -->
<!-- {% if not icingaDocs %} -->
#### RHEL
Expand Down Expand Up @@ -437,7 +396,7 @@ Restart Icinga 2 for these changes to take effect.
systemctl restart icinga2
```

<!-- {% if amazon_linux or centos or debian or rhel or sles or ubuntu %} -->
<!-- {% if amazon_linux or debian or rhel or sles or ubuntu %} -->
## Set up Icinga DB <a id="set-up-icinga-db"></a>

Icinga DB is a set of components for publishing, synchronizing and
Expand Down Expand Up @@ -489,20 +448,6 @@ yum install icingadb-redis
```
<!-- {% endif %} -->

<!-- {% if centos %} -->
<!-- {% if not icingaDocs %} -->
##### CentOS
<!-- {% endif %} -->

!!! info

Note that installing Icinga DB Redis is only supported on CentOS 7 as CentOS 8 is EOL.

```bash
yum install icingadb-redis
```
<!-- {% endif %} -->

<!-- {% if debian or ubuntu %} -->
<!-- {% if not icingaDocs %} -->
##### Debian / Ubuntu / Raspberry Pi OS
Expand Down Expand Up @@ -616,9 +561,6 @@ you have completed the instructions here and can proceed to
<!-- {% if amazon_linux %} -->
[install the Icinga DB daemon on Amazon Linux](https://icinga.com/docs/icinga-db/latest/doc/02-Installation/01-Amazon-Linux/#installing-icinga-db-package),
<!-- {% endif %} -->
<!-- {% if centos %} -->
[install the Icinga DB daemon on CentOS](https://icinga.com/docs/icinga-db/latest/doc/02-Installation/02-CentOS/#installing-icinga-db-package),
<!-- {% endif %} -->
<!-- {% if debian %} -->
[install the Icinga DB daemon on Debian](https://icinga.com/docs/icinga-db/latest/doc/02-Installation/03-Debian/#installing-icinga-db-package),
<!-- {% endif %} -->
Expand Down
3 changes: 0 additions & 3 deletions doc/02-installation.md.d/05-CentOS.md

This file was deleted.

2 changes: 1 addition & 1 deletion doc/03-monitoring-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2729,7 +2729,7 @@ Requirements:
* Icinga 2 as client on the remote node
* icinga user with sudo permissions to the httpd daemon

Example on CentOS 7:
Example on RHEL:

```
# visudo
Expand Down
4 changes: 2 additions & 2 deletions doc/05-service-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ described. Try running the plugin after setup and [ensure it works](05-service-m
Prior to using the check plugin with Icinga 2 you should ensure that it is working properly
by trying to run it on the console using whichever user Icinga 2 is running as:

RHEL/CentOS/Fedora
RHEL/Fedora

```bash
sudo -u icinga /usr/lib64/nagios/plugins/check_mysql_health --help
Expand Down Expand Up @@ -111,7 +111,7 @@ Can't locate Net/SNMP.pm in @INC (you may need to install the Net::SNMP module)

Prior to installing the Perl module via CPAN, look for a distribution
specific package, e.g. `libnet-snmp-perl` on Debian/Ubuntu or `perl-Net-SNMP`
on RHEL/CentOS.
on RHEL.


#### Optional: Custom Path <a id="service-monitoring-plugins-custom-path"></a>
Expand Down
15 changes: 6 additions & 9 deletions doc/06-distributed-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ The setup wizard will ensure that the following steps are taken:
* Update the [ApiListener](06-distributed-monitoring.md#distributed-monitoring-apilistener) and [constants](04-configuration.md#constants-conf) configuration.
* Update the [icinga2.conf](04-configuration.md#icinga2-conf) to disable the `conf.d` inclusion, and add the `api-users.conf` file inclusion.

Here is an example of a master setup for the `icinga2-master1.localdomain` node on CentOS 7:
Here is an example of a master setup for the `icinga2-master1.localdomain` node:

```
[[email protected] /]# icinga2 node wizard
Expand Down Expand Up @@ -1031,9 +1031,7 @@ in `/etc/icinga2/icinga2.conf`.
> Defaults to disabled.

Now it is time to validate the configuration and to restart the Icinga 2 daemon
on both nodes.

Example on CentOS 7:
on both nodes:

```
[[email protected] /]# icinga2 daemon -C
Expand Down Expand Up @@ -1112,7 +1110,8 @@ Save the changes and validate the configuration on the master node:
```
[[email protected] /]# icinga2 daemon -C
```
Restart the Icinga 2 daemon (example for CentOS 7):

Restart the Icinga 2 daemon:

```
[[email protected] /]# systemctl restart icinga2
Expand Down Expand Up @@ -1221,9 +1220,7 @@ object ApiListener "api" {
```

Now it is time to validate the configuration and to restart the Icinga 2 daemon
on both nodes.

Example on CentOS 7:
on both nodes:

```
[[email protected] /]# icinga2 daemon -C
Expand Down Expand Up @@ -1285,7 +1282,7 @@ Save the changes and validate the configuration on the master node:
[[email protected] /]# icinga2 daemon -C
```

Restart the Icinga 2 daemon (example for CentOS 7):
Restart the Icinga 2 daemon:

```
[[email protected] /]# systemctl restart icinga2
Expand Down
2 changes: 1 addition & 1 deletion doc/11-cli-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ RPM and Debian packages install the bash completion files into

You need to install the `bash-completion` package if not already installed.

RHEL/CentOS/Fedora:
RHEL/Fedora:

```bash
yum install bash-completion
Expand Down
20 changes: 0 additions & 20 deletions doc/14-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -815,16 +815,6 @@ apt-get install icinga2-ido-mysql
default. You can skip the automated setup and install/upgrade the
database manually if you prefer.

###### CentOS 7

!!! info

Note that installing `icinga2-ido-mysql` is only supported on CentOS 7 as CentOS 8 is EOL.

```bash
yum install icinga2-ido-mysql
```

###### RHEL 8

```bash
Expand Down Expand Up @@ -914,16 +904,6 @@ apt-get install icinga2-ido-pgsql
You can skip the automated setup and install/upgrade the database manually
if you prefer that.

###### CentOS 7

!!! info

Note that installing `icinga2-ido-pgsql` is only supported on CentOS 7 as CentOS 8 is EOL.

```bash
yum install icinga2-ido-pgsql
```

###### RHEL 8

```bash
Expand Down
Loading
Loading