I'm using NagiosGrapher 1.7.1 with our Nagios installation. We're using the packages from the official Debian repositories.
The graphs I've been building work fine so far, except for any GPRINT
directives I use. They're simply not processed at all.
An example of a graph definition would be:
define ngraph {
service_name CPU Utilization
graph_perf_regex cpu_prct_used=([0-9]*\.?[0-9]*)
graph_value cpu_prct_used
graph_units %
graph_legend CPU used %
page CPU
rrd_plottype AREA
rrd_color 0000a0
}
define ngraph {
service_name CPU Utilization
type GPRINT
print_source cpu_prct_used
print_description Last:
print_function LAST
print_format %2.2lf %%\t
}