Error when starting nagios in debug mode.
Marc Powell
marc at ena.com
Thu Jan 25 16:12:54 CET 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Gopinath
> Sent: Thursday, January 25, 2007 7:54 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Error when starting nagios in debug mode.
>
>
> 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
This looks like an mrtgmk config file. Nagios doesn't understand these.
http://nagios.sourceforge.net/docs/2_0/config.html
--
Marc
-------------------------------------------------------------------------
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
_______________________________________________
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