def METHOD_NAME(self, zbx):
    if Pooler.server_version_greater("10.0"):
        result_count = Pooler.run_sql_type("count_autovacuum", args=["backend_type = 'autovacuum worker'"])
        result_utilization = Pooler.run_sql_type("autovacuum_utilization",
                                                 args=["backend_type = 'autovacuum worker'"])
    else:
        result_count = Pooler.run_sql_type("count_autovacuum", args=[
            "query LIKE '%%autovacuum%%' AND state <> 'idle' AND pid <> pg_catalog.pg_backend_pid()"])
        result_utilization = Pooler.run_sql_type("autovacuum_utilization", args=[
            "query LIKE '%%autovacuum%%' AND state <> 'idle' AND pid <> pg_catalog.pg_backend_pid()"])
    zbx.send("pgsql.autovacuum.count[]", int(result_count[0][0]))
    zbx.send("pgsql.autovacuum.utilization[]", int(result_utilization[0][0]))