Ad Widget

Collapse

Discussion thread for official Zabbix Template Acronis Cyber Protect Cloud by HTTP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevit
    Junior Member
    • Oct 2024
    • 3

    #1

    Discussion thread for official Zabbix Template Acronis Cyber Protect Cloud by HTTP

    I am setting up Acronis monitoring based on Acronis Cyber Protect Cloud by HTTP template
    Item: “Get alerts” type HTTP agent Here we get all alerts from URL https://dev-cloud.acronis.com/api/al...ager/v1/alerts.
    Discovery rule: “Alerts discovery” type Depend item ⇒ “Get alerts” LLD macros are configured here to get some data for each Alert {#ALERT_ID} from $.id, {#TYPE} from $.type, {#SEVERITY} from $.severity etc.
    Item prototypes:” Alert {#SEVERITY} [{#TYPE}]” type Depend item ⇒ Get alerts here get severity
    Trigger prototypes: “Alert [{#TYPE}]: Alert has “{#SEVERITY}” severity” here we get important information for each Alert in Operational data.

    Problem: I need to output the name of the castomer in the Operational data field in Trigger prototype, but this information is not available in the Acronis response from the “Get alerts” item.

    After studying the API documentation I found an endpoint with the name of the castomer “https://dev-cloud.acronis.com/api/al...lerts_count” under the condition Query fields id ⇒ {#ALERT_ID}.
    Created another one
    Item prototypes: “Alert {#SEVERITY} [{#TYPE}]: Customer Name” HTTP agent type with URL ‘https://dev-cloud.acronis.com/api/al...lerts_count’ which retrieves the Name of the castomer (in Latest data the value comes correctly).

    Problem: In Trigger prototype in Operational data field: “STATUS: {ITEM.LASTVALUE1} Name {ITEM.LASTVALUE2}” As a result {ITEM.LASTVALUE1} is displayed correctly, but {ITEM.LASTVALUE2} writes *UNKNOWN*. I tried {ITEM.LASTVALUE3-9} and the answer is the same *UNKNOWN*.

    Please advise a beginner, what is what for, where to look, what to do
    Thank you in advance for your time

  • stevit
    Junior Member
    • Oct 2024
    • 3

    #2
    The solution was to add another rule to Expression.
    That is, only those items that are used in Expression are displayed

    Comment

    • stevit
      Junior Member
      • Oct 2024
      • 3

      #3
      I have a new problem with the same Acronis Cyber Protect Cloud by HTTP template
      When in Item receiving the devices, Acronis sends only the first page of 100pcs. and a token to receive the next page with devices.
      How can I configure Pagination in the zabbix

      Comment

      Working...