Hi Franco,
Thanks for getting back to me. Are you able to narrow down the location of the text string that I am looking for? I have found a reference to "25.10_2" in the following location:
https://github.com/opnsense/changelog/blob/master/business/25.10/25.10
...towards the bottom with the line "A hotfix release was issued as 25.10_2:"
That means that I need to enumerate the folders in /business, identify the highest number, then enumerate that folder for the highest numbered file, then read the contents of that file to find a something that looks like a version number in the vicinity of the word "hotfix" (there could be multiple). This of course may be presented differently next time around. It would be much easier if there was a static location showing the latest available version.
An alternative would be if SNMP could tell me whether a hotfix was available. As the GUI console can tell me, why not SNMP too? I appreciate that I can just look in the GUI or manually check the forum etc BUT management of the OPNsense firewalls is a very small part of my job so automation is preferred.
For clarity, when this works, I have a green tick saying all good but if the running version does not equal the available version, it alarms, we run the updates.
Thanks,
Alan
Thanks for getting back to me. Are you able to narrow down the location of the text string that I am looking for? I have found a reference to "25.10_2" in the following location:
https://github.com/opnsense/changelog/blob/master/business/25.10/25.10
...towards the bottom with the line "A hotfix release was issued as 25.10_2:"
That means that I need to enumerate the folders in /business, identify the highest number, then enumerate that folder for the highest numbered file, then read the contents of that file to find a something that looks like a version number in the vicinity of the word "hotfix" (there could be multiple). This of course may be presented differently next time around. It would be much easier if there was a static location showing the latest available version.
An alternative would be if SNMP could tell me whether a hotfix was available. As the GUI console can tell me, why not SNMP too? I appreciate that I can just look in the GUI or manually check the forum etc BUT management of the OPNsense firewalls is a very small part of my job so automation is preferred.
For clarity, when this works, I have a green tick saying all good but if the running version does not equal the available version, it alarms, we run the updates.
Thanks,
Alan
"