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
|