Hi all,
I try to monitor all of my linux hosts checking for the latest kernel installed.
My current trigger expression looks like this:
{myhost:system.sw.os[short].str({$LATEST_KERNEL})}=0
$LATEST_KERNEL is statically set either in the host object or by a template, which means whenever a new kernel is available I have to manually edit the host objects or the template.
I thought it would be handy to have some kind of reference host which holds the latest value populated by a zabbix_sender. I tried to change my trigger expression to something like this, but it seems that I cannot use an external reference as argument for str function?
{myhost:system.sw.os[short].str({Reference Values:linux.ubuntu.1604.latestkernel})}=0
I did not get any error messages, but the trigger does not get fired up.
The other option (but a bit more complex) would be to set the macro via api.
Did anyone else tried to monitor something like this, which can come in handy to monitor all kind of software versions?
--Michael
I try to monitor all of my linux hosts checking for the latest kernel installed.
My current trigger expression looks like this:
{myhost:system.sw.os[short].str({$LATEST_KERNEL})}=0
$LATEST_KERNEL is statically set either in the host object or by a template, which means whenever a new kernel is available I have to manually edit the host objects or the template.
I thought it would be handy to have some kind of reference host which holds the latest value populated by a zabbix_sender. I tried to change my trigger expression to something like this, but it seems that I cannot use an external reference as argument for str function?
{myhost:system.sw.os[short].str({Reference Values:linux.ubuntu.1604.latestkernel})}=0
I did not get any error messages, but the trigger does not get fired up.
The other option (but a bit more complex) would be to set the macro via api.
Did anyone else tried to monitor something like this, which can come in handy to monitor all kind of software versions?
--Michael
Comment