Ad Widget

Collapse

Notifications using Openfire in a different box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dickinson
    Member
    • Oct 2010
    • 44

    #1

    Notifications using Openfire in a different box

    Hi everyone,

    I´m try to configure Jabber as Media. I use Openfire BUT this's in a different server from Zabbix.

    I must use a script to make it works? Or is there any special config I can do directly on zabbix server?

    I've been searching in google and forums but the script is the only approach.

    tnx
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    This is what I use:



    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      note that there is built in jabber support. for that to work your jabber server must have an "A" record in dns, SRV is not enough
      Zabbix 3.0 Network Monitoring book

      Comment

      • Zaniwoop
        Senior Member
        • Jan 2010
        • 232

        #4
        I am running Openfire on another server, which I use for notifications.

        No scripts are required. Just compile --with-jabber.
        Then create a 'Media' of type Jabber. I use have a 'user' created on the server for this purpose.

        Below is sample of messages received.
        Attached Files

        Comment

        • dickinson
          Member
          • Oct 2010
          • 44

          #5
          Oh. GREAT...IT WORKS!!!!!!!!!!!!!!!

          Based on your recommendatios what i did was:

          1. Create a register in HOSTS file to points to my Openfire server. This because i don't have permissions on my DNS.

          2. Create the media. In the jabber identifier box I put the value like this:

          user@domain

          Where "domain" is the registry I just added in HOSTS file.

          I tested and it worked really great. This tool is amazing. Nagios is in my trash can now, jejejej

          tnx from colombia

          Comment

          • shortkud
            Junior Member
            • Jan 2011
            • 1

            #6
            This thread really helped me and it seems hidden among all of the other previous topics regarding Jabber/Openfire.

            I can confirm using Zabbix 1.8.4 the Jabber notifications will work fine with Openfire 3.6.3 running on a remote server.

            Steps:
            1. Create a user for Zabbix in Openfire
            2. In Zabbix configure a Media Type for Jabber. The Jabber identifier should be username@domain (Administration > Media Types).
            3. Associate your Jabber user with your Zabbix account. Edit the user in Zabbix and then under Administration > Users > Media click Add, in the Send To box should be the username@domain you want Zabbix to message.

            If you do all that and then create the necessary Triggers/Actions for your host everything will work great

            Comment

            Working...