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. On Call Schedule

On Call Schedule

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

    Hello everyone!

    I am continuing NetXMS's implementation in our network and I am now facing a big question:

    How can I set up On-call alerts, just like Nagios did?

    What I want to achieve is:
    -Globally setup a user (target e-mail and SMS phone number) that will receive every alert for a given period of time
    -Switch between 2 users (the 2 SysAdmins) within a bi-weekly schedule
    -Make the email and sms alerts "repeatable" until acknowledged (I could not find the option "repeat event" in the events configuration...)

    What I have read that would be possible to do so far with NetXMS:
    -Setup 2 DCI's for every DCI that I have so far with a schedule for each user, so only the DCI's associated with a given user's schedule will fire events to send an email
    -Make a script that will receive every alert (SMS and e-mail) and dispatch them to the concerned user

    Is there some other solution that I am missing? Because the first one is kind of not efficient and the second one is basically creating an external tool to maintain...

    Thanks for any input/suggestions

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

      Why not just handle all of this in EPP with nxsl scripts?
      You can filter based on time and create really complex rules to fire emails/sms's, etc.

      There are already some examples on the forums and the wiki.

      1 Reply Last reply
      0
      • G
        G
        Guillaume
        wrote on last edited by
        #3

        Hello!

        First of all thanks for the lightning-fast response. I was aware of the scripting language specific to NetXMS, but did not know I could use it to bypass the mail and sms sending mechanisms.

        I did a brief research through the forums and the Wiki but did not find precise documentation on how exactly to fire an email and/or an sms with NXSL scripting. Could you give me some pointers on that specific subject?

        Also, is there a way to "read" a file from NXSL where I could put a schedule to use as an indicator of who's on guard duty?

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

          You need to handle everything within EPP (Event Processing Policy).

          General howto here:
          https://wiki.netxms.org/wiki/How_to_send_e-mail_notification_when_disk_space_is_low

          Then in the EPP filtering script, you need to filter out depending on the times you require.
          You can use these threads as an inspiration:
          https://www.netxms.org/forum/configuration/time-schedule-for-e-mail-notification/
          https://www.netxms.org/forum/configuration/notification-about-event-only-during-defined-period-of-time/

          More info on nxsl (NetXMS Scripting Language):
          https://wiki.netxms.org/wiki/Scripting_Guide

          More info on the 'time' class within nxsl:
          https://wiki.netxms.org/wiki/NXSL:TIME

          If you have more questions, either post here, or come visit us in the IRC channel 🙂

          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