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. Monitoring Linux with dynamic ppp0 DSL Interface

Monitoring Linux with dynamic ppp0 DSL Interface

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 31.7k 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.
  • M
    M
    mlembke
    wrote on last edited by
    #1

    Hi,

    i need to monitor some Linux systems with dynamic ADSL Interfaces.
    Everytime the Interface goes down and comes up again, the ifindex changes and the Node has a new Interface ifindex: xxx Name: ppp0.

    Is there a way, that this Interface isn't created, just updated?

    Thanks,
    Markus


    Screenshot_ppp0.png

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

      Hi!

      Strange that old interfaces remains in interface list. Normally it should be deleted and new interface object with same name but different index created. Can you post output of

      nxget -l <server_ip> Net.InterfaceList

      before and after PPP session comes down and up again. It should not affect data collection because you can use interface names instead of indexes in all Net.Interface parameters.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        mlembke
        wrote on last edited by
        #3

        Hi Viktor,

        I'm sorry, but do i run nxget on my Server, proxy?
        The Linux system is monitored via snmp and not via NetXMS agent.

        Best regards
        Markus

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

          Hi!

          I was under impression that you are using NetXMS agent on server with ppp interfaces. Can you test what interface list returned by SNMP agent using SNMP walk? Like this:

          nxsnmpwalk -c community server_address .1.3.6.1.2.1.2.2.1.2

          I suppose that it is a bug in Linux snmpd which causes to return all previous instances of ppp interface along with current one.

          Another problem is changing interface index. I take a quick look inside ppp module in Linux kernel, and it looks like it assigns new interface index on each ppp connection setup. Because when you collect interface data via SNMP the only option to identify interface is by index, you cannot create simple DCI which will always work, because you'll need to change SNMP OID when interface index changes.

          The easiest way to solve this would be to install NetXMS agent on this Linux server - then you'll be able to gather data by interface name. Event if it's some kind of appliance installing NetXMS agent is most likely possible if you can access it's file system and execute commands.

          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