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. request for DCI alarm configuration support

request for DCI alarm configuration support

Scheduled Pinned Locked Moved Support
8 Posts 4 Posters 70.3k 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.
  • C
    C
    cserzs
    wrote on last edited by
    #1

    Hi,

    I would like to generate an alarm event when the string type results of an SNMP get polling process is become to a uniform series.

    e.g.

    alarm generation after 5 same results:
    SNMP GET 1. „sdffg” (alarm off)
    SNMP GET 2. „dfgghf” (alarm off)
    SNMP GET 3. „abab” (alarm off)
    SNMP GET 3. „abab” (alarm off)
    SNMP GET 4. „hujjklll” (alarm off)
    SNMP GET 5. „wq” (alarm off)
    SNMP GET 6. „wq” (alarm off)
    SNMP GET 7. „wq” (alarm off)
    SNMP GET 8. „wq” (alarm off)
    SNMP GET 9. „wq” (alarm on)
    SNMP GET 10. „wq” (alarm on)
    SNMP GET 11. „wq” (alarm on)
    SNMP GET 12. „wqq” (alarm off)
    SNMP GET 13. „wqq” (alarm off)
    ...

    How is possible to set a such alarm behaviour?

    Thank you in advance and best regards.

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      Use a Script DCI, and create the script to walk the appropriate OID tree and return a different value when the series occurs from when it doesnt accur.

      Then use a standard threshold to create threshold violation events.

      1 Reply Last reply
      0
      • C
        C
        cserzs
        wrote on last edited by
        #3

        Hi,

        Sorry but I don't understand exactly your suggestion.
        In my previous example the SNMP GET 1., SNMP GET 2. etc. values are the results of a normal DCI scheduled polling. I would like to detect the presence of a specific number of same values between the successive DCI results.

        BR.

        1 Reply Last reply
        0
        • A
          A
          Alex Kirhenshtein
          wrote on last edited by
          #4

          In threshold configuration:
          number of samples=5
          function: diff
          value: 0

          1 Reply Last reply
          0
          • C
            C
            cserzs
            wrote on last edited by
            #5

            Hi,

            Thank you very much for your reply. I already tested your suggested configuration but my experience is that the number of samples parameter in case of diff function doesn't affect anything. So, in each cases the alarm event come up after the second identical result independetly from the value of sample number parameter. My NetXMS version is v2.03.

            BR

            1 Reply Last reply
            0
            • C
              C
              cserzs
              wrote on last edited by
              #6

              Is there any solution?

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

                Yes, currently diff threshold ignores number of samples. I can make a patch for this (and I'll include this change into next release).

                Best regards,
                Victor

                1 Reply Last reply
                0
                • C
                  C
                  cserzs
                  wrote on last edited by
                  #8

                  Hi Victor,

                  Thank you very much for your support.
                  I am waiting for the new release.

                  BR, Zsolt

                  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