nv-l

RE: [NV-L] NetView Bandwidth Usage?

2006-09-13 08:26:04
Subject: RE: [NV-L] NetView Bandwidth Usage?
From: Leslie Clark <lclark AT us.ibm DOT com>
To: Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>
Date: Wed, 13 Sep 2006 08:25:25 -0400

The MIB Application Builder is there to help you to add mib functions to
your menu, but it does not support mib expressions, as defined in
/usr/OV/conf/mibExpr.conf. The data collectiond daemon, snmpCollect, does
support expressions. And the xnmgraph command also supports mib expressions.
The menus are designed for you to add things by adding your own registration
files in /usr/OV/registration/C. So you can do all sorts of things. Someone on
this forum gave this tip years ago: you can use the mib application builder to
make a mib appl, then alter the output to use an _expression_. I did that, and
then moved the function to a regular registration file so it would not get
overwritten. You can copy the sample below into a file like
     MyMibApps.reg
and put it in /usr/OV/registration/C
Then run 'ovw -verify' to make sure there are no syntax errors.
The next time you start your Motif map, the functions will appear on the
menu under Monitor..Network Activity.

Check to make sure the mibs named in these functions match the names of the
expressions in /usr/OV/conf/mibExpr.conf. Also note that these will try to
graph all interfaces on the selected device, which these days can be a lot.

For more information on xnmgraph, see the man page, or the Admin Reference.
For more information on registration files, see the Programmer's Guide.

=================== sample ========================================
Application 'Additional functions for customer XXX '
{
    Description {
        "Miscellaneous functions added to",
        "the menu by me:",
        "Monitor..Network Activity...Halfduplex Interface Utilization ",
        "Monitor..Network Activity...Fullduplex Send Interface Utilization ",
        "Monitor..Network Activity...Fullduplex Recv Interface Utilization ",
        "Monitor..Network Activity...ErrorRate "
    }

    Version 'V6R0';

    Copyright {
      "----",
      ""
    }
   
    HelpDirectory '';


    /*
    **  Tools
    */

   
    MenuBar "Monitor"
    {
              "Network Activity"   f.menu "Monitor->Network Activity";
    }
    Menu "Monitor->Network Activity"
    {
         <20>    "Halfduplex Interface Utilization"   f.action "ifUtilHDGraph";
         <21>    "Fullduplex Send Interface Utilization"   f.action "ifUtilFDoutGraph";
         <22>    "Fullduplex Recv Interface Utilization"   f.action "ifUtilFDinGraph";
         <22>    "ErrorRate"    f.action "errorRateGraph";
    }
   
    Action "ifUtilHDGraph"
    {
        SelectionRule (isSNMPSupported)||(isSNMPProxied);
        MinSelected 1;
        Command "/usr/OV/bin/xnmgraph \\
            -title \"Percent Utilization: \(send \+ recv\) \/ ifspeed\" \\
            -helpFile \"ovmib/OVW/Functions/ifUtilGraph\" \\
            -poll \"15s\" \\
            -mib \"BandwidthUtilHdx::::::::\" \\
            ${OVwSelections}";
        NameField "IP Hostname", "Selection Name";
    }

    Action "ifUtilFDinGraph"
    {
        SelectionRule (isSNMPSupported)||(isSNMPProxied);
        MinSelected 1;
        Command "/usr/OV/bin/xnmgraph \\
            -title \"Percent Utilization: recv \/ ifSpeed \" \\
            -helpFile \"ovmib/OVW/Functions/ifUtilGraph\" \\
            -poll \"15s\" \\
            -mib \"BandwidthUtilIn::::::::\" \\
            ${OVwSelections}";
        NameField "IP Hostname", "Selection Name";
    }

    Action "ifUtilFDoutGraph"
    {
        SelectionRule (isSNMPSupported)||(isSNMPProxied);
        MinSelected 1;
        Command "/usr/OV/bin/xnmgraph \\
            -title \"Percent Utilization: send \/ ifSpeed \" \\
            -helpFile \"ovmib/OVW/Functions/ifUtilGraph\" \\
            -poll \"15s\" \\
            -mib \"BandwidthUtilOut::::::::\" \\
            ${OVwSelections}";
        NameField "IP Hostname", "Selection Name";
    }

    Action "errorRateGraph"
    {
        SelectionRule (isSNMPSupported)||(isSNMPProxied);
        MinSelected 1;
        Command "/usr/OV/bin/xnmgraph \\
            -title \"Percent Utilization: send \/ ifSpeed \" \\
            -helpFile \"ovmib/OVW/Functions/ifUtilGraph\" \\
            -poll \"15s\" \\
            -mib \"ErrorRate::::::::\" \\
            ${OVwSelections}";
        NameField "IP Hostname", "Selection Name";
    }

}
================= end sample ====================================


Cordially,

Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager



Palkovics László <lpalkovics AT pcs DOT hu>
Sent by: nv-l-bounces AT lists.ca.ibm DOT com

09/13/2006 05:58 AM
Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com>

To
"Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
cc
Subject
RE: [NV-L] NetView Bandwidth Usage?





Hi David!
 
I collect BandwidthUtilHdx (8*100*(IFin+IFout))/IFSpeed
and use it to graph historical reports in Crystal Reports.
It gives a percentage value, but you need the Interface Speed to
get it.
For real time statistics, I only know the built in Monitor – Graph
Interface Traffic tool. That tool gives the number of packets back,
so you dont see the exact bandwidth usage.
 
Best regards, Laszlo
 



Feladó: nv-l-bounces AT lists.ca.ibm DOT com [mailto:nv-l-bounces AT lists.ca.ibm DOT com] Meghatalmazó D T
Küldve:
2006. szeptember 12. 23:41
Címzett:
Tivoli NetView Discussions
Tárgy:
[NV-L] NetView Bandwidth Usage?

 
Can NetView do real time statistics on network bandwidth usage?  Thanks.

David

 




Do you Yahoo!?
Everyone is raving about the
all-new Yahoo! Mail._______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)