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. Line chart changes while node down

Line chart changes while node down

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 15.8k 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.
  • D
    D
    dmayan
    wrote on last edited by
    #1

    Hi,

    Is there a way to make the line charts show when the node is down and no data is being collected? My issue look as following:

    I'm monitoring a lot of unstable wireless SM, and sometimes is difficult to quickly see if there are problems in the link. I tried with a transformation that brings the value to negative when node status goes to down, but since NetXMS stops collecting DCIs other than Status when the node goes down, it doesn't do anything.

    I hope you understand me, and sorry for my bad english,

    Greetings and keep up the amazing work,

    Diego

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

      Hi,

      it can be done with scripting DCI. Create script in the library which will do actual SNMP request using SNMPGetValue function, and return either obtained value, or -1 if null was returned (which indicates an error). Script example:

      value = SNMPGetValue($node, ".1.3.6.1.2.1.1.1.0"); // put actual OID here
      return (value != null) ? value : -1;
      

      or you can make a universal script and pass OID as parameter:

      value = SNMPGetValue($node, $1);
      return (value != null) ? value : -1;
      

      and use it like this:

      MyScriptName(.1.3.6.1.2.1.1.1.0)

      Best regards,
      Victor

      1 Reply Last reply
      0
      • D
        D
        dmayan
        wrote on last edited by
        #3

        Thank you for answering Victor!!

        Can I do the same with internal Ping parameter? I was searching in the NXSL guide but I can't find it.

        Greetings,
        Diego

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

          No, currently you cannot read internal parameter from NXSL.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • D
            D
            dmayan
            wrote on last edited by
            #5

            Victor,

            I'm trying the script, but it returns a string, wich I cannot graph

            Edit: It is graphing in the line chart, but on the performance tab I'm getting an invalid operation error

            Greetings, Diego

            1 Reply Last reply
            0
            • D
              D
              dmayan
              wrote on last edited by
              #6

              Unchecking "Logarithmic scale" got it working.

              Maybe a bug?

              Many thanks,

              Diego

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

                Logaritmic scale is not working if series contains negative values (because you cannot get logarithm of negative value).

                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