On-Demand Macros issue
Subhendu Ghosh
sghosh at sghosh.org
Wed May 25 18:07:22 CEST 2005
On Wed, 25 May 2005, Bryan Loniewski wrote:
> To answer my own question..
>
> After looking through the code, it appears what I want is not possible. The
> code seems to parse on the ":" and believes what follows it ($ARG1$) to be
> the hostname which is then passed to a function that looks up other
> attributes for that hostname in memory.
>
> Thus, the expansion of $ARG1$ is not possible inside an On-Demand macro.
>
> Would others find this useful if a patch is applied?
>
Submit away. I'm sure someone will find a use for it.
--
-sg
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
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