Problem with resource.cfg macro definiton

Dean Bishop dbishop at ehvert.com
Tue Apr 8 22:39:39 CEST 2003


Perhaps it was a typo but you mention that you are trying to define $USER$1
and it should be $USER1$.  Please post a snippet of the resource.cfg so we
can have a look-see.

Later,
dean

-----Original Message-----
From: Gotner, James [mailto:jgotner at fhcrc.org] 
Sent: April 8, 2003 3:36 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] Problem with resource.cfg macro definiton


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


-------------------------------------------------------
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