NRPE Installation (Ubuntu 18.04): Difference between revisions

From vwiki
Jump to navigation Jump to search
(Initial creation)
 
m (Typo fix)
 
Line 10: Line 10:
In order to fix you need to add the <code>universe</code> component to the OS repository source
In order to fix you need to add the <code>universe</code> component to the OS repository source
# Edit the repository sources file
# Edit the repository sources file
#* EG </code>sudo vi /etc/apt/sources.list</code>
#* EG <code>sudo vi /etc/apt/sources.list</code>
# Append <code>universe</code> to the first line (your file should look like the below)
# Append <code>universe</code> to the first line (your file should look like the below)
# Update the local cache
# Update the local cache

Latest revision as of 13:59, 2 November 2018

The default deployment of Ubuntu 18.04 (Bionic Beaver) does not allow installation of NRPE (package nagios-nrpe-server) without modifying the apt sources. Trying to install results in the following error

me@server:~$ sudo apt install nagios-nrpe-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nagios-nrpe-server

In order to fix you need to add the universe component to the OS repository source

  1. Edit the repository sources file
    • EG sudo vi /etc/apt/sources.list
  2. Append universe to the first line (your file should look like the below)
  3. Update the local cache
    • sudo apt update
  4. Install NRPE as normal
    • udo apt install nagios-nrpe-server
me@server:~$  cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main
deb http://archive.ubuntu.com/ubuntu bionic-updates main