Hello,
We are running Zabbix 7.0 LTS
I was able to create a Template to get for a specific process the following items values on Windows machines :
Service status (service.info)
Process CPU Usage in % (wmi query)
Process memory usage in % (wmi query)
Process ID (wmi query)
Now, what I would like is to create a generic Template to have the same items but based on three macros :
{$APP_NAME} => Name of the application to monitor, will be used in titles of template, discovery, Item prototypes ...
{$PROCESS_NAME} => Process name will be used in the WMI queries
{$SERVICE_NAME} => Service Name (will be used for service.info item)
If I understood well, no macro can be used to detect items, that's why I must use discovery and Item prototypes.
So I would like to create a discovery of processes
Based on this discovery, I would like to create Items prototypes using macros
I don't think it is usefull to create Items
Am I somewhere wrong ?
I am not asking you to give me the code, just to tell me if something is not possible in what I would like to implement.
We are running Zabbix 7.0 LTS
I was able to create a Template to get for a specific process the following items values on Windows machines :
Service status (service.info)
Process CPU Usage in % (wmi query)
Process memory usage in % (wmi query)
Process ID (wmi query)
Now, what I would like is to create a generic Template to have the same items but based on three macros :
{$APP_NAME} => Name of the application to monitor, will be used in titles of template, discovery, Item prototypes ...
{$PROCESS_NAME} => Process name will be used in the WMI queries
{$SERVICE_NAME} => Service Name (will be used for service.info item)
If I understood well, no macro can be used to detect items, that's why I must use discovery and Item prototypes.
So I would like to create a discovery of processes
Based on this discovery, I would like to create Items prototypes using macros
I don't think it is usefull to create Items
Am I somewhere wrong ?
I am not asking you to give me the code, just to tell me if something is not possible in what I would like to implement.
Comment