NetXMS Support Forum

English Support => General Support => Topic started by: sjudy on May 12, 2014, 03:10:43 PM

Title: Software Inventory Version Change
Post by: sjudy on May 12, 2014, 03:10:43 PM
I couldn't find this in any documentation or on the boards...
Was wondering if it is possible to trigger an alert if a specific software package version has changed?  For instance if SERVER X has IE 10.1.1400 and it updates, then reads IE 11.0.0000.  Can that trigger an alert?

Thanks in advance!
Title: Re: Software Inventory Version Change
Post by: Alex Kirhenshtein on May 12, 2014, 04:06:27 PM
Right now there are no proper way to do that. It's probably possible to make transformation script for the table, which will iterate over all rows, compare with previous value and and post events directly in circumvention of the threshold mechanism, but it will be quite a hack.
Right now I'd write a standalone script or application, which process records from tdata_* tables and then post events, either using "nxevent" command line tool or via Java/Jython API.
Title: Re: Software Inventory Version Change
Post by: Borgso on May 12, 2014, 04:24:15 PM
Isnt it possible to make a DCI collect program version (Using external parameter script, not sure if it exists a bultin function for this?) on intervall and use threshold "Diff with previous value"?
Title: Re: Software Inventory Version Change
Post by: Alex Kirhenshtein on May 12, 2014, 04:48:05 PM
Do you need to trigger on any change, or just some predefined list of software products?