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

monitoring pfsense with uptimerobot

Scheduled Pinned Locked Moved Firewalling
10 Posts 6 Posters 913 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.
  • P
    pfsense57352
    last edited by Jan 5, 2025, 5:31 PM

    I want to create a "dumb" port, that goes nowhere but keeps listening on specific port. Afterwards i would set up "uptimerobot" to check this port and will know when pfsense is online, when in goes offline.

    Could somebody help me with this? I've tried to make using chatgpt, tried some of suggestions but it did not worked out.

    J S 2 Replies Last reply Jan 5, 2025, 6:08 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @pfsense57352
      last edited by Jan 5, 2025, 6:08 PM

      @pfsense57352 why would you not just ping it?

      I have had monitor on uptime robot for years and years

      uptime.jpg

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      T 1 Reply Last reply Jan 6, 2025, 1:48 PM Reply Quote 0
      • T
        TravisH @johnpoz
        last edited by Jan 6, 2025, 1:48 PM

        @johnpoz I have done something similar, although maybe being paranoid I didn’t want to open my firewall up to the world. As an FYI uptimerobot have text files with their IP ranges, so you can use that as an alias, and just allow pings from one of their IP addresses

        https://uptimerobot.com/help/locations/

        G J 2 Replies Last reply Jan 6, 2025, 2:10 PM Reply Quote 0
        • G
          Gertjan @TravisH
          last edited by Jan 6, 2025, 2:10 PM

          @TravisH said in monitoring pfsense with uptimerobot:

          I didn’t want to open my firewall up to the world.

          Why to the world ?

          I use the (now ancient, I admit) munin to collect loads of info about my pfSense, and my Munin runs on some server somewhere on the Internet :
          It accesses my pfSense like this :

          babe94f4-8364-4c72-b7cb-be25a5b5783a-image.png

          where SYS is the IP of my server.

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

          T 1 Reply Last reply Jan 7, 2025, 10:04 AM Reply Quote 0
          • P
            pfsense57352
            last edited by Jan 6, 2025, 2:16 PM

            I found the solution. This is nice, as you can whitelist IP's and pfsense will not respond to ping's other than uptimerobot ip's.

            Take a look at this:

            https://blog.chriscarini.com/2021/04/external-monitoring-of-pfsense-with.html

            G 1 Reply Last reply Jan 6, 2025, 3:03 PM Reply Quote 0
            • G
              Gertjan @pfsense57352
              last edited by Jan 6, 2025, 3:03 PM

              @pfsense57352 said in monitoring pfsense with uptimerobot:

              you can whitelist IP's

              As I've said : create an firewall Alias (mine is called 'SYS') and fill it up with allowed IPs.
              Use this alias as a Source and you're good.

              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
              • J
                johnpoz LAYER 8 Global Moderator @TravisH
                last edited by Jan 6, 2025, 3:42 PM

                @TravisH yeah I have aliases that allow access to different things.. I allow the ips from status cake, uptime robot, plex check, etc.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • T
                  TravisH @Gertjan
                  last edited by Jan 7, 2025, 10:04 AM

                  @Gertjan I have done something similar with aliases. I wanted to be able to access some services from work and through Cloudflare proxy but not the wider internet, so added this in an alias, works well. Looks like they got the uptime robot stuff worked out :).

                  It’s a handy tool if you don’t have a server somewhere else and just want a simple ping test, I use it for all my work internet connections lol, so if someone says hey the phones are down (IP phones), I know right away it’s the internet or not lol.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tidori
                    last edited by Apr 16, 2025, 6:22 AM

                    I was looking to do something similar — basically keep a “dumb” port open so I could monitor when my pfSense is online or goes down. I found a simple solution that worked for me without needing to open the firewall or mess with exceptions.

                    What I did was just forward a random, unused port on my router to pfSense (doesn't need to serve any real service). Then, I used a service like Host-Tracker's port check https://www.host-tracker.com/en/ic/port-check to monitor it externally. It pings the port at intervals and alerts me if it goes offline. Super easy to set up, and it gives me the uptime info I need without exposing anything sensitive. Hope it helps!

                    1 Reply Last reply Reply Quote 0
                    • S
                      StealthNet @pfsense57352
                      last edited by Apr 26, 2025, 8:15 AM

                      @pfsense57352 I am new to pfsense and It might seem a bit overkill to install Home Assistant just to monitor pfsense, but the built in integration is really nice and I don't know your use case.

                      It even has an addon that runs locally called Uptime Kuma (basically an uptimerobot alternative).

                      The ha pfsense addon has a lot of sensors... just fyi here is a home assistant page where I get info from pfsense:

                      pfsenseha.jpg

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        [[user:consent.lead]]
                        [[user:consent.not_received]]