Link to home
Start Free TrialLog in
Avatar of scripttron75
scripttron75

asked on

Using Nagios on ubuntu 8.04

I recently followed a guide on installing the latest nagios on my ubuntu desktop.  is there a manual or an easy way to use it. what can i follow to get things setup.  
ASKER CERTIFIED SOLUTION
Avatar of Fabio Marzocca
Fabio Marzocca
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Nagios is a little complicated to visualise where the config files do what...

I find it helps to draw a map of the /etc/nagios/conf.d folder and how services, hosts and hostgroups fit together.  

Also, I find it useful to create separate config files for internal and external hosts... so for example I have a hosts_internal.cfg and a hosts_external.cfg

I believe there are some example files on a Hardy install, copy these (in fact I printed them and drew lines between the criteria on my first install).  This will help you to understand the relationships.....

Also have a look though the manual online...http://nagios.sourceforge.net/docs/2_0/toc.html

Don't be dishearted if it seems complicated as Nagios is a really powerful tool that can be used very simply or can monitor in great detail :)

Avatar of scripttron75
scripttron75

ASKER

Thanks for that Roachy, I am only using this on my LAN home network, for studying and learning purposes.  i will follow the guide.  when you say though to create a config file is it from scratch?
I'll confirm this when I get to the office this morning, but I think in /etc/nagiosx/conf.d you'll have a load of files already.  One of which will be the hosts.cfg - I tend to rename that to hosts_internal.cfg and create another identical file called hosts_external.cfg.  This isn't necessary though, I just find it helps if you're checking large numbers of hosts!

Basically, work with the default files while you learn, I think - seeing as this is for studying purposes, there's no harm in starting with an easy configuration and building on it.