Nagiosgrapher:Producing 3 graphs from one output.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
simonx
Posts: 6
Joined: Fri Mar 10, 2017 7:53 pm

Nagiosgrapher:Producing 3 graphs from one output.

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagiosgrapher:Producing 3 graphs from one output.

Post 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
Former Nagios employee
https://www.mcapra.com/
Locked