[Solved] Get actual version with shell
Dimix971 last edited by Dimix971
I’m setting up a pfSense monitoring with Zabbix. With the command "pfSense-upgrade -cn | grep available | sed 's/^([0-9._]) ./\1/'", my server lifts me up
if an update is available. Nevertheless, I would like to improve the thing by recovering the version currently installed.
I'm sorry if the question has already been asked but I have not found a solution.
Is there such a command on pfSense?
Gertjan last edited by Gertjan
There are a variety of ways...
: cat /etc/version 2.4.4-RELEASE : cat /etc/version.patch 3
: pkg info pfSense pfSense-2.4.4_3 Name : pfSense Version : 2.4.4_3 Installed on : Sun May 19 21:42:45 2019 EDT Origin : security/pfSense Architecture : FreeBSD:11:amd64 Prefix : /usr/local Categories : security kld Licenses : APACHE20 Maintainer : firstname.lastname@example.org WWW : https://www.pfsense.org/ Comment : Meta package to install pfSense required ports Annotations : FreeBSD_version: 1102000 flavor : php72 repo_type : binary repository : pfSense Flat size : 10.2KiB Description : Meta package to install pfSense required ports WWW: https://www.pfsense.org/
(which you can refine via
Dimix971 last edited by
Sorry for this late response as a student and I'm not always at work.
Thank you very much for your help because that's exactly what I was looking for.