Nagiosgrapher:Producing 3 graphs from one output.

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagiosgrapher:Producing 3 graphs from one output.

Postby simonx » 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
simonx
 
Posts: 5
Joined: Fri Mar 10, 2017 7:53 pm

Re: Nagiosgrapher:Producing 3 graphs from one output.

Postby mcapra » Thu Mar 16, 2017 2:57 pm

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
Be sure to check out our Knowledgebase for helpful articles and solutions!

https://github.com/mcapra/
User avatar
mcapra
Support Tech
 
Posts: 1972
Joined: Thu May 05, 2016 3:54 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: liviobai and 5 guests