Gopinath wrote: > 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:
Erm, the last time I looked that's not a default Nagios host file :S > > 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. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" ------------------------------------------------------------------------- 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@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