Nagios agent installtion on Ubuntu in DMZ

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Nagios agent installtion on Ubuntu in DMZ

Post 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.
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios agent installtion on Ubuntu in DMZ

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Nagios agent installtion on Ubuntu in DMZ

Post 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.
Thanks & Regards,
I2MP Team.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios agent installtion on Ubuntu in DMZ

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Nagios agent installtion on Ubuntu in DMZ

Post by RIDS_I2MP »

Got the following error while ./configure

checking for SSL headers... configure: error: Cannot find ssl headers
Thanks & Regards,
I2MP Team.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios agent installtion on Ubuntu in DMZ

Post by tmcdonald »

You can tell it where the headers are:

http://stackoverflow.com/questions/1783 ... -libraries
Former Nagios employee
Locked