Nagiosgrapher:Producing 3 graphs from one output.
Posted: Wed Mar 15, 2017 7:26 pm
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
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