lausser / check_oracle_health

A plugin (monitoring-plugin, not nagios-plugin, see also http://is.gd/PP1330) which checks various parameters of Oracle database servers. (We also offer trainings: http://www.consol.de/open-source-monitoring/schulungen/workshops/#datenbank-monitoring)
http://labs.consol.de/nagios/check_oracle_health
GNU General Public License v2.0
34 stars 29 forks source link

Add a add_longoutput function for custom extensions #20

Open Tontonitch opened 7 years ago

Tontonitch commented 7 years ago

Hello,

That would be great to have a dedicated method for the extra lines / long output lines. Named for example "add_longoutput"

Currently, I do that via the add_perfdata method by adding a new line and all the needed lines. For example:

$self->add_perfdata(sprintf "broken=%d;;1;0; failing=%d;1;;0; \nBroken jobs:%s\n\nFailing jobs:%s", $nb_broken, $nb_failures, $long_output_broken, $long_output_failures);

Example of output in Icingaweb2: image