USERn macros in 2.0b4

Philip Chase pbc at phhp.ufl.edu
Tue Oct 11 19:06:57 CEST 2005


I am trying to use user-definable macros in Nagios 2.0b4 with no luck.  This line:

$USER1$=/usr/lib/nagios/plugins

produces this error on my preflight check:

  Error: Unexpected token or statement in file '/etc/nagios/local/resource.cfg' on line 26.

Did the syntax for defining user-definable macros change in 2.x?  I can't find any text in the 2.x manual that says how to define these macros, but given 2.x's penchant for syntax like

define thingie {
	thingie_name	foo
	thingie_value	bar
	}

I bet the "thingie_name=thingie_value" syntax is now completely obsolete.

If this is an RTFM can someone give me a URL, because I just can't find it.

Philip



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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