Ad Widget

Collapse

[Zabbkit] Push notifications on your smartphone

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Randomiser
    Junior Member
    • May 2016
    • 9

    #61
    Originally posted by wolf_ktl
    These options have been added.

    Comment

    • Randomiser
      Junior Member
      • May 2016
      • 9

      #62
      I found the problem. In the actions are not written correctly.
      Sorry and thanks

      Comment

      • melluc
        Junior Member
        • Apr 2016
        • 4

        #63
        Originally posted by Randomiser
        I found the problem. In the actions are not written correctly.
        Sorry and thanks
        Could you explain how do you solved?

        Comment

        • melluc
          Junior Member
          • Apr 2016
          • 4

          #64
          Originally posted by melluc
          Could you explain how do you solved?
          Ok Found, just mistype {TRIGGER.ID}



          Now it works!!!

          Comment

          • green9
            Junior Member
            • Sep 2015
            • 2

            #65
            Zabbix 3 breaks with Zabbkit

            With Zabbix 3, the script does not work anymore. Does anyone have a solution to the problem? Thank you.

            Comment

            • wolf_ktl
              Junior Member
              • Mar 2016
              • 20

              #66
              Originally posted by green9
              With Zabbix 3, the script does not work anymore. Does anyone have a solution to the problem? Thank you.
              decision:
              5.6


              100 Раз повторяли

              Comment

              • green9
                Junior Member
                • Sep 2015
                • 2

                #67
                What exactly needs to be changed?

                Yes I have found. But what must be changed now exactly? I'm no script programmers ...

                Comment

                • mrz
                  Junior Member
                  • Jun 2016
                  • 6

                  #68
                  Are there any other changes needed to make it work with Zabbix 3.0?
                  I edited the parameters as shown in the manual, but I still do not receive any push messages.

                  Comment

                  • wolf_ktl
                    Junior Member
                    • Mar 2016
                    • 20

                    #69
                    Originally posted by mrz
                    Are there any other changes needed to make it work with Zabbix 3.0?
                    I edited the parameters as shown in the manual, but I still do not receive any push messages.
                    Testing ?

                    ./zabbkit-push YOUR-ID-FROM-STEP-1 "test message" 0

                    Comment

                    • mrz
                      Junior Member
                      • Jun 2016
                      • 6

                      #70
                      Originally posted by wolf_ktl
                      Testing ?

                      ./zabbkit-push YOUR-ID-FROM-STEP-1 "test message" 0
                      Testing works just fine.

                      Comment

                      • wolf_ktl
                        Junior Member
                        • Mar 2016
                        • 20

                        #71
                        Originally posted by mrz
                        Testing works just fine.

                        My Good Primer
                        Attached Files

                        Comment

                        • mrz
                          Junior Member
                          • Jun 2016
                          • 6

                          #72
                          Originally posted by wolf_ktl
                          My Good Primer
                          That just worked fine, thank you very much!

                          Comment

                          • Zaniwoop
                            Senior Member
                            • Jan 2010
                            • 232

                            #73
                            I am using the script that everyone is using:
                            Code:
                            #!/bin/bash
                            STRING=`curl -X POST\
                             -H "Content-type:application/json"\
                             -d "{Id:'$1', text:'$2', triggerId:'$3', playSound:true}"\
                            http://zabbkit.inside.cactussoft.biz/api/messages`
                            
                            echo $(date +"%y-%m-%d %T"),$1,$STRING,$2,$3 >> /var/log/zabbix/push_zabbkit.log
                            When I test it with:
                            Code:
                            /etc/zabbix/externalscripts/zabbkit-push MY-ID "test" 0
                            I get a positive response and receive the alert on my phone.

                            I have set up a media type:
                            Name: push notification
                            Type: Script
                            Script name: zabbkit-push

                            When an event occurs which uses the push notification, Zabbix reports that it failed to notify. I receive alerts on other media for the same event.

                            I don't see anything in the zabbix-server.log (DebugLevel=3).

                            Any ideas?

                            Comment

                            • DSendersBT
                              Junior Member
                              • Jun 2016
                              • 2

                              #74
                              Unable to send messages

                              Hello,

                              Since a couple of days we hare having issues with sending messages to Zabbkit.
                              The error i get on the Zabbix server is : curl: (56) Recv failure: Connection reset by peer

                              I have checked that i can ping the remote zabbkit server, and the website to check the delivery status opens up just fine.

                              Zabbix version : 3.0



                              Thanks in advance.

                              Comment

                              • rumkol
                                Junior Member
                                • Sep 2016
                                • 1

                                #75
                                Hi,

                                I have strange problem with my Zabbkit app on my iphone.

                                Everything works fine, except on the trigger history and event tabs the time of the events/triggers is -2 hours off of zabbix server's time and my current time.


                                Any ideas what could cause this?

                                Comment

                                Working...