Page 1 of 1

Nagios agent installtion on Ubuntu in DMZ

Posted: Thu Jun 12, 2014 8:55 am
by RIDS_I2MP
Hi,

We are getting the below error while trying to install the Nagios agent on Ubuntu servers in DMZ environment.

# add-apt-repository ppa:nagiosinc/ppa
Error reading https://launchpad.net/api/1.0/~nagiosinc/+archive/ppa: <urlopen error [Errno 111] Connection refused>

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04

Do we have any pre-complied binaries for Ubuntu as well which we can copy on to the servers.

Re: Nagios agent installtion on Ubuntu in DMZ

Posted: Thu Jun 12, 2014 1:18 pm
by abrist
We provide ppas for ubuntu:
http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/dists/
For some reason the repo is not working correctly, so you may to grab the correct agent from teh link above.

Re: Nagios agent installtion on Ubuntu in DMZ

Posted: Fri Jun 13, 2014 3:31 am
by RIDS_I2MP
We have added the below url to sources.list

deb http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/ natty main
deb-src http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/ natty main

then we have run the apt-get-update and observed the below error.
W: GPG error: http://ppa.launchpad.net natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B18637BB5175BC68

Ignoring the error we tried to install the agent

# apt-get install nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
nagios-agent is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nagios-agent : Depends: nagios-nrpe-server but it is not going to be installed
Depends: nagios-plugins but it is not going to be installed
Depends: nagios-snmp-plugins but it is not going to be installed
Depends: gawk but it is not going to be installed
Recommends: libnagios-plugin-perl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

We are new to Ubuntu, hence request you to provide the complete steps to proceed with installation of the agent.

Re: Nagios agent installtion on Ubuntu in DMZ

Posted: Fri Jun 13, 2014 10:10 am
by abrist
We have a document on how to install the agent, but lauchpad's repo is not currently working. I have reached out to ubuntu, but I have not heard back. We are talking internally about providing our own debs, but I do not think we have moved forward with it yet. You may need to install from source:
http://assets.nagios.com/downloads/nagi ... and_XI.pdf

Re: Nagios agent installtion on Ubuntu in DMZ

Posted: Fri Jun 13, 2014 10:39 am
by RIDS_I2MP
Got the following error while ./configure

checking for SSL headers... configure: error: Cannot find ssl headers

Re: Nagios agent installtion on Ubuntu in DMZ

Posted: Fri Jun 13, 2014 10:48 am
by tmcdonald
You can tell it where the headers are:

http://stackoverflow.com/questions/1783 ... -libraries