[drraw-users] pnp4nagios & drraw

Jeremy Jacquier-Roux jaj at teamlog.com
Mon Nov 17 07:31:25 MST 2008


Hello,
First, sorry for my English and don't hesitate to ask me if I'm not clear.
I have some rrd files generated with pnp for nagios. I would like to 
make nicer graph with drraw (2.2b1) but I have a problem (same than D. 
Morel - thread "no event file" Wed Jun 25 10:31:12 EDT 2008), the cgi 
show me this message :
"The first step in creating a graph is to choose which data to use. This 
is done by selecting Data Sources from available databases and event 
files. Only one type of Data Source (either database or event file) may 
be added at the same time."
I don't think this is a problem of event file. I think the problem is on 
the way of drraw manage data sources names.
Because by default, pnp4nagios create rrd file using number for data 
sources names :
ds[1], ds[2]...
But if I modify /usr/libexec/pnp4nagios/process_perfdata.pl to prefix 
data sources names with a string, drraw works fine and I can make graph.
Do you have an idea to fix this in drraw?
Thanks




More information about the drraw-users mailing list