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. Service UP/Down and emails

Service UP/Down and emails

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 13.7k 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.
  • R
    R
    Rabid
    wrote on last edited by
    #1

    I am testing out NetXMS and so far I like it.  I do have a couple of questions.  I have set up a DCI for a random service.  This part works.  0 for service is running and 6 for service is down.  Under Thresholds for this DCI I have added one threshold with the following settings:

    last polled value
    1 samples
    will be equal to 6

    if true "sys_service_down"
    when becomes false "sys_service_up"

    use default settings

    Under actions I created two new actions.  One is Service Down set to email me.  One is called Service Up which is also set to email me.

    Under the Event Processing Policy for the event "sys_service_down/sys_service_unknown" I added the action service down (the action to email me).

    Under the Event Processing Policy for the event "sys_service_up" I added the action service up (the action to email me).

    When the service goes down, I get a red dot to the side of the node and I get my service down email.  When the service goes back up the red dot goes away and I do NOT get an email. 

    I have two questions.  First how do I get NetXMS to email me once the service comes back up.  Second, instead of having the event go into the master event log, how do i get it to show up under the alarm for that node?  I have looked in the manual and there doesnt appear to be any examples.  Any help would be appreciated.

    Will there be reporting any time in the future?

    1 Reply Last reply
    0
    • R
      R
      Rabid
      wrote on last edited by
      #2

      Seems the Up email works now.  I guess I didnt save it.  Now my only question is about having the alarms show up under the alarms tab for the node, instead of the master event log.

      Another question, if a node goes offline and I am monitoring 20 services, will i get an email on each one?  Or is there a way to make the 20 monitored services dependant on the node being up?

      Thanks

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

        Because you are monitoring services using DCIs, you will not get service down events in case of entire node down, because there will be no new values for DCI, and therefore no events will be triggered. Btw, it is not recommened to use SYS_xxx events in thresholds - they are generated by server in various situations, and you can get unexpected results. SYS_SERVICE_DOWN and SYS_SERVICE_UP generated by server during status poll of network services. Until you are not using network service objects, you are fine, but if you eventually configure some, you will get unexpected events. Better approach is to create your own events.

        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