Cisco 4500 switche template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

ncanqn
Posts: 4
Joined: Wed Nov 03, 2010 12:28 am

Re: Cisco 4500 switche template

Post by ncanqn »

Hi All,
Follow my previous question. I spent lot of time trying to make the CPU graph for cisco 4500 Sup 7E with 2 cores work but no luck.
Attached are Data template and Datasource and snmp walk. Can someone please give me some hint?
Thanks a lot
Data Template 1
Data Template 1
Template1.png (32.66 KiB) Viewed 9138 times
Data Template 2 with OID
Data Template 2 with OID
Template2.png (40.96 KiB) Viewed 9138 times
Datasource
Datasource
DataSource.png (31.8 KiB) Viewed 9138 times
snmpwalk result
snmpwalk result
snmpwalk.png (26.65 KiB) Viewed 9138 times
pourya
Posts: 1
Joined: Wed May 05, 2021 1:44 am

Re: Cisco 4500 switche template

Post by pourya »

Hi I want to find oid per core in VSS mode 4500-x switches CPU process avg and Total ? could you help me? I have 2 switches one of them active and the other is passive. each one has 2 cores with process output that I can observe with show command.
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Cisco 4500 switche template

Post by Rno »

With this template, I'm able to do some monitoring, espacilly the VSS status and the multiple CPU usage (master/slave), but for the last one, the snmp query return only 1 cpu since, 3.06.04 (15.2.2E4). Before that i was able to receive the 2 CPUs.
Attachments
cacti_host_template_cisco_4500-x.xml
(288.18 KiB) Downloaded 120 times
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
GabrielV
Posts: 5
Joined: Fri Dec 13, 2019 4:31 am

Re: Cisco 4500 switche template

Post by GabrielV »

Hello!

I tried to install this template: cacti_host_template_cisco_4500-x.xml

But i have this error:

Resource File: '/usr/share/cacti/resource/snmp_queries/cisco_multi_cpu.xml' is missing or not readable.
Make sure you install it before using Data Query: 'Cisco multi CPU'


Thanks,
Gabe
GabrielV
Posts: 5
Joined: Fri Dec 13, 2019 4:31 am

Re: Cisco 4500 switche template

Post by GabrielV »

Here are the graphs, VLANs are missing or have dummy values.


Thanks,
Gabe
Attachments
Screenshot_19.png
Screenshot_19.png (508 KiB) Viewed 2720 times
Screenshot_18.png
Screenshot_18.png (679.25 KiB) Viewed 2720 times
Screenshot_17.png
Screenshot_17.png (364.47 KiB) Viewed 2720 times
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Cisco 4500 switche template

Post by Rno »

GabrielV wrote: Sat Sep 09, 2023 4:48 pm Hello!

I tried to install this template: cacti_host_template_cisco_4500-x.xml

But i have this error:

Resource File: '/usr/share/cacti/resource/snmp_queries/cisco_multi_cpu.xml' is missing or not readable.
Make sure you install it before using Data Query: 'Cisco multi CPU'


Thanks,
Gabe
Oups sorry:
more cisco_multi_cpu.xml

Code: Select all

<?xml version="1.0"?>
<cisco_multi_cpu>
<name>Cisco Multiple CPU</name>
<arg_index>Index</arg_index>
<oid_index>.1.3.6.1.4.1.9.9.109.1.1.1.1.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]+)$</oid_index_parse>
<fields>
        <Index>
                <name>CPU Index</name>
                <method>walk</method>
                <source>value</source>
                <direction>input</direction>
                <oid>.1.3.6.1.4.1.9.9.109.1.1.1.1.2</oid>
        </Index>

        <cCpu5Min>
                <name>NbrCount</name>
                <method>walk</method>
                <source>value</source>
                <direction>output</direction>
                <oid>.1.3.6.1.4.1.9.9.109.1.1.1.1.8</oid>
        </cCpu5Min>

        <cCpu1Min>
                <name>NbrCount</name>
                <method>walk</method>
                <source>value</source>
                <direction>output</direction>
                <oid>.1.3.6.1.4.1.9.9.109.1.1.1.1.7</oid>
        </cCpu1Min>

        <cCpu5Sec>
                <name>NbrCount</name>
                <method>walk</method>
                <source>value</source>
                <direction>output</direction>
                <oid>.1.3.6.1.4.1.9.9.109.1.1.1.1.6</oid>
        </cCpu5Sec>

</fields>

</cisco_multi_cpu>

Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Rno
Cacti Pro User
Posts: 658
Joined: Wed Dec 07, 2011 9:19 am

Re: Cisco 4500 switche template

Post by Rno »

GabrielV wrote: Sat Sep 09, 2023 5:07 pm Here are the graphs, VLANs are missing or have dummy values.


Thanks,
Gabe
That's nothing to do with the template, it's using Data Query [SNMP - Interface Statistics]
Can you check on the console->device then choose a 4500-x and look on Create New Graphs
Wich type of Vlan it use, unrouted VLAN or Vlanxx ?
The unrouted vlan is empty not the Vlanxxx
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
GabrielV
Posts: 5
Joined: Fri Dec 13, 2019 4:31 am

Re: Cisco 4500 switche template

Post by GabrielV »

Hello Rno,

I think I found the problem..

https://community.cisco.com/t5/switchin ... -p/2958514

Thanks,
Gabe
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests