Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Nagios by following the steps here.

I wonder where will be config file are. I can see plenty of places files resides. For example I can see nagios.cfg in two places :

/usr/local/nagios/etc/nagios.cfg

and

/etc/nagios3

which I need to configure? And also there are two commands.cfg file :

/usr/local/nagios/etc/objects

and here :

/etc/nagios3/commands.cfg

I'm very much confused in configuring the files I need.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Nagios configuration file resides in /usr/local/nagios/etc/nagios.cfg

It is the base for all Nagios configuration files.

For detailed info please see Here

share|improve this answer
    
@batman If this answered your question, you may mark this answer as accepted. –  Mitch Jul 31 '12 at 11:28
1  
What do you mean by base for all? For all versions of nagios installed? Then what for: /etc/nagios3 ? –  batman Jul 31 '12 at 11:31
    
Till date I'm adding my .cfg file into /etc/nagios3/conf.d directory. And I can see my changes in web interface. Am I doing it correct? Can you clearly put up the difference between those directories? –  batman Jul 31 '12 at 11:44
    
The info is a lot. I've updated the answer above with a link of information about Nagios. –  Mitch Jul 31 '12 at 12:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.