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

    Installed Packages Notification

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 7 Posters 2.0k 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.
    • Raffi_R
      Raffi_ @bmeeks
      last edited by

      @bmeeks said in Installed Packages Notification:

      @Raffi_ said in Installed Packages Notification:

      I think there should be a big red warning on the Installed packages tab when pfsense itself has an update available. Or better yet grey out the update buttons when pfsense has an update available. This doesn't prevent people from doing it via CLI but I personally always update via the GUI buttons. I'm guessing most users do as well.

      That would make an excellent Feature Request for the pfSense Redmine Site. Here is the URL: https://redmine.pfsense.org/projects/pfsense.

      👍 Someone beat me to it. I went in and +1ed the request. Hopefully others will too.
      https://redmine.pfsense.org/issues/10464

      1 Reply Last reply Reply Quote 1
      • N
        newUser2pfSense
        last edited by newUser2pfSense

        Gertjan...thank you for the reply. I don't think the cron image is being displayed from the first snippet of code. Did you mean to show the cron entry for this code in an image? Thanks.

        Create a cron entry like :
        
        ![eb2c5802-f679-4329-8eec-d565cb94fa30-image.png](/assets/uploads/files/1606810338178-eb2c5802-f679-4329-8eec-d565cb94fa30-image.png) 
        
        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @newUser2pfSense
          last edited by

          @newUser2pfSense : Corrected !

          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
          • N
            newUser2pfSense
            last edited by

            Gertjan...Thank you! I appreciate your time.

            N 1 Reply Last reply Reply Quote 0
            • N
              newUser2pfSense @newUser2pfSense
              last edited by newUser2pfSense

              Gertjan...Just a followup to say it works. Thank you.

              1 Reply Last reply Reply Quote 0
              • GertjanG Gertjan referenced this topic on
              • V
                Viper_Rus
                last edited by Viper_Rus

                And how to modify this script so that notifications come to telegram?

                And it would be nice if it reported about the appearance of an update for pfSense itself

                Raffi_R GertjanG 2 Replies Last reply Reply Quote 0
                • Raffi_R
                  Raffi_ @Viper_Rus
                  last edited by

                  @Viper_Rus said in Installed Packages Notification:

                  And how to modify this script so that notifications come to telegram?

                  And it would be nice if it reported about the appearance of an update for pfSense itself

                  No idea about telegram, but I can confirm this script does send a notification about updates to pfsense itself.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    If it's sent via the included notify functions then it should appear on all configured notification methods.

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

                      @Viper_Rus said in Installed Packages Notification:

                      And how to modify this script so that notifications come to telegram?

                      Locate the last line in the script :

                          notify_via_smtp($msg);
                      

                      replace it with

                          notify_all_remote($msg)
                      

                      @Raffi_ said in Installed Packages Notification:

                      And it would be nice if it reported about the appearance of an update for pfSense itself

                      It does.
                      An update can be a core FreeBSD package, a pfSense package and also an 'OS' (= pfSense update).

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

                      V 1 Reply Last reply Reply Quote 2
                      • V
                        Viper_Rus @Gertjan
                        last edited by Viper_Rus

                        @Gertjan

                        Thanks!!!!!

                        At the moment I have everything updated. But to check the script, I run: "/usr/local/bin/php -q /root/pkg_check.php" manually. The answer is:
                        "pfSense version 23.05.1 (installed) is current"

                        This is fine? Now wait for some kind of update? :)

                        1 Reply Last reply Reply Quote 0
                        • GertjanG Gertjan referenced this topic on
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.