-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/06/08 08:08 PM, Andrew Edwards wrote: > I have been recently working on upgrading my nagios1.0 install to 3.0.2 > and whenever I have my resources.cfg file included in the nagios.cfg > file I get > Error: Unexpected token or statement in file > '/usr/local/etc/nagios/resource.cfg' on line 37. > > and line 37 is where I define $USER1$ is defined and I get this error on > every $USERx$ that is defined. I'm installing on freebsd7 from ports > and the only thing I found searching online is a reference to a > minimal.cfg but I don't know how to tell if that's my problem.
I suggest you look for typos, misspelled macros, leading and trailing spaces in there... Otherwise make a copy of it with non-sensitive data, verify it still breaks and send it over (as attachment) for inspection. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIR0736dZ+Kt5BchYRAqWZAJ98ei+VzANd+hCv2GuhAHcMUprCyQCg4rWM TPo+slv27JG5LhMyHoiVaYg= =Dlsz -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list [email protected] 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
