Code: Select all
...
"data": {
"selectors": {
},
"servicelist": {
"db01": {
"CPU usage": {
...
"max_attemps": 5,
...
Code: Select all
--- statusjson.c.orig 2015-02-18 14:14:58.000000000 +0100
+++ statusjson.c 2015-02-24 09:46:53.257050393 +0100
@@ -3482,7 +3482,7 @@
&percent_escapes, temp_servicestatus->long_plugin_output);
json_object_append_string(json_details, "perf_data", &percent_escapes,
temp_servicestatus->perf_data);
- json_object_append_integer(json_details, "max_attemps",
+ json_object_append_integer(json_details, "max_attempts",
temp_servicestatus->max_attempts);
json_object_append_integer(json_details, "current_attempt",
temp_servicestatus->current_attempt);
/S-G