Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Solved] Get actual version with shell

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dimix971
      last edited by Dimix971

      Hello,

      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?

      Cordially

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by Gertjan

        Hi,

        Something like this or borrow some code from this ?

        Also, document about console, option 12.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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     : renato@pfsense.com
          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 pkg query)

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • D
            Dimix971
            last edited by

            Hello,

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.