Ad Widget

Collapse

XMPP and SRV record support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martin.marcher
    Junior Member
    • Nov 2007
    • 22

    #1

    XMPP and SRV record support

    Hi,

    when will zabbix support SRV records for XMPP?

    At least let ust specify the server to use manually.

    thx and keep up the great work
    Martin
  • Tenzer
    Senior Member
    • Nov 2007
    • 316

    #2
    You could look into the solution I have written about earlier, which allows you to configure at lot more things:

    Comment

    • martin.marcher
      Junior Member
      • Nov 2007
      • 22

      #3
      I don't usually do PHP but that approach seems to have a few flaws.
      • SSL is somewhat old to use, usually one should use TLS which is on 5222
      • one doesn't need to set the sending JID as invisible/uavailable whatsoever, simply don't do an initial presence announcement and send the message directly after login
      • the host part (which I see as a workaround) is specified and isn't retrieved from the SRV records
      I hacked together a simple python script that:
      • uses TLS if available
      • uses SRV records (the proper DNS info)
      • won't be visible to other users, just sends the message
      • can send either chat or headline messages.
      Source is available at: http://github.com/mm/playground/tree/master/xmppsend.py

      that was a 30min work to code so it is probably very ugly.
      Last edited by martin.marcher; 17-12-2008, 13:04. Reason: nicer wording :)

      Comment

      • svg
        Junior Member
        • Sep 2009
        • 2

        #4
        vote the bugreport...

        2 years later and still a bug, I just reported it.

        Comment

        Working...