Is there a sensor I can use to monitor software version and flag if it doesn't match? I'm kind of thinking i would have to edit the server or script to specify the "green" value, then if the 20 servers I have are different it would display as red.
Article Comments
Somthing like this is what id be after wmic product where "name like 'mysoftwarename %%'" GET Version
This works and returns the version in cmd
Just tried it as a WQL but its a fail
Mar, 2021 - Permalink
Thank you for your feedback.
What query do you use? Does it follow the indication in our KB article https://helpdesk.paessler.com/en/support/solutions/articles/76000063329-how-do-i-create-a-wmi-custom-sensor ?
Here is a request which returns the version of a software:
Select Version from Win32_product WHERE Name='SoftwareName'
You can get a list of all software by using the PowerShell command Get-WmiObject -Class "Win32_Product"
Regards.
Mar, 2021 - Permalink
Hello,
Thank you for your message.
Regarding what you would like to achieve, I'm afraid that it's not possible to do so natively as PRTG only supports integer or float values.
However, you have the possibility to get the firmware version of your devices by using the [[https://www.paessler.com/manuals/prtg/snmp_custom_string_sensor|SNMP Custom String sensor] for example, and then have a custom script to get and all sensors message, with the API call below:
You can then process the data and return it via an EXE/Script Advanced sensor, all your devices (as channel) with the status Up to date / To update (with a custom lookup).
If you have questions, let us know.
Regards.
Mar, 2021 - Permalink