Installing Ubuntu and Debian Agent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JCheever
Posts: 10
Joined: Wed Apr 30, 2014 2:50 am

Installing Ubuntu and Debian Agent

Post by JCheever »

I am trying to install the Ubuntu Agent and ran into an issue with the command "Add-Apt-Repository" not being found, but I ran the command "apt-get install software-properties-common" which installed the command. I then proceeded to go through the PDF documentation.

Now I am receiving the error "W: Failed to fetch http://ppa.launchpad.net/nagiosinc/ppa/ ... 4/Packages 404 Not Found" when running the command Apt-get update.

The server is running Ubuntu 13.10.

Any thoughts?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing Ubuntu and Debian Agent

Post by lmiltchev »

We don't have a linux agent available for this distro, yet. We are updating the nagiosinc ppa as we speak. It may take several hours before it is completed. I would suggest you try installing the linux agent sometime later today or tomorrow. You can check the available distros here:

http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/dists/

Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
JCheever
Posts: 10
Joined: Wed Apr 30, 2014 2:50 am

Re: Installing Ubuntu and Debian Agent

Post by JCheever »

So the client doesn't support Ubuntu version 13.10?

Do you plan on updating a client for Ubuntu version 14.0 and greater? If so, when could we expect this?

Thank You.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing Ubuntu and Debian Agent

Post by lmiltchev »

Do you plan on updating a client for Ubuntu version 14.0 and greater? Do you plan on updating a client for Ubuntu version 14.0 and greater?
Yes, the packages are being built now. I am not sure, though, how long it would take. I believe you *should* be able to use the linux agent installer by tomorrow.
Be sure to check out our Knowledgebase for helpful articles and solutions!
JCheever
Posts: 10
Joined: Wed Apr 30, 2014 2:50 am

Re: Installing Ubuntu and Debian Agent

Post by JCheever »

Have you completed updating the nagiosinc ppa? Up to what version of Ubuntu should the Agent Support once completed?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing Ubuntu and Debian Agent

Post by lmiltchev »

Yes, it completed updating. The last three supported distros are "saucy", "trusty", and "utopic" - see below:

http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/dists/

Note: I tested the linux agent installer on ubuntu 13.10 and it seemed to work fine. One thing... the "iostat" package is not installed by default, so your "CPU Stats" check will fail. You will need to run the following command on the Ubuntu box to install "iostat":

Code: Select all

sudo apt-get install sysstat
Also, to exclude cached memory from the "Memory Usage" check and avoid false alerts, you may want to replace the "custom_check_mem" in the plugins' directory with the one listed on our FAQ wiki page here:

http://support.nagios.com/wiki/index.ph ... ree_Memory

Then pass the "-n" flag to your command.

I haven't tested any of the other distros. Hope this helps. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
JCheever
Posts: 10
Joined: Wed Apr 30, 2014 2:50 am

Re: Installing Ubuntu and Debian Agent

Post by JCheever »

I have completed the install of the Agent on the Ubuntu server, and all of the monitors are functioning correctly. However, I am not seeing "custom_check_mem" in the plugins' directory within Admin -> System Extensions -> Manage Plugins.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing Ubuntu and Debian Agent

Post by lmiltchev »

It has to be there... it is included by default. However, you need to modify the one that is on the remote box (Ubuntu client), not the one on your Nagios XI server, even though you can do both...

Can you find the plugin with "locate"?

Code: Select all

locate custom_check_mem
Be sure to check out our Knowledgebase for helpful articles and solutions!
JCheever
Posts: 10
Joined: Wed Apr 30, 2014 2:50 am

Re: Installing Ubuntu and Debian Agent

Post by JCheever »

Yes I located "custom_check_mem" within /usr/local/nrdp/plugins/SunOS on my Nagios Server, and found it within /usr/lib/nagios/plugins on the Ubuntu Server.

In order XI to use the plugin within CCM doesn't it need to be within /usr/local/nagios/libexec?

How should I overwrite the current "custom_check_mem" plugin with the one provided within the FAQ Wiki?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Installing Ubuntu and Debian Agent

Post by slansing »

Wait...what? I thought you were trying to check it on the remote host, you don't need it on the XI server to do that, simply use an agent like NRPE, NCPA, or use check_by_ssh...
I have completed the install of the Agent on the Ubuntu server, and all of the monitors are functioning correctly. However, I am not seeing "custom_check_mem" in the plugins' directory within Admin -> System Extensions -> Manage Plugins.
Locked