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. Problems with node monitoring with ping only

Problems with node monitoring with ping only

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 13.6k 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.
  • Z
    Z
    zscherlich
    wrote on last edited by
    #1

    Hello Support,

    We have a number of servers that we are successfully monitoring with NetXMS, but they all have a NetXMS agent installed.
    Now we want to monitor some servers only by ping, of all things this is causing us problems.

    We create a new node and enable only "ICMP ping for all polls".
    The node is created with an interface "unkown".
    At the node we set "Use ICMP ping on primary IP address to determine node status".
    A "Poll > Status" has the following output:

    10.01.2022 17:14:32] **** Poll request sent to server ****
    [10.01.2022 17:14:32] Poll request accepted, waiting for outstanding polling requests to complete...
    [10.01.2022 17:14:32] Starting status poll for node stragazer
    [10.01.2022 17:14:32]    Starting status poll on interface unknown
    [10.01.2022 17:14:32]      Current interface status is UNKNOWN
    [10.01.2022 17:14:32]      Starting ICMP ping
    [10.01.2022 17:14:32]      Interface is UNKNOWN for 5 polls (1 poll required for status change)
    [10.01.2022 17:14:32]      Interface status after poll is UNKNOWN
    [10.01.2022 17:14:32]    Finished status poll on interface unknown
    [10.01.2022 17:14:32] Checking primary IP address with ICMP ping
    [10.01.2022 17:14:32]    Primary IP address is not responding to ICMP ping
    …

    A ping to the node from the server with the NetXMS server works of course.

    What is missing in the configuration?
    The NetXMS server has version 3.9.420.

    Sincerely,

    Frank

    1 Reply Last reply
    0
    • Z
      Z
      zscherlich
      wrote on last edited by
      #2

      Hi all,

      Doesn't anyone have a clue for me?

      Sincerely,

      Frank

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

        Hi,

        on what OS server is running? If Linux, do you run it under root or under dedicated account?

        Best regards,
        Victor

        1 Reply Last reply
        0
        • Z
          Z
          zscherlich
          wrote on last edited by
          #4

          Hi,

          it's Linux with a dedicated account.

          Sincerely,

          Frank

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

            Then most likely netxmsd process cannot create raw sockets. You can grant it with command

            sudo setcap cap_net_raw=ep /usr/bin/netxmsd

            (use actual path to netxmsd)

            Best regards,
            Victor

            1 Reply Last reply
            0
            • Z
              Z
              zscherlich
              wrote on last edited by
              #6

              Hi,

              that is the solution, thank you very much!

              Sincerely,

              Frank

              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