Error when starting nagios in debug mode.

Gopinath gopinath.u at gmail.com
Thu Jan 25 14:54:26 CET 2007


Hi and happy new year everyone,

I am very new to this list & nagios. So please bare with me. I have
successfully installed and compiled nagios in my machine running Fedora core
3. When i try to start the nagios service I encounter with the following
error.

Error: Unexpected token or statement in file
'/usr/local/nagios/etc/hosts.cfg' on line 1.

My hosts.cfg file has the default value:

0 CFGDIR cfg
0 DEFHOST pc1 192.168.10.1.cfg serial0
0 DEFHOST pc2 192.168.10.1.cfg serial2
0 DEFHOST pc3 192.168.10.1.cfg serial3

I don't find any document in nagios doc page defining how to edit the
host.cfg file. So please help me out.

Regards,
Gopinath.U
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070125/4d034bc2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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