Install NRPE client on Ubuntu 16.04.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
computerone
Posts: 21
Joined: Thu Jan 03, 2013 9:04 pm

Install NRPE client on Ubuntu 16.04.2

Post by computerone »

Hi Support,

I am having difficulty installed NRPE client on Ubuntu server. Below is the install.log file. Can you please let me know how to fix this issue?


Err:36 https://packages.vmware.com/packages/ubuntu precise Release.gpg
The following signatures were invalid: KEYEXPIRED 1500966000
Fetched 5,612 kB in 5s (996 kB/s)
Reading package lists...
W: https://packages.vmware.com/packages/ub ... elease.gpg: Signature by key 36E47E1CC4DCC5E8152D115CC0B5E0AB66FD4949 uses weak digest algorithm (SHA1)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.vmware.com/packages/ubuntu precise Release: The following signatures were invalid: KEYEXPIRED 1500966000
W: Failed to fetch https://packages.vmware.com/packages/ub ... elease.gpg The following signatures were invalid: KEYEXPIRED 1500966000
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
gawk is already the newest version (1:4.1.3+dfsg-0.1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
autoconf : Depends: m4 (>= 1.4.13)
Recommends: automake but it is not going to be installed or
automaken
gcc : Depends: cpp (>= 4:5.3.1-1ubuntu1) but it is not going to be installed
Depends: gcc-5 (>= 5.3.1-3~) but it is not going to be installed
Recommends: libc6-dev but it is not going to be installed or
libc-dev
libmcrypt-dev : Depends: libmcrypt4 (= 2.5.8-3.3) but it is not going to be installed
libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.12) but 1.0.2g-1ubuntu4.6 is to be installed
Depends: zlib1g-dev but it is not going to be installed
Recommends: libssl-doc but it is not going to be installed
linux-image-extra-4.4.0-89-generic : Depends: linux-image-4.4.0-89-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-89-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
sysstat : Depends: libsensors4 (>= 1:3.0.0) but it is not going to be installed
Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nagios Linux Agent Installation Log


Thanks,
Khawar Syed
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Install NRPE client on Ubuntu 16.04.2

Post by mcapra »

I would try fixing your expired GPG keys, or removing the vmware related repositories from APT, then attempting to install NRPE again.

I would also make sure APT is pointed to the correct PPAs and can access common packages like cpp. There are some standard Linux packages that NRPE requires, so if the VMWare repository is the only one configured in APT that will cause some issues.
Former Nagios employee
https://www.mcapra.com/
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install NRPE client on Ubuntu 16.04.2

Post by lmiltchev »

I also believe you need to remove the vmware related repositories, which are causing the error. After this, run:

Code: Select all

apt-get clean
apt-get update
then proceed with the installation of the linux agent by following the document below:
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
computerone
Posts: 21
Joined: Thu Jan 03, 2013 9:04 pm

Re: Install NRPE client on Ubuntu 16.04.2

Post by computerone »

Thanks, I will try it on server and will update the post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Install NRPE client on Ubuntu 16.04.2

Post by tmcdonald »

Sounds good, let us know
Former Nagios employee
computerone
Posts: 21
Joined: Thu Jan 03, 2013 9:04 pm

Re: Install NRPE client on Ubuntu 16.04.2

Post by computerone »

All good now. Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Install NRPE client on Ubuntu 16.04.2

Post by scottwilkerson »

Glad to hear it is resolved. Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked