Page 1 of 1

Nagiosgrapher:Producing 3 graphs from one output.

PostPosted: Wed Mar 15, 2017 7:26 pm
by simonx
I wanted to find out if the below is possible with nagios/nagiosgrapher.

I have a nagios reading giving a typical output as shown below for my hosts:
rs=0.09, ws=12.3,rMBs=34.23,wMBs=56.9,util=9.87
I want to produce 3 graphs:
Graph 1( for rs and ws)
Graph 2(rMBs and wMBs)
Graph 3(util)

Will this be possible ? using the same service.

At the moment i'm producing the graph for(rs and ws).
.............................................................................
define ngraph{
service_name Check Iostat
graph_log_regex rs=(\d+.\d+)
graph_value rps
graph_units rps
graph_legend read requests
graph_legend_eol none
rrd_plottype LINE2
rrd_color ff0000
}

define ngraph{
service_name Check Iostat
graph_log_regex ws=(\d+.\d+)
graph_value rps1
graph_units rps
graph_legend write requests
graph_legend_eol none
rrd_plottype LINE2
rrd_color 008000
}

#[EOF]
..............................................................................
How do i go about it, to produce the other 2 graphs(rMBs/wMBs and util) ?

Thanks

Re: Nagiosgrapher:Producing 3 graphs from one output.

PostPosted: Thu Mar 16, 2017 2:57 pm
by mcapra
This particular forum section is geared more towards Nagios Core specific problems, where as NagiosGrapher is a third party application.

You would probably be better off contacting the NagiosGrapher community:
https://sourceforge.net/projects/nagiosgrapher/

Though the project looks fairly abandoned.

pnp4nagios is a bit more modern if you're looking for graphs:
https://docs.pnp4nagios.org/

Nagios XI (and this is the only time I will push it) also has built-in graphing and can do multistacked performance graphs to show several metrics on the same graph quite seamlessly:
https://support.nagios.com/kb/article.php?id=112