[XML] Cisco NBAR Protocol Statistics Query 1.2a [UPDATED]
Moderators: Developers, Moderators
-
- Posts: 17
- Joined: Wed Jun 22, 2005 10:43 pm
NBAR template not working on 0.8.6e
Can someone please help me with this ? I cannot get this template working on 0.8.6e. No rows are returned in the query ...
I imported the templates and copied the relevant files, as per the readme.
Please see the attachment for my setup.
Much appreciated
TIA
Celtic
I imported the templates and copied the relevant files, as per the readme.
Please see the attachment for my setup.
Much appreciated
TIA
Celtic
- Attachments
-
- HELP Please ...
- nbar_broken.JPG (169.72 KiB) Viewed 20870 times
-
- Posts: 17
- Joined: Wed Jun 22, 2005 10:43 pm
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
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
-
- Posts: 17
- Joined: Wed Jun 22, 2005 10:43 pm
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
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
-
- Posts: 2
- Joined: Fri Jul 15, 2005 3:15 pm
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 !!!!
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 !!!!
CLRGomes
From Brazil
From Brazil
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 !!!!
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 !!!!
CLRGomes
From Brazil
From Brazil
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
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
-
- Posts: 18
- Joined: Wed Jul 20, 2005 8:44 am
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
- Attachments
-
- Cisco NBAR Graphic
- Cisco_NBAR.jpg (50.16 KiB) Viewed 20492 times
I keep getting this:
To me, it looks like it is passing the script 7 variables, when it only wants 6. If I run it from a console, removing the ss_nbar_all variable, it returns a value (with the ss_nbar_all in there, it returns nothing):
Any idea what is going on here?
The previous NBAR script worked, but was slow....
Code: Select all
10/06/2005 10:21:34 AM - CACTID: Poller[0] ERROR: PHP Script Server communications lost, attempting to close and restart
10/06/2005 10:21:34 AM - CACTID: Poller[0] Host[1106] DS[5079] WARNING: Result from SERVER not valid. Partial Result: ...
10/06/2005 10:21:34 AM - CACTID: Poller[0] Host[1106] DS[5079] SERVER: /usr/share/cacti/scripts/ss_nbar_all.php ss_nbar_all 192.168.1x1.1x2 communitystring 2 get outbytes 258, output: U
Code: Select all
php /usr/share/cacti/scripts/ss_nbar_all.php 192.168.1x1.1x2 communitystring 2 get outbytes 312
5886262
The previous NBAR script worked, but was slow....
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Hmm... maybe I should have more coffee, or less.
The script tests out from the console, as per the script server test, so it is passing the correct values, its just the script server dying for some reason....
The script tests out from the console, as per the script server test, so it is passing the correct values, its just the script server dying for some reason....
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What about Cactid 0.8.6f? Could also be a timeout. Goto Settings->Poller and increase your Script Timeout value.
Larry
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Using cactid086f-rc12 and timeout is set to 300.
On full debug it gives me this:
On full debug it gives me this:
Code: Select all
10/06/2005 11:06:23 AM - CACTID: Poller[0] ERROR: PHP Script Server communications lost, attempting to close and restart
10/06/2005 11:06:23 AM - CACTID: Poller[0] DEBUG: PHP Script Server Shutdown Started
10/06/2005 11:06:23 AM - CACTID: Poller[0] DEBUG: PHP Script Server Routine Starting
10/06/2005 11:06:23 AM - CACTID: Poller[0] DEBUG: PHP Script Server About to FORK Child Process
10/06/2005 11:06:23 AM - CACTID: Poller[0] DEBUG: PHP Script Server Child FORK Success
10/06/2005 11:06:23 AM - CACTID: Poller[0] Host[1106] DS[5021] WARNING: Result from SERVER not valid. Partial Result: ...
10/06/2005 11:06:23 AM - CACTID: Poller[0] Host[1106] DS[5021] SERVER: /usr/share/cacti/scripts/ss_nbar_all.php 192.168.1x1.1x2 commstring 2 get inbytes 315, output: U
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 2 guests