Page 1 of 1

Target Folder for config not there

Posted: Thu Jun 21, 2012 10:44 am
by dbl
At this step in quick start guide for Ubuntu 7.10

4) Customize Configuration
Sample configuration files have now been installed in the /usr/local/nagios/etc directory. These sample
files should work fine for getting started with Nagios. You’ll need to make just one change before you
proceed...
Edit the /usr/local/nagios/etc/objects/contacts.cfg config file with your favorite editor and change the email
address associated with the nagiosadmin contact definition to the address you’d like to use for receiving
alerts.
vi /usr/local/nagios/etc/objects/contacts.cfg

I followed the install for Ubuntu to the letter, at least I think I did. Just learned of Nagios yesterday. Setup Ubuntu 7.10 desktop as a VM using Virtual Box on an older XP host. I get to step quoted above from Quick start guide, but the folder, /usr/local/nagios/ , is not there, not hidden, just isn't there for me to further go down to find the contacts.cfg file

Any ideas?

Thank you in advance

Re: Target Folder for config not there

Posted: Thu Jun 21, 2012 12:52 pm
by lmiltchev
Were you able to perform successfully the first three steps?

Paths are different in different distros. Do you have "/etc/nagios3/" directory?

Try searching for "contacts.cfg" using "find" or "locate".

Hope this helps.