Re: [mrtg] SNMP integar values settings

This is a discussion on Re: [mrtg] SNMP integar values settings within the MRTG forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0256638328== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0148_01C89C77.9A420B80" This ...


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008
Mir Hafeez Ali
 
Posts: n/a
Default Re: [mrtg] SNMP integar values settings

This is a multi-part message in MIME format.

--===============0256638328==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0148_01C89C77.9A420B80"

This is a multi-part message in MIME format.

------=_NextPart_000_0148_01C89C77.9A420B80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Please use the following option in configuration.



Options[_]: bits

kilo[_]: 1024



Regards,

Mir Hafeez Ali



_____

From: mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch]
On Behalf Of SYED JAHANZAiB ~!~ AA Internet Cable.Network Services
Sent: Friday, April 11, 2008 5:54 PM
To: mrtg@lists.oetiker.ch
Subject: [mrtg] SNMP integar values settings



Hi,
When I query remote pc for monitoring RAM size, i get the following value

HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 16223

I have 1GB of ram in that pc, but it shows me 16223, when i multiply this
value with its hrStorageAllocationUnits.8 which is 65536, i get the correct
value for 1gb ram, how to setup this in mrtg? bcoz mrtg will take 16223 as
bytes and thus shows wrong value, how can i tell mrtg to multiply 16223
value by 65536

same case is with HDD space, snmp shows its Allocation Unit size is 4096, so
how to multiply snmp value with 4096?

Regards,

zaib



_____

Invite your mail contacts to join your friends list with Windows Live
Spaces. It's easy! Try it!
<http://spaces.live.com/spacesapi.asp...=/friends.aspx
&mkt=en-us>


------=_NextPart_000_0148_01C89C77.9A420B80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

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

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Please use the following option in
configuration.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Options[_]: =
bits<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>kilo[_]: =
1024<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><b><font size=3D2 color=3Dnavy face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>=
Regards,<o:p></o:p></span></font></b></p>

<p class=3DMsoNormal><b><font size=3D2 color=3Dnavy face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold'>=
Mir
Hafeez Ali<o:p></o:p></span></font></b></p>

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

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>SYED JAHANZAiB ~!~ AA =
Internet
Cable.Network Services<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, April 11, =
2008 5:54
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
mrtg@lists.oetiker.ch<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [mrtg] SNMP =
integar
values settings</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>Hi,<br>
When I query remote pc for monitoring RAM size, i get the following =
value<br>
&nbsp;<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 =3D INTEGER: 65536 =
Bytes<br>
HOST-RESOURCES-MIB::hrStorageSize.8 =3D INTEGER: 16223<br>
<br>
I have 1GB of ram in that pc, but it shows me 16223, when i multiply =
this value
with its hrStorageAllocationUnits.8 which is 65536, i get the correct =
value for
1gb ram, how to setup this in mrtg? bcoz mrtg will take 16223 as bytes =
and thus
shows wrong value, how can i tell mrtg to multiply 16223 value by =
65536<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>same case is with HDD space, snmp shows its =
Allocation Unit
size is 4096, so how to multiply snmp value with =
4096?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><strong><b><font size=3D2 color=3Dblack =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:black'>Regards,</span>=
</font></b></strong><strong><b><font
size=3D2 color=3D"#0066ff" face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:
Tahoma;color:#0066FF'> </span></font></b></strong><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></=
p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma;color:black'>zaib</span></font><font size=3D2
face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'><o:p></o:p></span></font></=
p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>

<hr size=3D2 width=3D"100%" align=3Dcenter>

</span></font></div>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>Invite your mail contacts to join your friends list =
with
Windows Live Spaces. It's easy! <a
href=3D"http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&amp;wx_u=
rl=3D/friends.aspx&amp;mkt=3Den-us"
target=3D"_new">Try it!</a><o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0148_01C89C77.9A420B80--



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

_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============0256638328==--


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0