Installing Ubuntu and Debian Agent
Installing Ubuntu and Debian Agent
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?
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?
Re: Installing Ubuntu and Debian Agent
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!
http://ppa.launchpad.net/nagiosinc/ppa/ubuntu/dists/
Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installing Ubuntu and Debian Agent
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.
Do you plan on updating a client for Ubuntu version 14.0 and greater? If so, when could we expect this?
Thank You.
Re: Installing Ubuntu and Debian Agent
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.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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installing Ubuntu and Debian Agent
Have you completed updating the nagiosinc ppa? Up to what version of Ubuntu should the Agent Support once completed?
Re: Installing Ubuntu and Debian Agent
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":
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!
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 sysstathttp://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!
Re: Installing Ubuntu and Debian Agent
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.
Re: Installing Ubuntu and Debian Agent
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"?
Can you find the plugin with "locate"?
Code: Select all
locate custom_check_memBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installing Ubuntu and Debian Agent
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?
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
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.