Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. SNMP Traps

SNMP Traps

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 13.9k Views
  • 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.
  • J
    J
    johanborch
    wrote on last edited by
    #1

    Hi,

    I'm new to netxms and I'm trying to get snmp traps to work. I have a device that is sending traps but netxms is not registering anything. EnableSNMPTraps is set to 1 on my control panel.

    I don't quite understand how to use netxms, for example graphing, do i really need to right click on every DCI to graph or can I get a page for a host that graps all interfaces?

    Is there a way to automatically create DCI's for all interfaces on a host, I found a guide on this forum but I don't quite understand how to add all interfaces to a template.

    Regards
    Johan

    1 Reply Last reply
    0
    • J
      J
      johanborch
      wrote on last edited by
      #2

      I can see the following listening ports:

      tcp        0      0 *:mysql                    *:*                        LISTEN
      tcp        0      0 *:4700                      *:*                        LISTEN
      tcp        0      0 *:4701                      *:*                        LISTEN
      tcp        0      0 *:http                      *:*                        LISTEN
      tcp        0      0 *:ssh                      *:*                        LISTEN

      1 Reply Last reply
      0
      • J
        J
        johanborch
        wrote on last edited by
        #3

        I can also see that traps i arriving to my netxms system.

        17:50:11.046342 IP (tos 0x0, ttl  63, id 36880, offset 0, flags [none], proto: UDP (17), length: 169) 1.1.1.1..63077 > 2.2.2.2.snmptrap:  { SNMPv2c C=public { V2Trap(127) R=297506224  system.sysUpTime.0=305468639 [|snmp] } }
        17:50:43.049687 IP (tos 0x0, ttl  63, id 36966, offset 0, flags [none], proto: UDP (17), length: 169) 1.1.1.1.63077 > 2.2.2.2.snmptrap:  { SNMPv2c C=public { V2Trap(127) R=297506267  system.sysUpTime.0=305471840 [|snmp] } }
        17:50:43.073372 IP (tos 0x0, ttl  63, id 36972, offset 0, flags [none], proto: UDP (17), length: 169) 1.1.1.1.63077 > 2.2.2.2.snmptrap:  { SNMPv2c C=public { V2Trap(127) R=297506268  system.sysUpTime.0=305471842 [|snmp] } }

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Did you see NetXMS listening on UDP port 162? If not, please post server's log file. If server is listening on port 162, try to set configuration variable LogAllSNMPTraps to 1, and check SNMP trap log. If you will see traps coming, then you just need to configure server to handle traps correctly. You can use this topic as a reference: https://www.netxms.org/forum/configuration/how-to-configure-snmp-traps-from-my-emc-box/.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • J
            J
            johanborch
            wrote on last edited by
            #5

            Hi,

            I forgot to restart the server deamon, I can see traps now.

            Do I need to manually add all possible traps? I added (via nxmibc) a lot of Juniper mibs, can't netxms automatically identify them, or where can I see my imported mibs?

            Regards
            Johan

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              Yes, you have to configure traps to events matching manually for each trap. Also, if you will go that way and create trap configuration for Juniper traps, it will be nice if you can export trap configuration and publish it here.

              Best regards,
              Victor

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups