Ad Widget

Collapse

Azure Microsoft SQL Serverless Database by HTTP Template Script Update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mateus Bonini
    Junior Member
    • Sep 2021
    • 2

    #1

    Azure Microsoft SQL Serverless Database by HTTP Template Script Update

    Recently I needed to implement the
    template Template Azure Microsoft SQL Serverless Database via HTTP on a resource in Azure but I came across the Java Script error reporting an incorrect request error and that the metrics were not valid so in a brief search I came across this block of the script that when update the item that collects the mass data and update the variables where the metrics that will be collected are declared and put this in place:
    ---
    var metrics = [
    'cpu_percent',
    'physical_data_read_percent',
    'log_write_percent',
    'dtu_consumption_percent',
    'storage',
    'connection_successful',
    'connection_failed',
    'connection_failed_user_error',
    'blocked_by_firewall',
    'deadlock',
    'storage_percent',
    'xtp_storage_percent',
    'workers_percent',
    'sessions_percent',
    'sessions_count',
    'dtu_limit',
    'dtu_used',
    'sqlserver_process_core_percent',
    'sqlserver_process_memory_percent',
    'sql_instance_cpu_percent',
    'sql_instance_memory_percent',
    'tempdb_data_size',
    'tempdb_log_size',
    'tempdb_log_used_percent',
    'allocated_data_storage',
    'ledger_digest_upload_success',
    'ledger_digest_upload_failed'
    ];


    ----
    Just update the template script and follow the macro settings and your metrics will likely be collected.
  • Edwinmng83
    Junior Member
    • Feb 2025
    • 2

    #2
    Hi Anyone,

    We're using Azure SQL managed instances, but when we tried to use Azure Microsoft SQL Serverless Database by HTTP, doesn't work can't get all the data. If anyone found a way to fix, please send us some image your Azure setup and Zabbix setup step by step to guide us, thank you.

    But I can get data in Zabbix for Azure Postgresql and MySQL no issue at all.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4806

      #3
      Yeah... do all the work, send us your setup, step by step... Profit!
      You do not even bother to explain, what you mean with "can't get all the data". What have you done by yourself, to identify the reasons of "not getting all the data"?

      Comment

      • anslu
        Member
        • Aug 2023
        • 30

        #4
        Originally posted by cyber
        Yeah... do all the work, send us your setup, step by step... Profit!
        You do not even bother to explain, what you mean with "can't get all the data". What have you done by yourself, to identify the reasons of "not getting all the data"?
        What's the point of releasing software which is broken by default with no documentation covering necessary aspects?

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4806

          #5
          Can aswell be a change on Azure side after releasing template...

          My comment above was targeted towards the attitude of "give me all, step-by-step" but absolutely no explanations, what is meant with "nothing works" or what has been done to investigate the reasons, and doing it in someone elses topic, which actually provides a solution to a found issue... This is just waste of everyones time and people here do it voluntarily out of their own time..

          Comment

          • anslu
            Member
            • Aug 2023
            • 30

            #6
            Originally posted by cyber
            Can aswell be a change on Azure side after releasing template...

            My comment above was targeted towards the attitude of "give me all, step-by-step" but absolutely no explanations, what is meant with "nothing works" or what has been done to investigate the reasons, and doing it in someone elses topic, which actually provides a solution to a found issue... This is just waste of everyones time and people here do it voluntarily out of their own time..
            Indeed, more details here - No data receive for SQL Azure database using Azure by HTTP template - ZABBIX Forums
            Long story short, there are several AZ MSSQL DBs and Servers available in Azure, each one is using different calls. Templates must be matching exact DB or Server type, e.g. HyperScale or DTU based Data Warehouse etc.

            Please upvote the case created by another forum user to hopefully see the solution someday [ZBX-23394] Azure monitoring for MS SQL doesn't work - ZABBIX SUPPORT
            Click image for larger version

Name:	image.png
Views:	185
Size:	17.0 KB
ID:	499338
            Last edited by anslu; 19-02-2025, 17:15.

            Comment

            Working...