Page 1 of 2
Nagios Core on Ubuntu LTS 10.04
Posted: Sat Jul 27, 2013 10:00 am
by bookie56
Hi Everyone!
New guy on the block...
I have tried several how to's and still having problems with a general install on the Ubuntu Server 10.04...
I have a test computer which I have installed Ubuntu 10.04 LTS on and then just ran sudo apt-get update.....with out upgrading any packages. I have tried to follow this how to from Mel Kham:
http://www.unixmen.com/install-nagios-u ... x-and-10x/
One thing that comes up as already existing:
Sudo mkdir /usr/local/nagos/etc
I continued with the rest of the How To using nagios-3.5.0 and nagos-plugins-1.4.16
I had a recursive error on installing the plugins...?
I ran preflight checks and nothing turned up...
On logging in to nagios I checked all hosts and services I found this error:
Code: Select all
[07-27-2013 16:31:21] SERVICE ALERT: localhost;HTTP;CRITICAL;HARD;1;(Return code of 127 is out of bounds - plugin may be missing)
Where do I start trying to fix this?
bookie56
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Sun Jul 28, 2013 6:56 pm
by jsmurphy
Have a look at the /usr/local/nagios/libexec dir... if it is empty then you need to install the nagios-plugins package which provides all of the default check executables.
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Mon Jul 29, 2013 2:15 am
by bookie56
Hi jsmurphy
I gathered that there was a problem with the fact that I had an error on installing the nagios plugins
I continued with the rest of the How To using nagios-3.5.0 and nagos-plugins-1.4.16
I had a recursive error on installing the plugins...?
I ran preflight checks and nothing turned up...
Why I am getting an error I don't know...
bookie56
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Mon Jul 29, 2013 10:43 am
by abrist
Try to reinstall the plugins, and when you get an error, post the error with the surrounding information relating to the failure.
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Mon Jul 29, 2013 10:44 am
by lmiltchev
Many times installing the nagios plugins fails if you don't have the "libssl-dev" package installed. Run the following command:
then try to install the plugins again.
Hope this helps.
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Tue Jul 30, 2013 2:22 am
by bookie56
Hi abrist!
OK! been a while since I had my head in a Linux machine
How would I post the error sequence from a server?
lmiltchev...
Well, I am glad you came by...that was the problem and now I have no errors showing from web interface...
Thank you
OK!
I think because of my title I have other questions here about Nagios on Ubuntu LTS 10.04...BUT if the management disagree then please say!
I appreciate there is an awful lot to read about nagios and I am wading through the pile...
What is the best web interface at the moment for nagios?
At the moment there are two machines that I will need to monitor and they are both running LTS 10.04 as far as I know. How do I monitor them from my computer which is outside of the network that both computers are on?
Is monitoring usually done via email? If so can someone guide me on that point?
With the standard nagios core install do I need to add any parameters for monitoring?
Sorry, for all the questions...Even if I am knew here I always think of others with similar questions and a general thread is almost always useful for others...
Thanks so far guys!
bookie56
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Tue Jul 30, 2013 9:58 am
by yancy
What is the best web interface at the moment for nagios?
Hands down the best web interface is NagiosXI
At the moment there are two machines that I will need to monitor and they are both running LTS 10.04 as far as I know. How do I monitor them from my computer which is outside of the network that both computers are on?
Sound like a passive agent would be best. Can both computers reach your Nagios machine?
Is monitoring usually done via email? If so can someone guide me on that point?
What do you mean by monitoring via email?
With the standard nagios core install do I need to add any parameters for monitoring?
You will need to add host and services depending on what you are monitoring. This will also need to be configured based on if you choose active or passive monitoring. Can you provide more detail on what you're looking to do?
-Yancy
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Tue Jul 30, 2013 11:50 am
by bookie56
Hi yancy
Sorry, got my knickers in a twist....and before you jump to conclusions...NO i don't wear them
OKI have two computers to monitor and I thought that they had to have nagios installed on both of them and I was looking at receiving emails at home to let me know if there is anything that needs attending to on the nagios machines...
Monitoring would probably be mostly hardware...
I understand the concept of passive and active - but how was you thinking...? I wont be actively working on the nagios machines...have a partner who will look after program development etc for the customer. I will be looking after hardware etc.
bookie56
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Tue Jul 30, 2013 12:46 pm
by mmiltchev
You only need to install Nagios on the server. You must install an agent (such as NRPE, NRDS, so on) on the computer you want to monitor and then configure the agent for active or passive checks.
-Michael
Re: Nagios Core on Ubuntu LTS 10.04
Posted: Tue Jul 30, 2013 4:41 pm
by bookie56
Hi mmiltchev
Thanks for the info....OK will check that out...
bookie56