As a first install and Nagios newbie, do yourself a favor and only use minimal.cfg. That basically combines all the other .cfg files in one basic, simple setup and is set to check certain local services on your Nagios box only. This will allow you to get a better understanding of how Nagios works. Later on, when you start adding more services to to other hosts, you’ll probably want to ditch minimal.cfg and start writing hosts.cfg and services.cfg for organizational purposes.
Now, what I meant by allowing users in your .htaccess files to see and do things on the web-int: you need to add them to a list of users. In minimal.cfg there should be settings in there for things like this:
You need to change so that the users you created with htpasswd are in this list. So let’s say you created user1 and user2. The entry should now read:
Take note: there are MULTIPLE settings like this one, and you’ll need to put those users in for every one of the settings you want them to have access to. Depending on your situation, you might want to have certain users be only able to see system information, but not execute commands, while your admin user would be able to do pretty much anything through the web-int. Look into the docs to see what all of these authorized_for_* values mean.
Anywhos, I believe minimal.cfg contains all that you’ll need to get started. So go into nagios.cfg and make sure to comment out EVERY cfg file except minimal.cfg. Leave everything else in nagios.cfg to the defaults. Best not to mess with that for now.
You’ve a bit of work ahead of you. When you post back, tell me everything you did and post the relevant snippets of your configs.
Edited Wed Jan 25 2006, 03:11AM ]