cisco QoS and CAR 64bit templates pack
Moderators: Developers, Moderators
cisco QoS and CAR 64bit templates pack
Hi All,
there were some cisco qos and car templates floating around, but i found them very inneficient and resource-hungry - so made personal-ones.
CAR:
QoS:
instructions on installing them are inside the archives.
cheers
ps: I would appreciate someone could recreate data-query,data-template and graph-template on 0.8.6.x, because currently it is not possible to import templates to 0.8.6.x (only 0.8.7)
there were some cisco qos and car templates floating around, but i found them very inneficient and resource-hungry - so made personal-ones.
CAR:
QoS:
instructions on installing them are inside the archives.
cheers
ps: I would appreciate someone could recreate data-query,data-template and graph-template on 0.8.6.x, because currently it is not possible to import templates to 0.8.6.x (only 0.8.7)
- Attachments
-
- cisco_qos_and_car_64bit_templates_update_v3_scripts_only.tar.gz
- car and qos scripts update (v3)
tar gzip archive - (2.97 KiB) Downloaded 1960 times
-
- cisco-qos-64_v2.tar.gz
- (6.52 KiB) Downloaded 1685 times
-
- cisco-qos-64_v2.zip
- (8.95 KiB) Downloaded 1706 times
-
- cisco-car-64_v2.tar.gz
- (6.62 KiB) Downloaded 1143 times
-
- cisco-car-64_v2.zip
- (9 KiB) Downloaded 1246 times
Last edited by johnrembo on Mon Aug 18, 2008 2:40 am, edited 2 times in total.
[url=http://forums.cacti.net/viewtopic.php?t=24934&highlight=zond]zond plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?t=28384]memorize plugin[/url]
[url=http://forums.cacti.net/viewtopic.php?p=141322#141322]transporter plugin[/url]
Thanks
Just wanted to thank you for these scripts, they saved me a lot of work having to do it myself.
Sean
Sean
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Would you update it to also graph the packet drop rate? If not - I may try to take a stab at it.
Bytes Dropped should be 1.3.6.1.4.1.9.9.166.1.15.1.1.16, it would be great if your script could also do it as well as traffic.
Bytes Dropped should be 1.3.6.1.4.1.9.9.166.1.15.1.1.16, it would be great if your script could also do it as well as traffic.
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
i will consider that. it might take a month maybe - I'm to busy now (currently working on juniper cos and alcatel-lucent templates)Cacti Jack wrote:Would you update it to also graph the packet drop rate? If not - I may try to take a stab at it.
Bytes Dropped should be 1.3.6.1.4.1.9.9.166.1.15.1.1.16, it would be great if your script could also do it as well as traffic.
Template Qos "cisco-qos-64"
Hi Johnrembo, i was checking your template "cisco-qos-64_v2.tar.gz",but...my problem is...that I don`t have SNMP V3 enable in my Routers, do you have a version for SNMP V2 ? or is there another way to use your version con v2c ?
Thanks a lot
Chispol
Thanks a lot
Chispol
Re: cisco QoS and CAR 64bit templates pack
Hi Johnrembo, i was checking your template "cisco-qos-64_v2.tar.gz",but...my problem is...that I don`t have SNMP V3 enable in my Routers, do you have a version for SNMP V2 ? or is there another way to use your version con v2c ?
Thanks a lot
Chispol
_________________________________
Thanks a lot
Chispol
_________________________________
johnrembo wrote:Hi All,
there were some cisco qos and car templates floating around, but i found them very inneficient and resource-hungry - so made personal-ones.
CAR:
QoS:
instructions on installing them are inside the archives.
cheers
ps: I would appreciate someone could recreate data-query,data-template and graph-template on 0.8.6.x, because currently it is not possible to import templates to 0.8.6.x (only 0.8.7)
Re: Template Qos "cisco-qos-64"
these scripts are universal - they should work with all the snmp versions but I had problems on some devices with snmp_V2 - only 32bit counters were available - that is a pain on Core machines.chispuelo wrote:Hi Johnrembo, i was checking your template "cisco-qos-64_v2.tar.gz",but...my problem is...that I don`t have SNMP V3 enable in my Routers, do you have a version for SNMP V2 ? or is there another way to use your version con v2c ?
Thanks a lot
Chispol
- Attachments
-
- cisco_snmp_V2_qos.jpg (105.63 KiB) Viewed 31314 times
-
- Posts: 7
- Joined: Wed Apr 23, 2008 1:18 pm
Weird data being retrieved
Hi Johnrembo
I'm getting some strange results with this data query... I'm trying to monitor a policy map applied into an E3 interface (34Mb) but in the graphs i'm seeing values up to 100 Mbs an over. Which doesn't make sense since the maximum capacity of the interface is 34Mb. Why can this be happening?
And its funny, because on Gb interfaces it seems to work just fine
The router info is a 7600 with SNMPv3 enabled. Please help!
[/img]
I'm getting some strange results with this data query... I'm trying to monitor a policy map applied into an E3 interface (34Mb) but in the graphs i'm seeing values up to 100 Mbs an over. Which doesn't make sense since the maximum capacity of the interface is 34Mb. Why can this be happening?
And its funny, because on Gb interfaces it seems to work just fine
The router info is a 7600 with SNMPv3 enabled. Please help!
[/img]
- Attachments
-
- mpls-available.JPG (40.6 KiB) Viewed 30876 times
Re: Weird data being retrieved
I do personaly also experience some peaks in graphs and this problem is not solved yet. The only way to fight with this annoying feature is to limit data-source maximums to port speed. There's also a perl script floating around cacti forums called "removespikes.pl"elviejorafiki wrote:Hi Johnrembo
I'm getting some strange results with this data query... I'm trying to monitor a policy map applied into an E3 interface (34Mb) but in the graphs i'm seeing values up to 100 Mbs an over. Which doesn't make sense since the maximum capacity of the interface is 34Mb. Why can this be happening?
And its funny, because on Gb interfaces it seems to work just fine
The router info is a 7600 with SNMPv3 enabled. Please help!
[/img]
I might only suspect that this is kind of php5_snmp faulty behaviour (but not a bug): timeouts under unix linux environment can be interupted by any external proccess. When certain cacti device or snmp query get's timeouted - it affects all the snmp-cache. counter integer range (delta) get's divided by the smaller time period - that results in hudge traffic values on chart.
-
- Posts: 7
- Joined: Wed Apr 23, 2008 1:18 pm
thanks a lot for your reply... I'll look forward for the script to eliminate spikes... but i have 2 more questions,
Is it possible to include in the data query the ifAlias of the interface in order to have that information on the graph title? That would be very usefull for me since I have a lot of interfaces to monitor and It would be a nice feature to include.
The second one, is that I'm using about 7 different class maps on each policy-map, would it be possible to include all of them in one single graph instead of having 7 different graphs for each interface.
Thanks
Is it possible to include in the data query the ifAlias of the interface in order to have that information on the graph title? That would be very usefull for me since I have a lot of interfaces to monitor and It would be a nice feature to include.
The second one, is that I'm using about 7 different class maps on each policy-map, would it be possible to include all of them in one single graph instead of having 7 different graphs for each interface.
Thanks
Re: Weird data being retrieved
Hello johnrembo, I was looking info about to "elviejorafiki" question, to create a graph with an interface and 7 different class maps. MY QUESTION is ...Could I add a CDEF FUNCTION to joing it?
Thanks
------------------------------------------------------
it possible to include in the data query the ifAlias of the interface in order to have that information on the graph title? That would be very usefull for me since I have a lot of interfaces to monitor and It would be a nice feature to include.
The second one, is that I'm using about 7 different class maps on each policy-map, would it be possible to include all of them in one single graph instead of having 7 different graphs for each interface.
Thanks
------------------------------------------------------
it possible to include in the data query the ifAlias of the interface in order to have that information on the graph title? That would be very usefull for me since I have a lot of interfaces to monitor and It would be a nice feature to include.
The second one, is that I'm using about 7 different class maps on each policy-map, would it be possible to include all of them in one single graph instead of having 7 different graphs for each interface.
johnrembo wrote:I do personaly also experience some peaks in graphs and this problem is not solved yet. The only way to fight with this annoying feature is to limit data-source maximums to port speed. There's also a perl script floating around cacti forums called "removespikes.pl"elviejorafiki wrote:Hi Johnrembo
I'm getting some strange results with this data query... I'm trying to monitor a policy map applied into an E3 interface (34Mb) but in the graphs i'm seeing values up to 100 Mbs an over. Which doesn't make sense since the maximum capacity of the interface is 34Mb. Why can this be happening?
And its funny, because on Gb interfaces it seems to work just fine
The router info is a 7600 with SNMPv3 enabled. Please help!
[/img]
I might only suspect that this is kind of php5_snmp faulty behaviour (but not a bug): timeouts under unix linux environment can be interupted by any external proccess. When certain cacti device or snmp query get's timeouted - it affects all the snmp-cache. counter integer range (delta) get's divided by the smaller time period - that results in hudge traffic values on chart.
that's easy - just add the following text to /resource/script_queries/cisco-qos-64.xml at row 25, between </status> and <name>:elviejorafiki wrote: Is it possible to include in the data query the ifAlias of the interface in order to have that information on the graph title? That would be very usefull for me since I have a lot of interfaces to monitor and It would be a nice feature to include.
Code: Select all
<ifAlias>
<name>Alias</name>
<direction>input</direction>
<query_name>alias</query_name>
</ifAlias>
hmm...let me think...I'm afraid that will require modification of cisco-qos-64.php...it more likely shuld sound "adaptation"elviejorafiki wrote: The second one, is that I'm using about 7 different class maps on each policy-map, would it be possible to include all of them in one single graph instead of having 7 different graphs for each interface.
another solution - usage of additional data input method, which could return counters for all class-maps of certain policy-map.
that's not that difficult actually as it might just have sounded.
Re: Weird data being retrieved
Nope, that's not what CDEFs are designed for. CDEF calculations can only be appliet on graph items, so your primary task is to put all these class-maps on single graphs (see post above).chispuelo wrote:Hello johnrembo, I was looking info about to "elviejorafiki" question, to create a graph with an interface and 7 different class maps. MY QUESTION is ...Could I add a CDEF FUNCTION to joing it?
Thanks
-
- Posts: 7
- Joined: Wed Apr 23, 2008 1:18 pm
Hi
I've installed this, and the data query runs OK, but no rows are being returned. I've been monitoring CAR rate-limit counters manually by OID, and it works OK. Could this mean that the router only supports only 32 bit counters? It is a Cisco 3825.
Thanks
Jason
--- Data query debug output ---
+ Running data query [11].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" index'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query index'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query name'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query alias'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query descr'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query status'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfglimit'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfgextlimit'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfgrate'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query direction'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
I've installed this, and the data query runs OK, but no rows are being returned. I've been monitoring CAR rate-limit counters manually by OID, and it works OK. Could this mean that the router only supports only 32 bit counters? It is a Cisco 3825.
Thanks
Jason
--- Data query debug output ---
+ Running data query [11].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" index'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query index'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query name'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query alias'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query descr'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query status'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfglimit'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfgextlimit'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query cfgrate'
+ Executing script query '\usr\bin\php C:\cacti\scripts\cisco-car-64.php x.x.x.149 "1::xxxxxxx::::::MD5::::DES::::161::500" query direction'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
+ Found data query XML file at 'C:/cacti/resource/script_queries/cisco-car-64.xml'
Who is online
Users browsing this forum: No registered users and 0 guests