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. E-mail notificaiton only for new alarms

E-mail notificaiton only for new alarms

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 16.5k 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
    Marcin
    wrote on last edited by
    #1

    Hi Victor,

    Problem:
    Due to technical failure, one of the network devices started sending SNMP traps to NetXMS every couple of seconds with information's about problem.
    NetXMS is configured to generate an alarm and one of the actions is to send an e-mail to the group of technicians.
    As a result NetXMS generated hundreds of emails during a very short period of time.

    Question:
    How we can limit number of e-mail send by NetXMS in relation to one alarm?
    Could we send email only when new alarm is created and not for subsequent alarms with the same key?

    Best regards,
    Marcin

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

      Hi,

      you can use scripting to store timestamp of first event in node's custom attributes, and for each subsequent event chech if it is too close to original one and only pass through if interval between them is sufficiently large.

      Best regards,
      Victor

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

        Thank you for a quick answer.

        Could we send email only when new alarm is created and not for subsequent alarms with the same key?
        I assume it's not possible.

        Is there a better way than using a Situation Manager and storing there timestamp of the event:
        processing rule: SetEventParameter($event, "eventtimestamp", $event->timestamp);
        situation attribute: %<eventtimestamp>
        and then comparing for each event stored timestamp by using FindSituation with current timestamp?

        "store timestamp of first event in node's custom attributes" - is it the same procedure as I described above?

        Best regards,
        Marcin

        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