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 Not Working on some systems or working erratically

XMPP Not Working on some systems or working erratically

Scheduled Pinned Locked Moved Support
3 Posts 3 Posters 40.3k 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.
  • C
    C
    clifford
    wrote on last edited by
    #1

    Im trying to setup XMPP messaging for NetXMS

    192.168.1.X (NetXMS 2.2.17) -- Production Server – Debug set to 6
    XMPP Works fine, XMPP message is triggered when a node changes state to down or Up but many times the message is delayed or is missed
    Tail -f /var/log/netxmsd |grep xmpp shows messages being triggered when a node change state

    192.168.1.Y (NetXMS 2.2.17)  – Test Server – Debug set to 6
    Tail -f /var/log/netxmsd |grep xmpp shows NO messages being triggered when a node change state
    However I am able to get responses from the server show commands via xmpp client

    192.168.5.Z (NetXMS 3.0) – Test server -- Debug set to 6
    Tail -f /var/log/netxmsd |grep xmpp shows NO messages being triggered when a node change state.
    However I am able to get responses from the server show commands via xmpp client

    Looks like the test setups work like 1-way communication.

    I have double-checked the configuration between the working and  the non-working systems they are exactly identical

    Ejabberd XMPP Server –
    Tcpdump shows messages being triggered from 192.168.1.X – production server  but no XMPP responses from the test systems when the same done is down,
    The users configured in ejabberd show as online

    Need help in getting this working as this was the alternative to the Netxms android not playing alert sounds

    Edit:  I have noticed that when I configure server action (Email) +(XMPP)

    The mail is generated instantly when our node goes down, but the XMPP message is not trigerred even though the event processing policy is instructed to use XMPP also as server action along with email action.

    Regards

    Clifford Dsouza

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

      Hi,

      when XMPP action is triggered but you do not see messages please try to capture state of netxmsd threads using attached script (you will need to install gdb and appropriate -dbg packages if you have installed server from deb repository). Also please try to set debug level to 6 and extract lines with text XMPP from server log when XMPP action is triggered.

      Best regards,
      Victor


      capture_netxmsd_threads.sh

      1 Reply Last reply
      0
      • S
        S
        sushantd
        wrote on last edited by
        #3

        Hi Victor,

        Please find the attached captured file.

        Thank you
        Sushant


        netxmsd-threads.1390.20191121-115404

        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