Home Directory Documentation Descripción en multiples líneas nagios

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Descripción en multiples líneas nagios

Rating
0 votes
Favoured:
0
Current Version
4
Last Release Date
2017-10-24
Compatible With
  • Nagios 4.x
Owner
Hits
5172
Files:
FileDescription
Línea 1980 cambiar (Recompilar).docxLínea 1980 cambiar (Recompilar).docx
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.