I think the rrdtool has some of this built into it...it's a great spinoff of mrtg... (it's bascialy the engine and you do with it as you please.... check out this link.
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/ and look at so of the graphs people are doing.... there are also some sample scripts there! hth, -Patrick >>> "sam sneed" 03/19/02 12:33PM >>> Hello group, I am trying to write a script in perl to monitor interface errors and total traffic during work hours. I'm doing an snmpwalk to get the info. I want the total amount of packets in and out of an interface so I can calculate the % of errors on the line. Cisco says on their site : http://www.cisco.com/warp/public/477/SNMP/5.html that ifInNUcastPkts (.1.3.6.1.2.1.2.2.1.12) are counts of inbound broadcast and multicast packets ifOutUcastPkts (.1.3.6.1.2.1.2.2.1.17) are counts of outbound broadcast and multicast packets besides In and Out whats the difference? I thought Ucast meant unicast and NUcast meant broadcast and multicast. When queried, every int gives NUcast and Ucast which are different values. How could Cisco define them as the same. Is this a misprint? Lastly I'm assuming that total packets would be the sum of the 2(unicast + multicast/broadcast). Is this assumption correct? ps i don't want ifOutOctets because i want the # of packets not bytes. thankd >>>>>>>>>>>>> Confidentiality Disclaimer <<<<<<<<<<<<<<<< This email and any files transmitted with it may contain confidential and /or proprietary information in the possession of WellStar Health System, Inc. ("WellStar") and is intended only for the individual or entity to whom addressed. This email may contain information that is held to be privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized access, dissemination, distribution or copying of any information from this email is strictly prohibited, and may subject you to criminal and/or civil liability. If you have received this email in error, please notify the sender by reply email and then delete this email and its attachments from your computer. Thank you. ================================================================ Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=38833&t=38824 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

