Read Up2Date Status from API or CLI

Hi,
 
I want to monitor the Up2Date-Status from my PRTG monitoring system, but I cannot find a way to read if there is an update available or not.
Any idea how to get this information out of the UTM via API or CLI?

Thanks in advance,
Dino
  • Hallo Dino,

    version|grep available

    Can you use that?

    Cheers - Bob

  • In reply to BAlfson:

    Yes, great! Didn't knew that 'version' also gives me this information.
    Now I use for example:

    version | grep -oP '(?<=Installed pattern version..: ).*'

    to get only the numbers.

    Do you know if this is also possible via the API?

    Thank you!