Any real life examples of macros used in Items?
The online manual actually just a reference. Lots of facts but examples are slim. Even the macro examples in the forums come up as errors.
For example trying to make an item where the port is an user macro.
Description: TCP PORT
Type: Simple check
Key: tcp_perf,{TCP.PORT}
--> That gives the lovely error msg:
Error in item key: invalid character '{' at position 9
--> Same for : Key: tcp_perf,{$TCP.PORT}
Yes the answer may make me look like a fool. But real working... examples would help prevent stupid questions like mine. (Yes I have spent hours on the inadequate search function of this forum. By the way google finds phrases on this forum better).
The online manual actually just a reference. Lots of facts but examples are slim. Even the macro examples in the forums come up as errors.
For example trying to make an item where the port is an user macro.
Description: TCP PORT
Type: Simple check
Key: tcp_perf,{TCP.PORT}
--> That gives the lovely error msg:
Error in item key: invalid character '{' at position 9
--> Same for : Key: tcp_perf,{$TCP.PORT}
Yes the answer may make me look like a fool. But real working... examples would help prevent stupid questions like mine. (Yes I have spent hours on the inadequate search function of this forum. By the way google finds phrases on this forum better).
Comment