Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small typo in the statusjson.cgi output #27

Closed
abrist opened this issue Feb 24, 2015 · 3 comments
Closed

small typo in the statusjson.cgi output #27

abrist opened this issue Feb 24, 2015 · 3 comments

Comments

@abrist
Copy link

abrist commented Feb 24, 2015

Discovered by Sven-Göran Bergh over on the nagios forums:

http://support.nagios.com/forum/viewtopic.php?t=31550#127813

--- 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);
@scottwilkerson
Copy link
Contributor

Already present in pull request
#22

@estanley375
Copy link

Pull request #22 closed due to indiscriminate changes. This is being re-opened to address.

@estanley375 estanley375 reopened this Mar 7, 2015
tmcnag added a commit to tmcnag/nagioscore that referenced this issue Jun 16, 2015
@tmcnag
Copy link
Contributor

tmcnag commented Jun 16, 2015

Fixed here: tmcnag@e77dc73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants