diff --git a/plugin/bind.json b/plugin/bind.json new file mode 100644 index 00000000..f4d3fe55 --- /dev/null +++ b/plugin/bind.json @@ -0,0 +1,14 @@ +{ + "dns_qtype_cached": { + "title": "cache_rr_sets {{HOST}}", + "type": "stacked", + "legend": { + "value": { + "name": "Current", + "color": "00e000" + } + }, + "legend_format": "%.1lf" + } +} + diff --git a/plugin/curl_json-opcache.json b/plugin/curl_json-opcache.json new file mode 100644 index 00000000..3a77d149 --- /dev/null +++ b/plugin/curl_json-opcache.json @@ -0,0 +1,66 @@ +{ + "cache_result-opcache_statistics": { + "title": "Cache query on {{HOST}}", + "vertical": "Queries", + "type": "stacked", + "legend_format": "%5.1lf%s", + "legend": { + "opcache_statistics-hits": { + "name": "Hits", + "color": "00ff00" + }, + "opcache_statistics-misses": { + "name": "Misses", + "color": "ff0000" + } + } + }, + "cache_size-memory_usage": { + "title": "Cache size on {{HOST}}", + "vertical": "Bytes", + "type": "stacked", + "legend_format": "%5.1lf%s", + "legend": { + "memory_usage-free_memory": { + "name": "Free", + "color": "00ff00" + }, + "memory_usage-used_memory": { + "name": "Used", + "color": "ff0000" + } + } + }, + "files-opcache_statistics": { + "title": "Files on {{HOST}}", + "vertical": "Files", + "type": "stackedtotal", + "legend_format": "%5.1lf%s", + "legend": { + "opcache_statistics-num_cached_keys": { + "name": "Num cached keys", + "color": "ff0000" + }, + "opcache_statistics-num_cached_scripts": { + "name": "Num cached scripts", + "color": "ff00ff" + }, + "opcache_statistics-max_cached_keys": { + "name": "Max cached keys", + "color": "00ff00" + } + } + }, + "cache_ratio-opcache_statistics": { + "title": "Ratio on {{HOST}}", + "vertical": "%", + "type": "stacked", + "legend_format": "%5.1lf%s", + "legend": { + "opcache_statistics-opcache_hit_rate": { + "name": "Hit rate", + "color": "00ff00" + } + } + } +}