Cisco switches no ports

I'm running Stor2rrd 7.10. I have problem with Cisco switches.  The configuration is correct but PORTS.cfg is empty
I have the same problem with 2 Cisco Switches.

un Mar 14 15:27:17 2021: Could not find ports for bpt-sw1 in /home/stor2rrd/stor2rrd/data/bpt-sw1/PORTS.cfg /home/stor2rrd/stor2rrd/bin/lan.pl:599 :
Sun Mar 14 15:27:17 2021: Could not find ports for bpt-sw3 in /home/stor2rrd/stor2rrd/data/bpt-sw3/PORTS.cfg /home/stor2rrd/stor2rrd/bin/lan.pl:599 :

Health Status is working fine.

Switches are C2950

Sample from conf-last
     "13" : {
         "admin_status" : "up",
         "macs" : [
            "00:07:84:36:30:cc"
         ],
         "port_id" : "Fa0-12",
         "port_name" : "Fa0/12",
         "port_type" : "physical",
         "speed" : "10",
         "state" : "used"

Comments

  • Hi,

    Send us logs. 
    Note a short problem description in the text field of the upload form.

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
    tar cvhf logs.tar logs tmp/*txt
    gzip -9 logs.tar

    Send us logs.tar.gz via https://upload.stor2rrd.com
  • remsad
    edited March 2021
    File has been uploaded with the reference for this post

     logs.tar.gz

     Total size: 50927 Bytes


  • Hi,

    there are no ports in PORTS.cfg because your 2 switches do not provide data in/out statistics.
    From our point of view the port without data in/out is unused. So for us it's correct behaviour.

    cat tmp/bpt-sw3-perf-last.txt
    #PORT,act_time,port_id,data_out,data_in,unicast_pkts_out,unicast_pkts_in,multicast_pkts_out,multicast_pkts_in,broadcast_pkts_out,broadcast_pkts_in,errors_out,errors_in,reserve1,reserve2,switch_name,db_name
    PORT,1615749862,VL1,0,0,1243274,1243008,,,,,0,0,,,bpt-sw3,VL1.rrd
    PORT,1615749862,Fa0-1,0,0,3886562599,979874785,,,,,0,52361,,,bpt-sw3,Fa0-1.rrd
    PORT,1615749862,Fa0-2,0,0,4,1,,,,,0,0,,,bpt-sw3,Fa0-2.rrd
    PORT,1615749862,Fa0-3,0,0,188614441,16860460,,,,,0,0,,,bpt-sw3,Fa0-3.rrd
    PORT,1615749862,Fa0-4,0,0,189528799,17630850,,,,,0,0,,,bpt-sw3,Fa0-4.rrd
    PORT,1615749862,Fa0-5,0,0,174270241,45540,,,,,0,0,,,bpt-sw3,Fa0-5.rrd
    PORT,1615749862,Fa0-6,0,0,174629926,430913,,,,,0,444,,,bpt-sw3,Fa0-6.rrd
    PORT,1615749862,Fa0-7,0,0,174927517,756101,,,,,0,0,,,bpt-sw3,Fa0-7.rrd
    PORT,1615749862,Fa0-8,0,0,174207760,14725,,,,,0,0,,,bpt-sw3,Fa0-8.rrd
    PORT,1615749862,Fa0-9,0,0,4,1,,,,,0,0,,,bpt-sw3,Fa0-9.rrd
    PORT,1615749862,Fa0-10,0,0,174492511,296474,,,,,0,0,,,bpt-sw3,Fa0-10.rrd
    PORT,1615749862,Fa0-11,0,0,1,1,,,,,0,0,,,bpt-sw3,Fa0-11.rrd
    PORT,1615749862,Fa0-12,0,0,196075843,26688919,,,,,0,0,,,bpt-sw3,Fa0-12.rrd
    PORT,1615749862,Fa0-13,0,0,175912451,2534563,,,,,0,0,,,bpt-sw3,Fa0-13.rrd
    PORT,1615749862,Fa0-14,0,0,147181825,2277017,,,,,0,0,,,bpt-sw3,Fa0-14.rrd
    PORT,1615749862,Fa0-15,0,0,175470963,1274360,,,,,0,0,,,bpt-sw3,Fa0-15.rrd
    PORT,1615749862,Fa0-16,0,0,917250673,3811064837,,,,,0,0,,,bpt-sw3,Fa0-16.rrd
    PORT,1615749862,Fa0-17,0,0,147017603,2137640,,,,,0,0,,,bpt-sw3,Fa0-17.rrd
    PORT,1615749862,Fa0-18,0,0,174201894,6306,,,,,0,0,,,bpt-sw3,Fa0-18.rrd
    PORT,1615749862,Fa0-19,0,0,147299864,2517714,,,,,0,0,,,bpt-sw3,Fa0-19.rrd
    PORT,1615749862,Fa0-20,0,0,174239511,49584,,,,,0,0,,,bpt-sw3,Fa0-20.rrd
    PORT,1615749862,Fa0-21,0,0,174278926,230328,,,,,0,1,,,bpt-sw3,Fa0-21.rrd
    PORT,1615749862,Fa0-22,0,0,53457986,422385,,,,,0,0,,,bpt-sw3,Fa0-22.rrd
    PORT,1615749862,Fa0-23,0,0,4,1,,,,,0,0,,,bpt-sw3,Fa0-23.rrd
    PORT,1615749862,Fa0-24,0,0,53458320,422203,,,,,0,0,,,bpt-sw3,Fa0-24.rrd

    Data in/out are collected by these snmp commands:

    snmpwalk -v 1 -c public <switch IP> 1.3.6.1.2.1.31.1.1.1.6 | head -3
    IF-MIB::ifHCInOctets.49 = Counter64: 3888394231366
    IF-MIB::ifHCInOctets.50 = Counter64: 262898469637
    IF-MIB::ifHCInOctets.51 = Counter64: 98298817241

    snmpwalk -v 1 -c public <switch IP> 1.3.6.1.2.1.31.1.1.1.10 | head -3
    IF-MIB::ifHCOutOctets.49 = Counter64: 2077173108221
    IF-MIB::ifHCOutOctets.50 = Counter64: 162398337149
    IF-MIB::ifHCOutOctets.51 = Counter64: 82151872764


Sign In or Register to comment.