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

    Notifications...

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 411 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.
    • rcfaR
      rcfa
      last edited by

      There's a whole bunch of interesting configuration options for notifications.

      Unfortunately, to me, they are mostly useless. Why?

      Because the things that end up in notifications tend to be rather uninteresting.

      What I e.g. would like to be notified:

      • each time the WAN interface's DHCP assigned IP address changes

      • each time a VPN link goes down

      • each time a DynDNS update fails

      • each time a package has an update/new version

      • each time a new package becomes available

      These are the things I need to keep accessing the system respectively keep running up to date.

      In case I'm missing something, I'd he happy to learn if there are ways to configure such notifications...

      R GertjanG 2 Replies Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @rcfa
        last edited by

        @rcfa Zabbix is most likely going to be covering many of these things.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

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

          @rcfa said in Notifications...:

          each time the WAN interface's DHCP assigned IP address changes

          I'm using a " Services > Dynamic DNS > RFC 2136 Clients" myself, and I receive a mail when it updates.

          each time a DynDNS update fails

          Fails ?
          If it fails because WAN is down .... wonder how you want to receive the mail then.
          Because the some other issue DynDNS server side ?
          That needs some modifications here /etc/servcies.invc : function services_dnsupdate_process()
          Add your own mail notification lines.

          each time a package has an update/new version

          Have that :

          mer. 24 mai 07:01
          	
          Notifications in this message: 1
          ================================
          
          7:01:19 An update to pfSense version 23.05 is available
          
          The following updates are available and can be installed using System > Package Manager:
          
          acme: 0.7.3_1 ==> 0.7.3_2
          Netgate_Firmware_Upgrade: 0.56 ==> 23.05.00
          pfBlockerNG-devel: 3.2.0_4 ==> 3.2.0_5
          
          Some packages are part of the base system and will not show up in Package Manager. If any such updates are listed below, run `pkg upgrade` from the shell to install them:
          
          7-zip: 21.07_2 -> 22.01 [pfSense]
          bash: 5.2.2_1 -> 5.2.15 [pfSense]
          bind-tools: 9.18.8 -> 9.18.13 [pfSense]
          ca_root_nss: 3.83 -> 3.89 [pfSense]
          ccid: 1.5.0 -> 1.5.1 [pfSense]
          check_reload_status: 0.0.14 -> 0.0.15 [pfSense]
          .....
          

          There is a script on the forum that does this.

          each time a new package becomes available

          You mean : when something gets added or changed here : System > Package Manager > Available Packages ?
          AFAIK : that doesn't exist yet.
          But is very possible to create.

          each time a VPN link goes down

          Google : "notification when VPN goes down", I'm sure you'll find a script that can be adapted for your needs.

          Btw, with VPN you mean the OpenVPN client I guess. Not the OpenVPN server.
          Normally, when you really needs the OpenVPN client, you'll know that it is down, as all traffic is routed over that connection : when it breaks, your LAN has no Internet anymore. That doesn't goes unnoticed for very long time ;)

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.