Does anyone have a working example of using the graph command in
jrobin's RrdCommander? I keep getting NullPointerExceptions in
ParseDef when trying to make my own graph from CpuRawUser.
java -cp /opt/opennms/lib/jrobin-1.5.9.jar -Djava.awt.headless=true
org.jrobin.cmd.RrdCommander
== JRobin's RRDTool commander ==
Type a RRDTool command after the dollar sign and press Enter.
Start your RRDTool command with 'create', 'update', 'fetch' etc.
Start line with 'create', 'update', 'fetch' etc.
Enter dot ('.') to bail out
Current directory is: /local/home/sporlem
================================
$ graph cpu.png DEF:CpuRawUser=./CpuRawUsr.jrb:CpuRawUser:AVERAGE
AREA:CpuRawUser#0000FF:CPU
java.lang.NullPointerException
at org.jrobin.cmd.RrdGraphCmd.parseDef(RrdGraphCmd.java:325)
at org.jrobin.cmd.RrdGraphCmd.getGraphDef(RrdGraphCmd.java:196)
at org.jrobin.cmd.RrdGraphCmd.execute(RrdGraphCmd.java:47)
at org.jrobin.cmd.RrdToolCmd.executeCommand(RrdToolCmd.java:45)
at org.jrobin.cmd.RrdCommander.execute(RrdCommander.java:134)
at org.jrobin.cmd.RrdCommander.main(RrdCommander.java:162)
$
Any hints?
Thanks,
Matt
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQopennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss