|
|
| Author |
Message |
LeonT
Joined: 09 May 2005 Posts: 8
|
Posted: Mon Jun 20, 2005 7:55 am Post subject: |
|
|
Thanks for posting this script. After adding the "." before the OID's in the PHP file it works like a charm
|
|
| Back to top |
|
 |
chloe
Joined: 13 Jun 2005 Posts: 17
|
Posted: Mon Jun 20, 2005 8:11 am Post subject: |
|
|
| I try now
|
|
| Back to top |
|
 |
chloe
Joined: 13 Jun 2005 Posts: 17
|
Posted: Mon Jun 20, 2005 8:15 am Post subject: |
|
|
It's very cool it's work
thanks Leon T
|
|
| Back to top |
|
 |
roddie Cacti User
Joined: 10 Feb 2004 Posts: 90 Location: Frisco, TX
|
Posted: Mon Jun 20, 2005 9:59 am Post subject: |
|
|
Interesting - I wonder if there's a difference between SNMP versions and the leading period.
Glad y'all got it working!
|
|
| Back to top |
|
 |
celtic6969
Joined: 22 Jun 2005 Posts: 17
|
|
| Back to top |
|
 |
roddie Cacti User
Joined: 10 Feb 2004 Posts: 90 Location: Frisco, TX
|
Posted: Wed Jul 06, 2005 2:19 pm Post subject: |
|
|
Celtic,
Try walking .1.3.6.1.4.1.9.9.244.1.2.1.1.2 and see if you get anything back.
The warnings when you run the script manually are ok, but it should still return some data.
Roddie
|
|
| Back to top |
|
 |
celtic6969
Joined: 22 Jun 2005 Posts: 17
|
Posted: Wed Jul 06, 2005 6:06 pm Post subject: NBAR stats |
|
|
Hi Roddie,
Thanks for your prompt reply. I tried walking ".1.3.6.1.4.1.9.9.244.1.2.1.1.2" but didn't receive a response. I was only able to walk up until ".1.3.6.1.4.1.9.9.244.1"
What OID is this ? Does this mean that some of the NBAR stats are not available through SNMP on my IOS version (12.2.15T15 ip plus) ?
Thx
|
|
| Back to top |
|
 |
celtic6969
Joined: 22 Jun 2005 Posts: 17
|
Posted: Thu Jul 07, 2005 5:53 pm Post subject: No Luck ... |
|
|
Hi,
I don't believe it is IOS version, as I have now upgraded to 12.3(14)T2 with the same result (no rows returned).
Is this script designed for the cactid poller ? as I am still using the standard cmd.php poller ...
Any ideas ?
Thx
Celtic
|
|
| Back to top |
|
 |
roddie Cacti User
Joined: 10 Feb 2004 Posts: 90 Location: Frisco, TX
|
Posted: Fri Jul 08, 2005 10:18 am Post subject: |
|
|
Celtic,
I don't think it's the version, but it does sound like nbar isn't configured on any of your interfaces.
Do you have "ip nbar protocol-discovery" in your config?
Roddie
|
|
| Back to top |
|
 |
userlerueda
Joined: 15 Jul 2005 Posts: 2
|
Posted: Sun Jul 17, 2005 1:35 pm Post subject: |
|
|
Do you think it's possible to have the graph put positive values for input and negative values for output, so that you could have stacked in one graph every protocol (in/out) ?
thanks
|
|
| Back to top |
|
 |
clrgomes
Joined: 18 Jul 2005 Posts: 23 Location: Brazil
|
Posted: Tue Jul 19, 2005 4:46 pm Post subject: NBAR |
|
|
Guys,
The OIS is wrong
You need put . befone OID in teh file "ss_nbar_all.php" (On windows)
Actual:
$oids = array("enable" => "1.3.6.1.4.1.9.9.244.1.1.1.1.1",
"uptime" => "1.3.6.1.4.1.9.9.244.1.1.1.1.2",
"protos" => "1.3.6.1.4.1.9.9.244.1.8.1.1.2"
CORRECT (put . before first 1 in OID)
$oids = array("enable" => ".1.3.6.1.4.1.9.9.244.1.1.1.1.1",
"uptime" => ".1.3.6.1.4.1.9.9.244.1.1.1.1.2",
"protos" => ".1.3.6.1.4.1.9.9.244.1.8.1.1.2"
You need to correct in all OID in this file. Later you need run
Cisco Router - NBAR (All Stats) (Verbose Query) Uptime Goes Backwards Success [492 Items, 82 Rows]
It works fine !!!!
|
|
| Back to top |
|
 |
clrgomes
Joined: 18 Jul 2005 Posts: 23 Location: Brazil
|
Posted: Tue Jul 19, 2005 4:48 pm Post subject: NBAR |
|
|
Guys,
The OIS is wrong
You need put . befone OID in teh file "ss_nbar_all.php" (On windows)
Actual:
$oids = array("enable" => "1.3.6.1.4.1.9.9.244.1.1.1.1.1",
"uptime" => "1.3.6.1.4.1.9.9.244.1.1.1.1.2",
"protos" => "1.3.6.1.4.1.9.9.244.1.8.1.1.2"
CORRECT (put . before first 1 in OID)
$oids = array("enable" => ".1.3.6.1.4.1.9.9.244.1.1.1.1.1",
"uptime" => ".1.3.6.1.4.1.9.9.244.1.1.1.1.2",
"protos" => ".1.3.6.1.4.1.9.9.244.1.8.1.1.2"
You need to correct in all OID in this file. Later you need run
Cisco Router - NBAR (All Stats) (Verbose Query) Uptime Goes Backwards Success [492 Items, 82 Rows]
It works fine !!!!
|
|
| Back to top |
|
 |
qpduong
Joined: 26 Jul 2005 Posts: 11
|
Posted: Thu Jul 28, 2005 10:09 pm Post subject: |
|
|
I have successfully imported nbar template, all scripts are in right place and routers are already configured with nbar but when I run data query (debugging/verbose query mode) I receive blank page with:
Fatal error: Maximum execution time of 30 seconds exceeded in c:\wamp\www\cacti\lib\functions.php on line 1163
Pls help me, thanks.
My system: Win2K/Apache/PHP504/Cacti 0.8.6f
|
|
| Back to top |
|
 |
qpduong
Joined: 26 Jul 2005 Posts: 11
|
Posted: Fri Jul 29, 2005 8:37 am Post subject: |
|
|
Oh, God. Problem solved after I change max_execution_time in php.ini from 30 to 300. Why this server_script runs so slow how to make it faster?
Thanks
|
|
| Back to top |
|
 |
jenchingyang
Joined: 20 Jul 2005 Posts: 5
|
Posted: Mon Aug 01, 2005 10:28 am Post subject: Cisco NBAR issue: the Y-scale of NBAR Stacked Protocol displ |
|
|
the Y-scale of NBAR Stacked Protocol display incorrect value. only show below 10k. but single protocol show normally. Anyone know how to solve it
| Description: |
|
| Filesize: |
50.16 KB |
| Viewed: |
9049 Time(s) |

|
|
|
| Back to top |
|
 |
|