Page 1 of 1

$USERn$ macros

Posted: Wed Apr 09, 2014 6:09 am
by sureshkraj2012
Hello Team,

How many user macros that Nagios XI can support?

~~~~~~~~~~~~
http://nagios.sourceforge.net/docs/3_0/ ... .html#user

The nth user-definable macro. User macros can be defined in one or more resource files. Nagios supports up to 256 user macros ($USER1$ through $USER32$).
~~~~~~~~~~~~

Links says 256 but it shows as $USER1$ through $USER32$. Is that supposed to $USER1$ through $USER256$?

Re: $USERn$ macros

Posted: Wed Apr 09, 2014 10:35 am
by abrist
sureshkraj2012 wrote:Links says 256 but it shows as $USER1$ through $USER32$. Is that supposed to $USER1$ through $USER256$?
256 is correct. The version in trunk is correct, so I will get those changes pushed out in the near future.

Re: $USERn$ macros

Posted: Sat Apr 12, 2014 8:29 am
by sureshkraj2012
Ok. Thank you!