Linux/debian : checking package version

Hi,

Looking for some ideas…

We would need to check the version installed of a package… anything possible with the basic check already included?

I don’t know about such plugin but it’s very simple to create one. On a debian system just run dpkg-query -f '${Version}' -W <package> to query the version installed.

2 Likes

Maybe a bit late, but you might have a look at https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/deb-lastactivity to check for pending updates on Debian/Ubuntu, or any *-version plugin to check the version of a variety of specific applications.

Thanks for that @linuxfabrik , but to make sure, we need to know the version currently installed of a package not the last time the apt update/install was run.

We need to monitor the installed version of a specific package.