Page 1 of 1

Offline installation for Ubuntu Agent installation

Posted: Mon Nov 17, 2014 7:03 am
by iptribe
Hi All,

Currently, I need to install the Ubuntu Agent in my Ubuntu server (12.04 TLS with 64 bits) and I have read this user guide http://assets.nagios.com/downloads/nagi ... ios-XI.pdf . However, my server don't have any internet access and I can't use this method for installing the agent to my server. Is there any way for me to install it without internet?

Re: Offline installation for Ubuntu Agent installation

Posted: Mon Nov 17, 2014 11:37 am
by abrist
You may need to download the source and build locally or download the ppa and install it manually.

Re: Offline installation for Ubuntu Agent installation

Posted: Mon Nov 17, 2014 9:32 pm
by iptribe
Hi abrist,

Thanks for the reply. Would you mind show me the detail steps for downloading the ppa and install it manually?

Currently, I have downloaded the nagios-agent_1.0-2ppa3_all.deb file. Is it for me to install this file via this command

Code: Select all

sudo dpkg -i nagios-agent_1.0-2ppa3_all.deb
then the nagios agent will install properly?

Re: Offline installation for Ubuntu Agent installation

Posted: Tue Nov 18, 2014 10:48 am
by lmiltchev
Most probably the install will fail due to unresolved dependencies. From our documentation:
Finally, the third option available to you is to download the file directly like in option 2, and just run dpkg on it directly:

dpkg -i nagios-agent_1.0-2ppa2_all.deb

The downside to this approach is that it will throw an error at first and you will need to manually install all of the dependencies and try
again, and will not automatically get future versions of the package.
You could do this, but you will need to manually install the dependencies.