Resolved: Problem with resource.cfg macro definito n
Gotner, James
jgotner at fhcrc.org
Tue Apr 8 23:06:52 CEST 2003
Scott,
Seems like it was a permissions problem... Thanks for the help.
Dean,
I see that my original resouce file that i copied from the samples dir
wasn't world readable (640), and I didnt think of this because I hand typed
all my other config files... Thanks.
James Gotner
Security Certified Network Professional
A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional
Certified Internet Webmaster Associate
Original Message:
Hello,
I have installed nagios and associated plugins, and have come across a
problem that I cannot resolve through searching the archives, or anywhere in
the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I
receive an error to the effect of 'Error: unexpected token or statement in
file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24
defines the $USER1$ macro which is defined as:
$USER1$=/usr/lib/nagios/plugins
I mv'd the resource.cfg-sample file to my config directory as resource.cfg,
and only changed the location of the plugin directory ($USER$1) within it.
Is there something that I am overlooking here? Thanks for any help..
James Gotner
Security Certified Network Professional
A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional
Certified Internet Webmaster Associate
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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