Documentation

Descripción en multiples líneas nagios

0 (0)
6,309
0
0

Thank you for your review!

Your review has been submitted and is pending approval.

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.


Project Details

Current Version

4

Last Release Date

2017-10-24

Owner

Miguel

Compatible With

  • Nagios 4.x

Recommend

To:


From: