Prophidys / RTG2

Realtime Traffic Grapher 2
GNU General Public License v2.0
11 stars 9 forks source link

Issues with RTGPLOT #30

Closed Prophidys closed 9 years ago

Prophidys commented 9 years ago

From aaron.le...@gmail.com on March 20, 2012 18:10:31

What steps will reproduce the problem? 1. click on host

  1. no graph
  2. view source and click on graph source link What is the expected output? What do you see instead? I expect to see the graphs. I get this error instead when view source of page and clicking link. "rtgplot 0.9.0 fatal: WARNING: No Line Objects Defined!" Link looks like this: http://ip-address/cgi-bin/rtgplot.cgi?PO=:407:100:units=bits:1332194620:1332281020&DO=1:ifInOctets_2:11&DO=2:ifOutOctets_2:11&LO=1:1:factor=8:ifInOctets&LO=2:2:factor=8:ifOutOctets What version of the product are you using? On what operating system? RTG Version 0.9 targetmaker 0.8 view.php Revision 1 .1 Please provide any additional information below. Worked through some of the errors, but this one is stumping me.

Thanks in advance Aaron aleach@utopianet.org

Original issue: http://code.google.com/p/rtg2/issues/detail?id=30

Prophidys commented 9 years ago

From aaron.le...@gmail.com on March 21, 2012 11:52:11

[Wed Mar 21 12:52:06 2012] [error] [client ip-address] , referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Could not open 'rtg.conf' for writing, referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Couldn't write config file., referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] , referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Could not open 'rtg.conf' for writing, referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Couldn't write config file., referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Premature end of script headers: rtgplot.cgi, referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20 [Wed Mar 21 12:52:06 2012] [error] [client ip-address] Premature end of script headers: rtgplot.cgi, referer: http://ip-address/view.php/stat/MIBII-netio/ip-address/20

Prophidys commented 9 years ago

From aaron.le...@gmail.com on March 21, 2012 15:55:51

Searched through the source code and noticed that the system was hard set to the /etc/rtg.conf area. Created a link to the /etc/rtg/rtg.conf file and now the graphs are displaying.

Prophidys commented 9 years ago

From aaron.le...@gmail.com on March 21, 2012 15:56:34

Please close issue.

Prophidys commented 9 years ago

From aaron.le...@gmail.com on March 21, 2012 15:57:28

By the way, this was installed on a Centos 6.2 system 64 bit. Forgot that in the initial comment. Sorry.

Prophidys commented 9 years ago

From ced.leco...@gmail.com on May 16, 2012 01:46:35

I close

Status: Invalid