I have a zabbix server monitoring a big number (7000+) of linux hosts, i had created an userparameter that get the version of a single package (rpm -qa | grep -i "$1"), and know that i can make a macro in the zabbix server with the 'correct' version for each specific package, something like {$FIREFOX_BROWSER_VERSION}=62. But to make this way i would need to create every item and macro and keep them updated.
One strategy would be to have an external source for the version of each package and keep each macro updated using the API, is this the best approach?
This could be easily done if there was a method to 'discover' the packages (like the disk partitions discovery) and a 'matrix' of macros to compare them
One strategy would be to have an external source for the version of each package and keep each macro updated using the API, is this the best approach?
This could be easily done if there was a method to 'discover' the packages (like the disk partitions discovery) and a 'matrix' of macros to compare them

Comment