Hey all, I'm trying to get my switches configured in Nagios and I was trying to use the documentation at
http://nagios.sourceforge.net/docs/3_0/ ... uters.html
Unfortunately that information is dated because one of the steps involves changing nagios.cfg at /usr/local/nagios/etc/. My Nagios install doesn't have that path. I did find that file at /etc/nagios3/. Is there a web site that has current documentation for Nagios so I don't have to keep hunting for files? I'm also starting to wonder some about the accuracy of the steps in the instructions.
Thanks,
Joe B
Where can I find current documentation?
Re: Where can I find current documentation?
ALSO, the instructions say to make changes to the /usr/local/nagios/etc/objects/switch.cfg file but once again that file doesn't exist. There IS a switch.cfg at
/usr/share/doc/nagios3-common/examples/template-object/switch.cfg
Can I make changes to that file and then save it as /etc/nagios3/conf.d/switches_nagios2.cfg?
Thanks,
Joe B
/usr/share/doc/nagios3-common/examples/template-object/switch.cfg
Can I make changes to that file and then save it as /etc/nagios3/conf.d/switches_nagios2.cfg?
Thanks,
Joe B
Re: Where can I find current documentation?
I think I got is so never mind. I just used that switch.cfg file as a guide for making changes to nagios.cfg, hostgroups_nagios2.cfg and for creating a switches_nagios2.cfg file. Now I need to find a "generic-switch" template.
Thanks,
Joe B
Thanks,
Joe B
Re: Where can I find current documentation?
I'm guessing you might be running Debian or Ubuntu and you used the Nagios distro designed for that OS... If you do a compile from the source then the paths in the documentation are correct. The pre-compiled distribution versions sometimes have very different folder structures. Glad you managed to find what you were looking for though.
Re: Where can I find current documentation?
Yes, I'm running Debian Squeeze. For some reason I couldn't get a successful install from source. Now I just find out what file I need, look for it, move it over to my Nagios folder and use it from there.
Thanks,
Joe B
Thanks,
Joe B