NRPE Installation (Ubuntu 18.04)

From vwiki
Revision as of 13:59, 2 November 2018 by Sstrutt (talk | contribs) (Typo fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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