Method of retrieving Bits per sec (MRTG ref)

Prakash Mariasusai <[email protected]> Wed, 17 Mar 2010 18:09:56 +0530
Newsgroups gmane.network.mrtg.devel
Message-ID <66E3DDEEA70F0D469D1FFE238526B6ED280528DEBB@CHN-HCLT-EVS07.HCLT.CORP.HCL.IN>
--===============1807173535==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_66E3DDEEA70F0D469D1FFE238526B6ED280528DEBBCHNHCLTEVS07H_"


--_000_66E3DDEEA70F0D469D1FFE238526B6ED280528DEBBCHNHCLTEVS07H_
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I=20am=20writing=20a=20small=20program=20to=20get=20the=20"Bits=20per=20s=
ec"=20value
for=20a=20network=20interface=20in=20Unix=20systems=20(Solaris,=20Linux=
=20severs)
similar=20to=20the=20one=20provided=20by=20MRTG=20in=20the=20below=20link=
:
http://www.switch.ch/network/operation/statistics/geant2.html

I=20assume=20that=20MRTG=20does=20the=20same=20through=20SNMP.

I=20am=20new=20to=20SNMP=20and=20if=20someone=20can=20point=20me=20to=20t=
he=20appropriate=20MIB/OID,
for=20doing=20the=20same,=20it=20would=20be=20very=20helpful.

Thanks=20in=20advance,
Prakash


DISCLAIMER:
-------------------------------------------------------------------------=
----------------------------------------------

The=20contents=20of=20this=20e-mail=20and=20any=20attachment(s)=20are=20c=
onfidential=20and=20intended=20for=20the=20named=20recipient(s)=20only.=
=20
It=20shall=20not=20attach=20any=20liability=20on=20the=20originator=20or=
=20HCL=20or=20its=20affiliates.=20Any=20views=20or=20opinions=20presented=
=20in=20
this=20email=20are=20solely=20those=20of=20the=20author=20and=20may=20not=
=20necessarily=20reflect=20the=20opinions=20of=20HCL=20or=20its=20affilia=
tes.=20
Any=20form=20of=20reproduction,=20dissemination,=20copying,=20disclosure,=
=20modification,=20distribution=20and=20/=20or=20publication=20of=20
this=20message=20without=20the=20prior=20written=20consent=20of=20the=20a=
uthor=20of=20this=20e-mail=20is=20strictly=20prohibited.=20If=20you=20hav=
e=20
received=20this=20email=20in=20error=20please=20delete=20it=20and=20notif=
y=20the=20sender=20immediately.=20Before=20opening=20any=20mail=20and=20
attachments=20please=20check=20them=20for=20viruses=20and=20defect.

-------------------------------------------------------------------------=
----------------------------------------------

--_000_66E3DDEEA70F0D469D1FFE238526B6ED280528DEBBCHNHCLTEVS07H_
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html=20xmlns:o=3D"urn:schemas-microsoft-com:office:office"=20xmlns:w=3D"=
urn:schemas-microsoft-com:office:word"=20xmlns=3D"http://www.w3.org/TR/RE=
C-html40">

<head>
<META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Du=
s-ascii">
<meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=
=20medium)">
<style>
<!--
=20/*=20Style=20Definitions=20*/
=20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal
=09{margin:0in;
=09margin-bottom:.0001pt;
=09font-size:12.0pt;
=09font-family:"Times=20New=20Roman";}
a:link,=20span.MsoHyperlink
=09{color:blue;
=09text-decoration:underline;}
a:visited,=20span.MsoHyperlinkFollowed
=09{color:purple;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:Arial;
=09color:windowtext;}
@page=20Section1
=09{size:8.5in=2020.0in;
=09margin:1.0in=201.25in=201.0in=201.25in;}
div.Section1
=09{page:Section1;}
-->
</style>

</head>

<body=20lang=3DEN-US=20link=3Dblue=20vlink=3Dpurple>

<div=20class=3DSection1>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>I=20am=20writing=20a=20small=20program=20to=20get=20th=
e=20&#8220;Bits=20per=20sec&#8221;
value=20<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>for=20a=20network=20interface=20in=20Unix=20systems=20=
(Solaris,=20Linux
severs)=20<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>similar=20to=20the=20one=20provided=20by=20MRTG=20in=
=20the=20below=20link:<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><a
href=3D"http://www.switch.ch/network/operation/statistics/geant2.html">ht=
tp://www.switch.ch/network/operation/statistics/geant2.html</a><o:p></o:p=
></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>I=20assume=20that=20MRTG=20does=20the=20same=20through=
=20SNMP.<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>I=20am=20new=20to=20SNMP=20and=20if=20someone=20can=20=
point=20me=20to=20the
appropriate=20MIB/OID,<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>for=20doing=20the=20same,=20it=20would=20be=20very=20h=
elpful.<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>Thanks=20in=20advance,<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'>Prakash<o:p></o:p></span></font></p>

<p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'f=
ont-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

<table><tr><td=20bgcolor=3D#ffffff><font=20color=3D#000000><pre>DISCLAIME=
R:
-------------------------------------------------------------------------=
----------------------------------------------

The=20contents=20of=20this=20e-mail=20and=20any=20attachment(s)=20are=20c=
onfidential=20and=20intended=20for=20the=20named=20recipient(s)=20only.=
=20
It=20shall=20not=20attach=20any=20liability=20on=20the=20originator=20or=
=20HCL=20or=20its=20affiliates.=20Any=20views=20or=20opinions=20presented=
=20in=20
this=20email=20are=20solely=20those=20of=20the=20author=20and=20may=20not=
=20necessarily=20reflect=20the=20opinions=20of=20HCL=20or=20its=20affilia=
tes.=20
Any=20form=20of=20reproduction,=20dissemination,=20copying,=20disclosure,=
=20modification,=20distribution=20and=20/=20or=20publication=20of=20
this=20message=20without=20the=20prior=20written=20consent=20of=20the=20a=
uthor=20of=20this=20e-mail=20is=20strictly=20prohibited.=20If=20you=20hav=
e=20
received=20this=20email=20in=20error=20please=20delete=20it=20and=20notif=
y=20the=20sender=20immediately.=20Before=20opening=20any=20mail=20and=20
attachments=20please=20check=20them=20for=20viruses=20and=20defect.

-------------------------------------------------------------------------=
----------------------------------------------</pre></font></td></tr></ta=
ble>

--_000_66E3DDEEA70F0D469D1FFE238526B6ED280528DEBBCHNHCLTEVS07H_--


--===============1807173535==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
mrtg-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers

--===============1807173535==--