Details

    • Help
    • Resolution: Not A Bug
    • Major
    • None
    • Professional Edition
    • Alerting
    • Ubuntu

    Description

      I have defined a JSON Contact with 2 Associated Syslog Rules.  This worked for quite awhile then started sending [] as the payload.  I successfully tested Contact using test_alert.php and see a full JSON payload.  Not sure how to debug from here.  Note, I did have an Alert checker also defined but removed it, so only the Syslog rules remain. I have recreated the Contact to no avail.  I also tested my Syslog rules successfully with an Email contact. 

      Attachments

        Activity

          [OBS-4178] JSON Contact sending [] as payload.

          I created a syslog rule /decline ip address/, then used it for the JSON contact and I get a payload.

          clearnetworx Clearnetworx added a comment - I created a syslog rule /decline ip address/, then used it for the JSON contact and I get a payload.

          The RAW input is []

          clearnetworx Clearnetworx added a comment - The RAW input is []

          I mean pastebin or attach as file (or preformatted text here) full field from "JSON passed to Webhook".

          There seems inserted incorrect JSON

          landy Mike Stupalov added a comment - I mean pastebin or attach as file (or preformatted text here) full field from "JSON passed to Webhook". There seems inserted incorrect JSON
          clearnetworx Clearnetworx added a comment - - edited

          I don't understand what "RAW JSON contact as "Preformated" is.  If you are asking for the webhook raw inout it is []

          If I change the rule to another I have I will get a JSON payload.

           

          clearnetworx Clearnetworx added a comment - - edited I don't understand what "RAW JSON contact as "Preformated" is.  If you are asking for the webhook raw inout it is [] If I change the rule to another I have I will get a JSON payload.  

          Show JSON contact screenshot and RAW JSON contact as "Preformated" here, or pastebin..

          landy Mike Stupalov added a comment - Show JSON contact screenshot and RAW JSON contact as "Preformated" here, or pastebin..

          Syslog Messages:

          ONU[8:3:UBNTf91a0220] State: Operation->Deactivated

          ONU[8:3:UBNTf91a0220] State: Activated->Setup

          Syslog Rules:

          /^ONU.+ Operation->Deactivated/

          /^ONU.+ Activated-\>Setup/

          JSON Payload: []

           

          Rule works with an Email Contact.

           

           

           

          clearnetworx Clearnetworx added a comment - Syslog Messages: ONU [8:3:UBNTf91a0220] State: Operation->Deactivated ONU [8:3:UBNTf91a0220] State: Activated->Setup Syslog Rules: /^ONU.+ Operation->Deactivated/ /^ONU.+ Activated-\>Setup/ JSON Payload: []   Rule works with an Email Contact.      
          clearnetworx Clearnetworx added a comment - - edited

          clearnetworx Clearnetworx added a comment - - edited

          Please show Syslog rules and JSON payload.

          landy Mike Stupalov added a comment - Please show Syslog rules and JSON payload.

          Multiple other people successfully joined the discord yesterday. You might want to show a screenshot, because "get denied" isn't really very descriptive.

          adama Adam Armstrong added a comment - Multiple other people successfully joined the discord yesterday. You might want to show a screenshot, because "get denied" isn't really very descriptive.

          I click the link, click Accept and get denied.

          clearnetworx Clearnetworx added a comment - I click the link, click Accept and get denied.
          adama Adam Armstrong added a comment - https://discord.gg/GjpNXKWm8W  

          People

            adama Adam Armstrong
            clearnetworx Clearnetworx
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: