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. XMPP Problem

XMPP Problem

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

    Hi,

    I'm new to NetXMS and I'm trying to set up XMPP alerts, but - until now - without success.

    What I did:

    • set up a xmpp server named jabber.***.net on a vps (ejabberd)

    • created two users on ejabberd : dj (admin) + srv (server)

    • created an action named "xmpp test action" to send messages to user dj@jabber.***.net

    • created a new event processing policy with number 1 to trigger the "xmpp test action" on any event from a specific node

    After setting the DebugLevel to 6 I can see that the event processing and the action are triggered:

    [12-Aug-2017 08:36:59.207] [DEBUG] *actions* Executing action 1 (XMPP Test Action) of type XMPP MESSAGE
    [12-Aug-2017 08:36:59.207] [DEBUG] *actions* Sending XMPP message to dj@jabber.***.net: "NetXMS Test Message 0"

    but the message is never sent. There is no more info in the netxms log. My ejabberd server's log is also not showing any attempt to deliver the message.

    Netxms is properly connected to the ejabberd - I can send remote commands from a phone client and also receive the answer from netxms on the phone:

    [12-Aug-2017 08:39:02.106] [DEBUG] XMPP: RECV: <message type="chat" lang="en" to="srv@jabber.***.net" from="dj@jabber.***.net/phone"><composing xmlns="http://jabber.org/protocol/chatstates"/><no-store xmlns="urn:xmpp:hints"/><no-storage xmlns="urn:xmpp:hints"/></message>
    [12-Aug-2017 08:39:12.152] [DEBUG] XMPP: RECV: <message id="7fbc6fab-43ab-4ca7-b456-247347819f73" type="chat" lang="en" to="srv@jabber.***.net" from="dj@jabber.***.net/phone"><body>Show queues</body><markable xmlns="urn:xmpp:chat-markers:0"/><request xmlns="urn:xmpp:receipts"/><origin-id id="7fbc6fab-43ab-4ca7-b456-247347819f73" xmlns="urn:xmpp:sid:0"/><active xmlns="http://jabber.org/protocol/chatstates"/></message>
    [12-Aug-2017 08:39:12.152] [DEBUG] XMPP: Incoming message from dj@jabber.***.net/phone: Show queues
    [12-Aug-2017 08:39:12.152] [DEBUG] User admin authenticated for XMPP commands
    [12-Aug-2017 08:39:12.152] [DEBUG] XMPP: SENT: <message to="dj@jabber.***.net/phone" type="chat"><body>Data collector : 0

    This happened on netxms 2.0.8 and also after upgrading to 2.1. The server is running on Windows Server 2016.

    I have no idea what's going on.

    Any help highly appreciated 🙂 Thanks in advance !

    Best...
    Detlev

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

      Hi,

      do you have any messages in server log with prefix XMPPMessageSender?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • D
        D
        dj
        wrote on last edited by
        #3

        @victor said in XMPP Problem:

        do you have any messages in server log with prefix XMPPMessageSender?

        No, there's nothing like that in the server's log file. Just the hint "*action* Sending XMPP" as show in the original posting and there's the big silence.

        Regards
        Detlev

        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