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. Action: pushover notification

Action: pushover notification

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 35.4k 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.
  • ?
    ?
    possamai
    wrote on last edited by
    #1

    I'm trying to setup  an action that uses the pushover service to notify me when something goes down.
    Pushover is an online service that sends notifications to the pushover app.
    I can use the following commandline to send such a notification

    /usr/local/bin/curl -s -F "token=SOME_ID" -F "user=SOME_OTHER_ID" -F "message=WebService down" -F "sound=gamelan" https://api.pushover.net/1/messages.json

    On the commandline of my FreeBSD server this works flawless..
    If I add it to the "actions configuration" -> "Execute command on management server" then nothing happens.

    Is there a way to find out what's going wrong?

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

      Hi!

      Try to set debug level to 5 and look for messages started with *actions* and RunCommandThread.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • ?
        ?
        possamai
        wrote on last edited by
        #3

        Is this the debuglevel for the server or the agent?
        The server doesn't seem to care about the debug option and the logs of the agent don't contain any of the keywords you mentioned..
        I guess it's not being triggered for some reason..
        I'll try figuring out what's going wrong.

        Am I right when I asume that the eventprocessor reads from 1 to end? or does it start at the bottom and end with 1 ?

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

          Debug level for server. How do you set it? You can also change debug level in runtime from server's debug console (accessible in management console via Tools -> Server console) by entering command

          debug 5

          make sure that you set logging to file (not Windows event log or syslog).

          Rules are processed from top to bottom.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • ?
            ?
            possamai
            wrote on last edited by
            #5

            tried 2 ways:
            1: add "DebugLevel = 5" to netxmsd.conf
            2: Add -D5 to commandline when starting it.

            Both do not result in extra text in the log.
            It does work for the agent btw....

            I'll try the server console way 🙂

            I fixed the initial problem though; apparently the action never got executed.
            I'm still trying to figure out why but I guess it's because of the order.. I put the event action on the top.
            I guess there's a rule halfway that stops the events from being processed any further.

            I added the action to the existing "SERVICE_DOWN" event and now it works like a charm.

            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