Documentation

Descripción en multiples líneas nagios

Description:

If for some reason you want more than one line to be seen in the problems displayed by nagios, you can do it in the following way:

In the file: /opt/nagios-4.3.2/cgi/status.c
You must change
printf(“%s “, (temp_status->plugin_output == NULL) ? “” : html_encode(temp_status->plugin_output, TRUE));
to
if(temp_status->long_plugin_output != NULL)
printf(“%s”, html_encode(temp_status->long_plugin_output, TRUE));
else
printf(“%s “, (temp_status->plugin_output == NULL) ? “” : html_encode(temp_status->plugin_output, TRUE));

do make and make install

In the document there are pictures of how it would look.

Current Version

4

Last Release Date

2017-10-24

Compatible With

  • Nagios 4.x

Owner


Project Files
Project Notes
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
5,555