Another Cisco Class Map Statistics - no script server (ugly)
Moderators: Developers, Moderators
Re: Another Cisco Class Map Statistics - no script server (u
Hi,
you should do a verbose, it should show up something, even when there's no indexes.
Try to do a snmpwalk from the cacti server on the device for following oid : .1.3.6.1.4.1.9.9.166.1.15.1.1.11
you should do a verbose, it should show up something, even when there's no indexes.
Try to do a snmpwalk from the cacti server on the device for following oid : .1.3.6.1.4.1.9.9.166.1.15.1.1.11
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (u
Hi Joris,JorisFRST wrote:Hi,
you should do a verbose, it should show up something, even when there's no indexes.
Try to do a snmpwalk from the cacti server on the device for following oid : .1.3.6.1.4.1.9.9.166.1.15.1.1.11
I did a verbose, but "class map & service policy" not show item or rows.
Can you help me, pls ?
- Attachments
-
- cacti error.png (23.7 KiB) Viewed 6298 times
Re: Another Cisco Class Map Statistics - no script server (ugly)
Sorry for the late answer
but did you manage to do an snmpwalk for the device ?
Thanks,
Joris.
but did you manage to do an snmpwalk for the device ?
Thanks,
Joris.
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (ugly)
Maybe a script outside Cacti that updates the DB with the required names for these type of graphs where indexes don't match up.
Problem would be that it would only be usefull for the one type of graph. So probably why nobody made something like this.
Problem would be that it would only be usefull for the one type of graph. So probably why nobody made something like this.
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
-
- Cacti User
- Posts: 250
- Joined: Wed Mar 13, 2019 3:37 pm
- Location: toronto
- Contact:
Re: Another Cisco Class Map Statistics - no script server (ugly)
I found this OID iso.3.6.1.4.1.9.9.166.1.8.1.1.1 that shows the class map name
so.3.6.1.4.1.9.9.166.1.5.1.1.4.1043.1053 = Gauge32: 1051
iso.3.6.1.4.1.9.9.166.1.6.1.1.1.1035 = STRING: "POLICE-SETTING"
iso.3.6.1.4.1.9.9.166.1.6.1.1.2.1035 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.1.1025 = STRING: "class-default"
iso.3.6.1.4.1.9.9.166.1.7.1.1.1.1029 = STRING: "MATCH_PREC"
iso.3.6.1.4.1.9.9.166.1.7.1.1.2.1025 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.2.1029 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.3.1025 = INTEGER: 3
here is the OID mib view
cbQosPolicyMapCfgEntry cbQosPolicyMapCfgEntry 1.3.6.1.4.1.9.9.166.1.6.1.1
cbQosPolicyMapName cbQosPolicyMapName 1.3.6.1.4.1.9.9.166.1.6.1.1.1
cbQosPolicyMapDesc cbQosPolicyMapDesc 1.3.6.1.4.1.9.9.166.1.6.1.1.2
Here is the output from the router its running IOS 12.4
netflow-lab#sh policy-map
Policy Map POLICE-SETTING
Class MATCH_PREC
police cir 8000 bc 1000 be 1000
conform-action transmit
exceed-action set-qos-transmit 1
violate-action drop
netflow-lab#
I am working on updating the XML to include a field that can be queried !
Thanks for the template !!!
so.3.6.1.4.1.9.9.166.1.5.1.1.4.1043.1053 = Gauge32: 1051
iso.3.6.1.4.1.9.9.166.1.6.1.1.1.1035 = STRING: "POLICE-SETTING"
iso.3.6.1.4.1.9.9.166.1.6.1.1.2.1035 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.1.1025 = STRING: "class-default"
iso.3.6.1.4.1.9.9.166.1.7.1.1.1.1029 = STRING: "MATCH_PREC"
iso.3.6.1.4.1.9.9.166.1.7.1.1.2.1025 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.2.1029 = ""
iso.3.6.1.4.1.9.9.166.1.7.1.1.3.1025 = INTEGER: 3
here is the OID mib view
cbQosPolicyMapCfgEntry cbQosPolicyMapCfgEntry 1.3.6.1.4.1.9.9.166.1.6.1.1
cbQosPolicyMapName cbQosPolicyMapName 1.3.6.1.4.1.9.9.166.1.6.1.1.1
cbQosPolicyMapDesc cbQosPolicyMapDesc 1.3.6.1.4.1.9.9.166.1.6.1.1.2
Here is the output from the router its running IOS 12.4
netflow-lab#sh policy-map
Policy Map POLICE-SETTING
Class MATCH_PREC
police cir 8000 bc 1000 be 1000
conform-action transmit
exceed-action set-qos-transmit 1
violate-action drop
netflow-lab#
I am working on updating the XML to include a field that can be queried !
Thanks for the template !!!
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Cacti Bug Hunter and Member
www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini
My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates
Always willing to help!
Re: Another Cisco Class Map Statistics - no script server (ugly)
cisco_cbQosCMCfgEntry.xml is using <oid>.1.3.6.1.4.1.9.9.166.1.7.1.1.1</oid>seanmancini wrote: ↑Sat Nov 30, 2019 1:21 am I found this OID iso.3.6.1.4.1.9.9.166.1.8.1.1.1 that shows the class map name
and using a regex to parse 1029 for your example MATCH_PREC
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (ugly)
Hi JorisFRST,
My Cacti Graph is not showing PostBitRate, what can be the reason? Can you please suggest.
My Cacti Graph is not showing PostBitRate, what can be the reason? Can you please suggest.
Re: Another Cisco Class Map Statistics - no script server (ugly)
edited
Last edited by JorisFRST on Fri Aug 07, 2020 6:11 am, edited 1 time in total.
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (ugly)
Hi,
first do an snmpwalk against your router to make sure it is giving the values
first do an snmpwalk against your router to make sure it is giving the values
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (ugly)
I have imported QoS templates, but seem it's doesn't work. I did a verbose, but "class map " not show item or rows. Can you help me, Please ?
1) Cisco - Class Based QoS Class Map Statistics Success [0 Items, 0 Rows]
2) Cisco - Class Based QoS Policy Map Config Entry Success [0 Items, 0 Rows]
3) Cisco - Class Based Qos Service Policy Entry Success [0 Items, 0 Rows]
1) Cisco - Class Based QoS Class Map Statistics Success [0 Items, 0 Rows]
2) Cisco - Class Based QoS Policy Map Config Entry Success [0 Items, 0 Rows]
3) Cisco - Class Based Qos Service Policy Entry Success [0 Items, 0 Rows]
Re: Another Cisco Class Map Statistics - no script server (ugly)
Hi,
do a verbose query, it should give you some output.
At least some sort of error ?
do a verbose query, it should give you some output.
At least some sort of error ?
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Re: Another Cisco Class Map Statistics - no script server (ugly)
Hi Joris,
I used your template, but my graph not show value. Can you help me, pls ?
I used your template, but my graph not show value. Can you help me, pls ?
- Attachments
-
- test.png (16.95 KiB) Viewed 2747 times
Re: Another Cisco Class Map Statistics - no script server (ugly)
Hi,
some cisco devices will always show 0, best is to do snmpwalk and see if it shows the numbers there.
some cisco devices will always show 0, best is to do snmpwalk and see if it shows the numbers there.
Joris.
http://www.routerjanitor.com
http://www.routerjanitor.com
Who is online
Users browsing this forum: No registered users and 0 guests