Hi all,
would be nice to have template for putting items into map. We offten use same type of device and it is really hard to set everything same for 24 hosts. We offten use our scripts in url and we want to pass informations to them ({HOSTNAME},hostid,groupname etc.)
So it would be nice if map url and descriptions use macro substitution.
If there are templates, this job would be very easy.. I would want eg. to see latest value of some item instead of trigger status, eg. :
label: {HOSTNAME} {cisco:temp.last(0)}
url: /myscripts/labcontrol.php?host={HOSTNAME}
This template could save much time... Now I have to edit manualy each host and put right url to right item.
thanx!
would be nice to have template for putting items into map. We offten use same type of device and it is really hard to set everything same for 24 hosts. We offten use our scripts in url and we want to pass informations to them ({HOSTNAME},hostid,groupname etc.)
So it would be nice if map url and descriptions use macro substitution.
If there are templates, this job would be very easy.. I would want eg. to see latest value of some item instead of trigger status, eg. :
label: {HOSTNAME} {cisco:temp.last(0)}
url: /myscripts/labcontrol.php?host={HOSTNAME}
This template could save much time... Now I have to edit manualy each host and put right url to right item.
thanx!