Home
last modified time | relevance | path

Searched refs:vc_stats (Results 1 – 15 of 15) sorted by relevance

/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix5-agent/zabbix-5.0.19/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix54-proxy/zabbix-5.4.9/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix54-server/zabbix-5.4.9/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix54-agent/zabbix-5.4.9/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix5-server/zabbix-5.0.19/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix54-java/zabbix-5.4.9/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix54-frontend/zabbix-5.4.9/src/libs/zbxserver/
H A Dzabbix_stats_server.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats_ext() local
63 if (SUCCEED == zbx_vc_get_statistics(&vc_stats)) in zbx_get_zabbix_stats_ext()
69 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats_ext()
70 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
71 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats_ext()
72 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats_ext()
73 vc_stats.total_size * 100); in zbx_get_zabbix_stats_ext()
77 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats_ext()
78 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats_ext()
79 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats_ext()
[all …]
/dports/net-mgmt/zabbix4-frontend/zabbix-4.0.30/src/libs/zbxserver/
H A Dzabbix_stats.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats() local
84 zbx_json_adduint64(json, "total", vc_stats.total_size); in zbx_get_zabbix_stats()
85 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats()
86 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats()
87 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats()
88 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats()
89 vc_stats.total_size * 100); in zbx_get_zabbix_stats()
93 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats()
94 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats()
95 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats()
[all …]
/dports/net-mgmt/zabbix4-agent/zabbix-4.0.30/src/libs/zbxserver/
H A Dzabbix_stats.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats() local
84 zbx_json_adduint64(json, "total", vc_stats.total_size); in zbx_get_zabbix_stats()
85 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats()
86 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats()
87 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats()
88 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats()
89 vc_stats.total_size * 100); in zbx_get_zabbix_stats()
93 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats()
94 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats()
95 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats()
[all …]
/dports/net-mgmt/zabbix4-java/zabbix-4.0.30/src/libs/zbxserver/
H A Dzabbix_stats.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats() local
84 zbx_json_adduint64(json, "total", vc_stats.total_size); in zbx_get_zabbix_stats()
85 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats()
86 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats()
87 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats()
88 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats()
89 vc_stats.total_size * 100); in zbx_get_zabbix_stats()
93 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats()
94 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats()
95 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats()
[all …]
/dports/net-mgmt/zabbix4-server/zabbix-4.0.30/src/libs/zbxserver/
H A Dzabbix_stats.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats() local
84 zbx_json_adduint64(json, "total", vc_stats.total_size); in zbx_get_zabbix_stats()
85 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats()
86 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats()
87 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats()
88 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats()
89 vc_stats.total_size * 100); in zbx_get_zabbix_stats()
93 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats()
94 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats()
95 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats()
[all …]
/dports/net-mgmt/zabbix4-proxy/zabbix-4.0.30/src/libs/zbxserver/
H A Dzabbix_stats.c44 zbx_vc_stats_t vc_stats; in zbx_get_zabbix_stats() local
84 zbx_json_adduint64(json, "total", vc_stats.total_size); in zbx_get_zabbix_stats()
85 zbx_json_adduint64(json, "free", vc_stats.free_size); in zbx_get_zabbix_stats()
86 zbx_json_addfloat(json, "pfree", (double)vc_stats.free_size / vc_stats.total_size * 100); in zbx_get_zabbix_stats()
87 zbx_json_adduint64(json, "used", vc_stats.total_size - vc_stats.free_size); in zbx_get_zabbix_stats()
88 zbx_json_addfloat(json, "pused", (double)(vc_stats.total_size - vc_stats.free_size) / in zbx_get_zabbix_stats()
89 vc_stats.total_size * 100); in zbx_get_zabbix_stats()
93 zbx_json_adduint64(json, "requests", vc_stats.hits + vc_stats.misses); in zbx_get_zabbix_stats()
94 zbx_json_adduint64(json, "hits", vc_stats.hits); in zbx_get_zabbix_stats()
95 zbx_json_adduint64(json, "misses", vc_stats.misses); in zbx_get_zabbix_stats()
[all …]