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. Announcements
  3. NetXMS 4.1 patch release 4.1.333

NetXMS 4.1 patch release 4.1.333

Scheduled Pinned Locked Moved Announcements
9 Posts 2 Posters 8.4k 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.
  • V
    V
    Victor Kirhenshtein
    wrote on last edited by
    #1

    Hi all!

    We just published patch release for version 4.1 - 4.1.333. Changes since previous release:

    • Added support for package type "zip"
    • Fixed incorrect label colors on dashboards after migration from 4.0
    • Minimum number of bytes required for MAC address search reduced to two
    • Reading of ipAddrTable and/or ipAddressTable during configuration poll can be disabled via custom attributes
    • Fixed server crash caused by incorrect value of configuration parameter ICMP.PingSize
    • Multiple fixes and improvements in new UI
    • Fixed issues:
              NX-2089 (Bundle prunmgr.exe with web-ui installer)
              NX-2250 (Show VLAN information on interface overview page)
              NX-2258 (No context menu on area of interactive dashboard graphs)

    Best regards,
    Victor

    1 Reply Last reply
    0
    • E
      E
      Egert143
      wrote on last edited by
      #2

      Hello

      After upgrade from 4.0.2151 to 4.1.333 i have noticed that "Evidence" switches show error message "Failed login: User: SYSTEM, from netxms:57774 (SSH)", but other switches dont show that error. Is it something driver related and how to turn it off?

      Egert

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

        Hi,

        version 4.1 attempts to detect SSH availability during configuration poll. Most likely other switches just don't report failed SSH login attempts, or they have valid credentials. If you don't need SSH access to problematic switches you can disable SSH polling in node properties on "Polling" page.

        Best regards,
        Victor

        1 Reply Last reply
        0
        • E
          E
          Egert143
          wrote on last edited by
          #4

          Is that correct behavior when ssh user and password haven't been inserter then NetXms will still try to connect?
          Also is there a way to mass disable ssh polling currently? Later when needed i can manualy activate it again.

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

            I just checked and there is a bug in SSH polling code - server attempts to connect with empty user name and password if nothing is set. We will fix it until next patch release.

            For disabling SSH polling you can use NXSL method enableSsh on node object - either add it to configuration poll hook or run once script that will enumerate all nodes and set SSH flag to false. Also, if you are not using SSH functionality, you can disable SSH subagent on server's local agent and on proxy nodes.

            Best regards,
            Victor

            1 Reply Last reply
            0
            • E
              E
              Egert143
              wrote on last edited by
              #6

              Thanks for the info. 🙂

              Will there be features with ssh in future, like some automation with ssh commands or similar?

              Egert

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

                Hi,

                Yes, I think we will use SSH more. Some automation with SSH is already possible - like execute command as a reaction for an event for example, or execute command from script and process output. One obvious direction for improvement is to introduce concept of SSH session to NXSL scripts and allow execution of multiple commands within single session.

                Best regards,
                Victor

                1 Reply Last reply
                0
                • E
                  E
                  Egert143
                  wrote on last edited by
                  #8

                  Is the ssh commands universal, i mean are they supposed to work with all ssh capable devices, or does it depend on device.

                  Any examples on ssh output processing?

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

                    Yes, they are universal. Below is ad-hoc example of script that reads DHCP leases from Mikrotik router and prints IP address of specific node, if found:

                    for(line : $node->executeSSHCommand("/ip dhcp-server/lease/print"))
                    {
                    	if (line->contains("raspberrypi") and line ~= '^\s?[0-9]+\s+([0-9.]+).*')
                    	   println("address:", $1);
                    }
                    

                    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