nv-l
[Top] [All Lists]

RE: [nv-l] Graph Collected Data in Realtime

To: nv-l@lists.tivoli.com
Subject: RE: [nv-l] Graph Collected Data in Realtime
From: "Leslie Clark" <lclark@us.ibm.com>
Date: Fri, 8 Nov 2002 10:16:25 -0500
Well, I've done this on NT, but not recently. I think I would first
try using the MIB Application Builder to create a graphing MIB Application
for a single mib variable and make sure it works. If it does not work,
then call Support. When you are in the MIB Application Builder,
there is a choice of Table, Form, or Graph. Pick Graph, and then
pick some mib variable like ifOutOctets, and see if you get the
same error.  If so, call Support.

The example I provided is a way to go beyond the MIB
Application Builder, which does not support the mibExpr.conf file,
and use expressions. Once you get a working example using the
proper gui, you can then modify the resulting registration file
to use the expression. Be sure to move it out of the ovmib
directory so the MIB Application Builder won't 'correct' it for you.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager



                                                                                
                                             
                      OZCAN                                                     
                                             
                      CAVUS@sibnet.com.        To:      Leslie 
Clark/Southfield/IBM@IBMUS                                    
                      tr                       cc:      nv-l@lists.tivoli.com   
                                             
                                               Subject: RE: [nv-l] Graph 
Collected Data in Realtime(Document link: Leslie    
                      11/08/2002 05:01         Clark)                           
                                             
                      AM                                                        
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             
                                                                                
                                             




Hi Leslie,

Thanks for your help. Your script works but "graph. exe" gives a memory
error.
On Windows 2000 the error is;

      Error:

            graph.exe - Application Error
            The instruction at "0x0040f299" referenced memory at
"0x00000018".
            The memory could not be "read".

I think "graph.exe"  is not run as good as xnmgraph.

Is there any difference between them ?

and

Is NetView support  graphing realtime mib expressions on NT or 2000?

Thanks.

ÖZCAN ÇAVUŞ

SIBNET BILGISAYAR
Atatürk Cad,Ulya Engin iş merkezi No:68/8 Kat:5
Kozyatağı, Kadıköy ISTANBUL




             "Leslie Clark"
             <lclark@us.ibm.co
             m>                                                         To
                                       nv-l@lists.tivoli.com
             07.11.2002 19:49                                           cc

                                                                   Subject
                                       RE: [nv-l] Graph Collected Data in
                                       Realtime











Back to the notion of a realtime MIB Application on the server for
collecting and graphing a mib expression, here's what I have been using.
I put this is a file called 'customername.reg' in /usr/OV/registration/C
and close and re-open the map, select a node, and it works fine.

################################################
Application 'Additional functions for company XYZ'
{
    Description {
        "Miscellaneous functions added to",
        "the menu by L. Clark, IBM Global Services"
            }

    Version 'V6R0';

    Copyright {
      "----",
      ""
    }

    HelpDirectory '';

 MenuBar "Monitor"
    {
              "Network Activity"   f.menu "Monitor->Network Activity";
    }
    Menu "Monitor->Network Activity"
    {
         <20>    "Halfdpx Iface Util"   f.action "ifUtilHDGraph";
         <21>    "Fulldpx Send Iface Util"   f.action "ifUtilFDoutGraph";
         <22>    "Fulldpx Recv Iface Util"   f.action "ifUtilFDinGraph";
         <22>    "ErrorRate"    f.action "errorRateGraph";
    }

    Action "ifUtilHDGraph"
    {
        SelectionRule (isSNMPSupported)||(isSNMPProxied);
        MinSelected 1;
        Command "/usr/OV/bin/xnmgraph \\
          -title \"Percent Util: \(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";
    }
}
########################################################################
Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit



---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)










<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web