On 5/20/15 5:51 AM, Mark Seger wrote:
> yes, I do understand.  the root of the problem is when collectl reports
> summary network stats, it only reports ethernet traffic and not any
> bonded or virtual networks either so as to now double count anything.
>   alas, the way it does this is to hardcode those network types of
> interest which started out as just eth and ib (the latter being
> infiniband over ip).
>
> Anyhow with the newer network types (at least newer for collectl) of em,
> en and p1p I had to add those to the list as well. Having dug into this
> a little deeper I can now see that p1p is too specific and I should
> really be matching on p\dp.  I suppose I could just match on p, but not
> knowing what the future types might be I'd prefer to be as specific as I
> can.  Does this sound like it will work for you?  You can always try it
> out by patching the following line in /usr/share/collectl/formatit.ph
> <http://formatit.ph>:
>
>      if (($netFilt eq '' && $netNameNow=~/^eth|^ib|^em|^en|^p1p/) ||
>
> and changing ^p1p to ^p\dp.  Just be sure to let me know if this works
> for you as I don't have any machines running with these interface types
> to test on.

This also works.



>
> -mark
>
> On Wed, May 20, 2015 at 1:46 AM, Ilan Green <[email protected]
> <mailto:[email protected]>> wrote:
>
>     This is a workaround not a fix..
>
>
>     Ilan
>
>         The fix is to specify the filter.
>
>          > [root@linuscs91 ~]# collectl --netfilt ^p
>          > waiting for 1 second sample...
>          >
>         
> #<--------CPU--------><----------Disks-----------><----------Network---------->
>          > #cpu sys inter  ctxsw KBRead  Reads KBWrit Writes   KBIn
>           PktIn  KBOut  PktOut
>          >    4   1  7362   7127      0      0      0      0  49035
>         7160      0       3
>          >    2   1  7211   6820      0      0      0      0  46279
>         6927      0       0
>          >    2   1  7663   7819      0      0      0      0  52496
>         7816      0       4
>          >    2   1  7105   6918      0      0      0      0  47390
>         7074      0       0
>
>
>
>         On 5/13/15 12:45 PM, Matt Weil wrote:
>          >
>          > Hello all,
>          >
>          > We recently upgraded rhel 6.6 which updated allot of perl
>         packages.
>          > Since then we noticed that some stats are no longer working.
>         I have
>          > tested this on collectl-3.7.4-1.1.noarch and 4.0.
>          >
>          > Basic stats are not working.
>          >> [root@linuscs91 ~]# collectl
>          >> waiting for 1 second sample...
>          >>
>         
> #<--------CPU--------><----------Disks-----------><----------Network---------->
>          >> #cpu sys inter  ctxsw KBRead  Reads KBWrit Writes   KBIn
>           PktIn  KBOut  PktOut
>          >>     4   3  5756   5332      0      0      0      0      0
>             0      0       0
>          >>     1   0  4651   4175      0      0      0      0      0
>             0      0       0
>          >> Ouch!
>          >> [root@linuscs91 ~]# uname -a
>          >> Linux linuscs91.gsc.wustl.edu
>         <http://linuscs91.gsc.wustl.edu> 2.6.32-504.8.1.el6.x86_64 #1
>         SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
>          >> [root@linuscs91 ~]# cat /etc/redhat-release
>          >> Red Hat Enterprise Linux Server release 6.6 (Santiago)
>          >
>          > Detailed stats do work.
>          >
>          >> [root@linuscs91 ~]# collectl -sND --dskfilt=dm-1
>          >> waiting for 1 second sample...
>          >>
>          >> ### RECORD    3 >>> linuscs91 <<< (1431539041.001) (Wed May
>         13 12:44:01 2015) ###
>          >>
>          >> # DISK STATISTICS (/sec)
>          >> #
>           
> <---------reads---------><---------writes---------><--------averages--------> 
> Pct
>          >> #Name       KBytes Merged  IOs Size  KBytes Merged  IOs Size
>           RWSize  QLen  Wait SvcTim Util
>          >> dm-1             0      0    0    0       4      0    1    4
>                4     1     1      1    0
>          >>
>          >> # NETWORK STATISTICS (/sec)
>          >> #Num    Name   KBIn  PktIn SizeIn  MultI   CmpI  ErrsI
>           KBOut PktOut  SizeO   CmpO  ErrsO
>          >>     0      lo      0      3     42      0      0      0
>           0      3     42      0      0
>          >>     1     em1      0      0      0      0      0      0
>           0      0      0      0      0
>          >>     2     em2      0      0      0      0      0      0
>           0      0      0      0      0
>          >>     3     em3      0      0      0      0      0      0
>           0      0      0      0      0
>          >>     4     em4      0      0      0      0      0      0
>           0      0      0      0      0
>          >>     5    p4p1  19088   2256   8664      0      0      0
>           0      0      0      0      0
>          >>     6    p3p1     52    721     73      0      0      0
>           0      0      0      0      0
>          >>     7   bond0  19140   2977   6583      0      0      0
>           0      0      0      0      0
>          >
>          >
>          > Thanks for any incite to the problem.
>          >
>          > Matt
>          >
>          > ____
>          > This email message is a private communication. The
>         information transmitted, including attachments, is intended only
>         for the person or entity to which it is addressed and may
>         contain confidential, privileged, and/or proprietary material.
>         Any review, duplication, retransmission, distribution, or other
>         use of, or taking of any action in reliance upon, this
>         information by persons or entities other than the intended
>         recipient is unauthorized by the sender and is prohibited. If
>         you have received this message in error, please contact the
>         sender immediately by return email and delete the original
>         message from all computer systems. Thank you.
>          >
>          >
>         
> ------------------------------------------------------------------------------
>          > One dashboard for servers and applications across
>         Physical-Virtual-Cloud
>          > Widest out-of-the-box monitoring support with 50+ applications
>          > Performance metrics, stats and reports that give you
>         Actionable Insights
>          > Deep dive visibility with transaction tracing using APM Insight.
>          > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>          > _______________________________________________
>          > Collectl-interest mailing list
>          > [email protected]
>         <mailto:[email protected]>
>          > https://lists.sourceforge.net/lists/listinfo/collectl-interest
>          >
>
>
>         ____
>         This email message is a private communication. The information
>         transmitted, including attachments, is intended only for the
>         person or entity to which it is addressed and may contain
>         confidential, privileged, and/or proprietary material. Any
>         review, duplication, retransmission, distribution, or other use
>         of, or taking of any action in reliance upon, this information
>         by persons or entities other than the intended recipient is
>         unauthorized by the sender and is prohibited. If you have
>         received this message in error, please contact the sender
>         immediately by return email and delete the original message from
>         all computer systems. Thank you.
>
>         
> ------------------------------------------------------------------------------
>         One dashboard for servers and applications across
>         Physical-Virtual-Cloud
>         Widest out-of-the-box monitoring support with 50+ applications
>         Performance metrics, stats and reports that give you Actionable
>         Insights
>         Deep dive visibility with transaction tracing using APM Insight.
>         http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>         _______________________________________________
>         Collectl-interest mailing list
>         [email protected]
>         <mailto:[email protected]>
>         https://lists.sourceforge.net/lists/listinfo/collectl-interest
>
>
>
>     
> ------------------------------------------------------------------------------
>     One dashboard for servers and applications across Physical-Virtual-Cloud
>     Widest out-of-the-box monitoring support with 50+ applications
>     Performance metrics, stats and reports that give you Actionable Insights
>     Deep dive visibility with transaction tracing using APM Insight.
>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>     _______________________________________________
>     Collectl-interest mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/collectl-interest
>
>


____
This email message is a private communication. The information transmitted, 
including attachments, is intended only for the person or entity to which it is 
addressed and may contain confidential, privileged, and/or proprietary 
material. Any review, duplication, retransmission, distribution, or other use 
of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is unauthorized by the sender and is 
prohibited. If you have received this message in error, please contact the 
sender immediately by return email and delete the original message from all 
computer systems. Thank you.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Collectl-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collectl-interest

Reply via email to