New to Nagios - Need help with nagios.cfg

Allan Clark allanc at chickenandporn.com
Wed Feb 18 21:18:50 CET 2009


On Wed, Feb 18, 2009 at 15:07, Eric Chatham <echatham at broadvox.net> wrote:

> What files should I have under main/ and what files should be in the
> directory behind it?  Here is a tree example:
>
> [root@ ~ etc]# tree /opt/nagios/etc/
> /opt/nagios/etc/
> |-- cgi.cfg
> |-- cgi.cfg~


Aren't those two files the first duplicates?

Remove all *~ files -- I assume your editor created these.  Try again after:
# rm -i $(find /opt/nagios/etc -type f -name \*~ -print) && nagios -v
/opt/nagios/etc/nagios.cfg

Allan
http://community.nagios.org/wiki/index.php/LDAP-Configured_Nagios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090218/9b5d1f1d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list