Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED]
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
sandman



Joined: 13 Sep 2006
Posts: 3

PostPosted: Mon May 21, 2007 2:43 pm    Post subject: BiteRate vs Bits/second Reply with quote

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

PostPosted: Tue May 22, 2007 3:29 pm    Post subject: Reply with quote

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

PostPosted: Fri Jun 01, 2007 9:21 am    Post subject: Reply with quote

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

PostPosted: Wed Aug 08, 2007 9:16 pm    Post subject: Reply with quote

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

PostPosted: Fri Sep 28, 2007 1:34 pm    Post subject: Reply with quote

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

PostPosted: Fri Feb 01, 2008 10:53 am    Post subject: Getting this to work on 0.8.7a Reply with quote

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

PostPosted: Mon Mar 10, 2008 2:25 pm    Post subject: Re: Getting this to work on 0.8.7a Reply with quote

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

PostPosted: Thu Apr 17, 2008 1:46 am    Post subject: Reply with quote

Yep, that worked for me too, thanks!
Back to top
jay
Cacti User


Joined: 31 Aug 2005
Posts: 244
Location: Bristol, England

PostPosted: Thu Apr 17, 2008 4:20 am    Post subject: Reply with quote

Hi

I was wondering if anyone has seen issues collecting nbar rtp data via snmp? See the following post for more information

http://forums.cacti.net/viewtopic.php?t=26914

Jay
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group