Forum Discussion

Livesport_s_r_o's avatar
Livesport_s_r_o
Icon for Nimbostratus rankNimbostratus
Oct 08, 2014

Cacti graphs per VIP

Hello, We are trying to graph traffic per VIP in cacti on our F5 LTM - running 11.5.1, but we are getting mismatched values. we tried this guide: https://devcentral.f5.com/wiki/AdvDesignConfig.CactiF5HostTemplate.ashx does anybody here have solution to graph it?

 

And just one more question, we found some OIDs but we dont know what exactly are they showing

 

ltmVirtualServStatClientPktsIn ltmVirtualServStatClientBytesIn ltmVirtualServStatClientPktsOut ltmVirtualServStatClientBytesOut

 

thanks for help Jakub

 

6 Replies

  • Hi,

     

    I use the same OIDs like with 11.x or 10.x before. There was nothing changed for this. So, all old templates are still working.

     

    traffic in (bytes):1.3.6.1.4.1.3375.2.2.10.2.3.1.7

     

    traffic out (bytes):1.3.6.1.4.1.3375.2.2.10.2.3.1.9

     

    this should be ltmVirtualServStatClientBytesIn, ltmVirtualServStatClientBytesOut

     

    the other one are the OIDs for Pakets, like the name says too.

     

  • Hi,

     

    what version are you using? could you please post some detailed info ?

     

    Thank you

     

    • Torti's avatar
      Torti
      Icon for Cirrus rankCirrus
      we are running 11.5.1 , too. I never changed the templates, since runinng 10.x. What do you need for details?
    • Livesport_s_r_o's avatar
      Livesport_s_r_o
      Icon for Nimbostratus rankNimbostratus
      Could you see correct values in cacti? In cacti we can see some nonsense values - PBytes etc, shape of graph is aprox correct, but the values are much more greater than our traffic
    • Torti's avatar
      Torti
      Icon for Cirrus rankCirrus
      yes, the values are all correct. it sounds like wrong settings for your graphs. Do you use cdef "turn bytes into bits"?
  • as i mentioned at first message, we use Cacti template from devcentral without modifications so yes graphs are using cdef "turn bytes into bits".

    I wrote small oneliner to prove that the value is incorrect:

    sec=360; oid='.1.3.6.1.4.1.3375.2.2.10.2.3.1.7.18.47.67.111.109.109.111.110.47.86.83.45.70.83.45.76.52.95.49' ; old=$(snmpwalk -Ovq -v2c -c public    192.168.244.7 $oid) ; sleep $sec ; new=$(snmpwalk -Ovq -v2c -c public    192.168.244.7 $oid) ; echo $(( ( $new-$old ) / $sec * 8 ))
    

    This oneliner return value 1852250741272 which is 1.8Pbps and that's wrong value because we have only 40Gbps uplink.

    So I assume that graph template is fine however F5 box return some strange numbers from OID. Can you please try the same oneliner to see what will return tu you?