On Thu, Mar 20, 2008 at 05:00:56PM +0300, Steve Muchai wrote: > I've got an application generating mrtg graphs from CSV files exported > by a bandwitdth manager. I thought it'd be nice for me to be abe to > present these graphs via JFFNMS so the customer sees two graphs - one > for the physical interface they're connected to and one from the > bandwidth manager. I've got mrtg generating rdds now, rather than > graphs, and dumping them into the jffnms rrds directory. > > Question is, how do I get JFFNMS to pick the rrds and present a graph? > Do I need to create a new Interface Type, and if so, how? Now this is a tricky idea.
The "proper way" is to re-write the frontend so it sucks in the graphs from both. But if you want to keep it within JFFNMS you will have to work out a way of nailing up the interface numbers. Also there will be some meta-data you will need to fill in. The interface will have a RRDTool value, and no poller. You'd create the interface manually and then note the ID. The RRD file would need to be then named with the interface ID and a number, probably 0, eg interface-1234-0.rrd The DS is called data. Then make a graph that uses that file. You just have to be sure you match the IDs right correctly. Also make sure the permissions are right as well. It's a lot of fiddling around, but I'm pretty sure you know it would be anyhow. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 http://www.enc.com.au/ csmall at : enc.com.au http://www.debian.org/ Debian GNU/Linux, software should be Free ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
