|
|
| Author |
Message |
sandman
Joined: 13 Sep 2006 Posts: 3
|
Posted: Mon May 21, 2007 2:43 pm Post subject: BiteRate vs Bits/second |
|
|
Hi.. I would like to know whats the difference between the 2 types of graphs... the case is: Comparing the data from NetFlow Analyzer, the Volume of HTTP data of the last day is much more when "total bandwidth" value... calculated from this formula:
Item # 5 COMMENT: Total In: |sum:auto:current:2:auto|<HR> COMMENT AVERAGE
in the graph editor.
Thanks... |
|
| Back to top |
|
 |
rsaeks
Joined: 06 Nov 2006 Posts: 33
|
Posted: Tue May 22, 2007 3:29 pm Post subject: |
|
|
When I setup the graph, I get the error message in GraphDebug Mode:
ERROR: opening '/PATH/cacti/rra/maple_2621xm_nbar_bytesout_780.rrd': No such file or directory
Any thoughts as to what to look at for the bytesout setup? |
|
| Back to top |
|
 |
rsaeks
Joined: 06 Nov 2006 Posts: 33
|
Posted: Fri Jun 01, 2007 9:21 am Post subject: |
|
|
I am attempting to run this in CLI mode just to see if I get some output, but I get a missing argument 6 with this command:
php ./ss_nbar_all.php 10.17.1.2 STRING 1 query http
I can walk OID to get a list of the protocols, but no graphs, no data. The query is showing a bunch of results, so I know the data is there.
Any help before I scrap this template? |
|
| Back to top |
|
 |
aleu Cacti User
Joined: 11 Dec 2006 Posts: 106
|
Posted: Wed Aug 08, 2007 9:16 pm Post subject: |
|
|
| eddievenus wrote: | I am looking for a little bit of help on what those 3 feilds are for as well. i can get graphs from the nbar_all script server stuff, but I do not know how to set up the stacked_nbar graph.
What i need to know is what to use in these 3 feilds, and what they mean, so that I can figure this out on future graphs.
Custom Data [Template: Cisco Router - NBAR Bytes In/Out]
Index Type
Index Value
Output Type ID
If someone could just tell me what these mean, and how to fill this out, I would very happy with the way this works. |
Just wondering whether you guys have the same issue. Unfortunately, I do. All the individual graphs are fine, but the stacked one.
Please advice.
Thanks,
Aleu |
|
| Back to top |
|
 |
Mikeeo
Joined: 03 Nov 2002 Posts: 15
|
Posted: Fri Sep 28, 2007 1:34 pm Post subject: |
|
|
| rsaeks wrote: | When I setup the graph, I get the error message in GraphDebug Mode:
ERROR: opening '/PATH/cacti/rra/maple_2621xm_nbar_bytesout_780.rrd': No such file or directory
Any thoughts as to what to look at for the bytesout setup? |
I get the same issue complaining about the rrd not being created. |
|
| Back to top |
|
 |
the_sphynx
Joined: 04 Aug 2004 Posts: 7 Location: Westminster, CO
|
Posted: Fri Feb 01, 2008 10:53 am Post subject: Getting this to work on 0.8.7a |
|
|
All,
I had trouble getting this to work on 0.8.7a. I was using the plugin arch. It located all of the files (xml, php, etc) and never gave me an error via cacti but would return 0 rows. When I would run the script via CLI with a
| Code: | php -q ss_nbar_all.php x.x.x.x commstring 2 query index
|
I would get
| Code: | | Fatal error: Call to undefined function read_config_option() in /var/www/xxxx/cacti/lib/snmp.php on line 233 |
I added the following line into ss_nbar_all.php:
| Code: | | include_once(dirname(__FILE__) . "/../include/global.php"); |
It now runs like a charm.
I just wanted to let anyone else having the same issues know the fix. |
|
| Back to top |
|
 |
infinity005
Joined: 15 Dec 2004 Posts: 10
|
Posted: Mon Mar 10, 2008 2:25 pm Post subject: Re: Getting this to work on 0.8.7a |
|
|
| the_sphynx wrote: | All,
I had trouble getting this to work on 0.8.7a. I was using the plugin arch. It located all of the files (xml, php, etc) and never gave me an error via cacti but would return 0 rows. When I would run the script via CLI with a
| Code: | php -q ss_nbar_all.php x.x.x.x commstring 2 query index
|
I would get
| Code: | | Fatal error: Call to undefined function read_config_option() in /var/www/xxxx/cacti/lib/snmp.php on line 233 |
I added the following line into ss_nbar_all.php:
| Code: | | include_once(dirname(__FILE__) . "/../include/global.php"); |
It now runs like a charm.
I just wanted to let anyone else having the same issues know the fix. |
Thanks. Looks like that was the key for me. |
|
| Back to top |
|
 |
hybrid
Joined: 22 Nov 2007 Posts: 4
|
Posted: Thu Apr 17, 2008 1:46 am Post subject: |
|
|
| Yep, that worked for me too, thanks! |
|
| Back to top |
|
 |
jay Cacti User
Joined: 31 Aug 2005 Posts: 244 Location: Bristol, England
|
|
| Back to top |
|
 |
|