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

[SOLVED] SNMP not working on some devices

Scheduled Pinned Locked Moved SNMP
6 Posts 2 Posters 523 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.
  • M
    marcos20
    last edited by marcos20 Sep 2, 2024, 1:09 PM Sep 2, 2024, 12:25 PM

    Hello,

    I have been trying to monitor some of my clients' pfSense devices via SNMP using Zabbix, but SNMP only works for some clients, even though it is configured exactly the same way.

    What I did:

    • Enabled SNMP
    • Set the community
    • Selected the WAN interface
    • Created a rule on the WAN to allow requests to the WAN on port 161

    This same scenario was configured on several machines running pfSense, all on version 2.7.2. However, it only works on some, and there is nothing unusual in the logs for me to analyze. The WAN rule on devices where SNMP does not work does not show any connections/traffic.

    Has anyone experienced something similar? Or does anyone have any ideas on what could be the issue?

    Zabbix:
    54a559bf-342b-40ec-91cc-422675703c39-image.png
    SNMP config:
    d5989cbf-f8f3-4bb2-bf64-5701ea10e8cb-image.png
    WAN rules (on device that is not working):
    06e8b278-107e-42b9-b9f1-aa67c724b432-image.png

    1 Reply Last reply Reply Quote 0
    • M
      marcos20
      last edited by Sep 2, 2024, 1:06 PM

      Solved, just changed the default 161 port to a higher port and, somehow, it works

      R 1 Reply Last reply Sep 18, 2024, 1:22 AM Reply Quote 0
      • R
        Roberto Marcelino @marcos20
        last edited by Sep 18, 2024, 1:22 AM

        @marcos20 Hi.

        I'm having the same problem. I did NAT from port 61161 to WAN address 161 UDP and nothing. Can you explain in more detail how you configured it?

        M 1 Reply Last reply Sep 18, 2024, 2:33 PM Reply Quote 0
        • M
          marcos20 @Roberto Marcelino
          last edited by Sep 18, 2024, 2:33 PM

          @Roberto-Marcelino on services -> SNMP -> Polling Port change from default 161 to another port, then restart the service

          R 1 Reply Last reply Sep 19, 2024, 12:23 PM Reply Quote 0
          • R
            Roberto Marcelino @marcos20
            last edited by Sep 19, 2024, 12:23 PM

            @marcos20 Hello!

            I changed the port from 161 to 61161 and still the same problem. Zabbix doesn't recognize it.

            74203947-f275-4fbc-943d-3fb37edd31bd-image.png

            I tested in another monitoring environment (Observium) and managed to add pfSense through port 61161.

            pfSense has no specific rules for SNMP. There is a rule (Floating) where I enable ports coming from certain sources (IPs) to any port and destination in pfSense.

            3ddf631e-b559-42ea-b72b-cd7d955ab2d5-image.png

            Observium:
            08a7d973-84b7-4eed-9b9a-910abd6bc2a3-image.png

            Any ideas?

            M 1 Reply Last reply Sep 19, 2024, 4:56 PM Reply Quote 0
            • M
              marcos20 @Roberto Marcelino
              last edited by Sep 19, 2024, 4:56 PM

              @Roberto-Marcelino did you set the same community on pfsense snmp config and zabbix? Other than that, i think you just need to allow traffic from your zabbix to your wan interface on port 61161.
              After you do those things, try to create the host on zabbix again

              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]]