Hello all!
I have created an item for updates/packages for Linux systems, which returns a text list of the packages and respective version.
I want to create a trigger that alerts when this item returns any text, but I can't get a trigger to work. I know that the item works as when I visit "Latest Data" I can see the text list of packages there.
Thanks so much!
Here's what I'm using for the item
I have created an item for updates/packages for Linux systems, which returns a text list of the packages and respective version.
I want to create a trigger that alerts when this item returns any text, but I can't get a trigger to work. I know that the item works as when I visit "Latest Data" I can see the text list of packages there.
Thanks so much!
Here's what I'm using for the item
Code:
UserParameter=system.sw.debianupdates-list,apt-get dist-upgrade -s |sed -n 's/^Inst \(.*\) (.*/\1,/p' | tr '\n' ' '
Comment