I just noticed an oddity. The templates ship with items such as:
Free disk space on $1
This is a simple substitution, and replaces $1 with the first argument in the key, for example:
diskfree[c:]
Would make the above appear as :
Free disk space on c:
However, on the overview page that gives you a global data view, the macros are not substitued. For example, I have a host with 2 of the above (C: and D
, but only one shows, and it still displays as:
Free disk space on $1
This results in only one of the items showing. I took a look at the code that generates the items list, and noticed it calls distinct which would remove all the duplicated names so it'd only be left with one of the items.
Free disk space on $1
This is a simple substitution, and replaces $1 with the first argument in the key, for example:
diskfree[c:]
Would make the above appear as :
Free disk space on c:
However, on the overview page that gives you a global data view, the macros are not substitued. For example, I have a host with 2 of the above (C: and D
, but only one shows, and it still displays as:Free disk space on $1
This results in only one of the items showing. I took a look at the code that generates the items list, and noticed it calls distinct which would remove all the duplicated names so it'd only be left with one of the items.
Comment