Re: [mrtg] Help reading the OIDs for a Emerson/Libert unit

This is a discussion on Re: [mrtg] Help reading the OIDs for a Emerson/Libert unit within the MRTG forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0819490596== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008
Feijo, Fernando
 
Posts: n/a
Default Re: [mrtg] Help reading the OIDs for a Emerson/Libert unit

This is a multi-part message in MIME format.

--===============0819490596==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C8998C.0552EA30"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C8998C.0552EA30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20

I monitor two Lieberts for temperature and humidity. Same OIDs, it =
seems. This is what my target line looks like.

=20

Target[l1-temp-hum]:.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.1&.1.3.6.1.4. 1.47=
6.1.42.3.4.2.2.3.1.3.1:snmpstr@ipaddress

=20

Fernando

=20

________________________________

From: mrtg-bounces@lists.oetiker.ch =
[mailto:mrtg-bounces@lists.oetiker.ch] On Behalf Of Mills, Charles
Sent: Tuesday, April 08, 2008 10:41 AM
To: mrtg@lists.oetiker.ch
Subject: [mrtg] Help reading the OIDs for a Emerson/Libert unit

=20

Hi all ... I'm kind of at my wit's end with this problem and not sure =
what I'm doing wrong in the MRTG side of things. I don't do a lot of =
"custom" cfg files relying mainly on the cfgmaker.

=20

I have a Liebert 22 Ton CRAC unit in my data center and I'd like to use =
it as a temp sensor for that part of the computer room. I believe I =
have the correct OID but MRTG doesn't seem to evaluate/expand it right =
or I have something else wrong in the config file:

=20

Running the MRTG program yields:

=20

env LANG=3DC /usr/local/mrtg-2/bin/mrtg /etc/mrtg/Liebert-AC-4-temp.cfg

2008-04-08 10:31:28: ERROR: Target[liebert-ac-4][_IN_] =
'.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3. $target->[0]{$mode} ' evaluated to =
'=C7*19773129' instead of a number

2008-04-08 10:31:28: ERROR: Target[liebert-ac-4][_OUT_] =
'.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3. $target->[0]{$mode} ' evaluated to =
'=C7*38089656' instead of a number

=20

../snmpget.pl -c 'RO-snmp-string' <ip of liebert webcard> =
..1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.1

=20

Returns:

=20

=20

..1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.1 =3D INTEGER: 73

=20

=20

Persuing the docs didn't yield too much that would point me in the right =
direction...if anyone has ever tackled something like this I'd =
appreciate the help.

=20

Chuck

=20

Charles L. Mills

Senior Network Engineer

Access Data Corporation / Pittsburgh, PA 15238

(412) 968-4024 FAX: (412) 967-9504

cmills@accessdc.com / http://www.accessdc.com

Hosting, Colocation, D-R and Managed Services

=20

This e-mail message and any files transmitted with it contain =
confidential information intended only for the person(s) to whom this =
email message is addressed. If you have received this e-mail message in =
error, please notify the sender immediately by telephone or e-mail and =
destroy the original message without making a copy. Thank you.

Neither this information block, the typed name of the sender, nor =
anything else in this message is intended to constitute an electronic =
signature unless a specific statement to the contrary is included in =
this message.


------_=_NextPart_001_01C8998C.0552EA30
Content-Type: text/html;
charset="iso-8859-1"
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:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<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]--><o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PostalCode"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"State"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 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:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Comic Sans MS";
color:black;
font-weight:normal;
font-style:normal;}
@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=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans MS";color:black'>I =
monitor two
Lieberts for temperature and humidity. Same OIDs, it seems. This is what =
my
target line looks like.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'>Target[l1-temp-hum]:.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.=
1&amp;.1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3.1:<i><sp an
style=3D'font-style:italic'>snmpstr</span></i>@<i><span =
style=3D'font-style:italic'>ipaddress</span></i><o:p></o:p></span></font>=
</p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'>Fernando<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3D"Comic Sans =
MS"><span
style=3D'font-size:10.0pt;font-family:"Comic Sans =
MS";color:black'><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>Mills, Charles<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, April 08, =
2008
10:41 AM<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] Help =
reading the
OIDs for a Emerson/Libert unit</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><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all … I’m kind of at my wit’s =
end with
this problem and not sure what I’m doing wrong in the MRTG side of
things.&nbsp; I don’t do a lot of “custom” cfg files =
relying
mainly on the cfgmaker.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a Liebert 22 Ton CRAC unit in my data center =
and
I’d like to use it as a temp sensor for that part of the computer
room.&nbsp; I believe I have the correct OID but MRTG doesn’t seem =
to
evaluate/expand it right or I have something else wrong in the config =
file:<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Running the MRTG program =
yields:<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>env LANG=3DC /usr/local/mrtg-2/bin/mrtg
/etc/mrtg/Liebert-AC-4-temp.cfg<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>2008-04-08 10:31:28: ERROR: =
Target[liebert-ac-4][_IN_]
'.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3. $target-&gt;[0]{$mode} ' evaluated =
to
'=C7*19773129' instead of a number<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>2008-04-08 10:31:28: ERROR: =
Target[liebert-ac-4][_OUT_]
'.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3. $target-&gt;[0]{$mode} ' evaluated =
to
'=C7*38089656' instead of a number<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>./snmpget.pl -c 'RO-snmp-string’ &lt;ip of =
liebert
webcard&gt; =
..1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.1<o:p></o:p></span></font></p>

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

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

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

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>.1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3. 1 =3D INTEGER: =
73<o:p></o:p></span></font></p>

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

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Persuing the docs didn’t yield too much that =
would
point me in the right direction…if anyone has ever tackled =
something like
this I’d appreciate the help.<o:p></o:p></span></font></p>

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

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

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

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Charles L. Mills</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Senior Network Engineer</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Access Data Corporation / <st1:place =
w:st=3D"on"><st1:City
w:st=3D"on">Pittsburgh</st1:City>, <st1:State =
w:st=3D"on">PA</st1:State> <st1:PostalCode
=
w:st=3D"on">15238</st1:PostalCode></st1:place></span></font><o:p></o:p></=
p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>(412) 968-4024 FAX: (412) =
967-9504</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a =
href=3D"mailto:cmills@accessdc.com">cmills@accessd c.com</a>
/ <a =
href=3D"http://www.accessdc.com">http://www.accessdc.com</a></span></font=
><o:p></o:p></p>


<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hosting, Colocation, D-R and Managed =
Services</span></font><o:p></o:p></p>

<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>

</div>

</body>

<!--[object_id=3D#accessdc.com#]--><FONT face=3DTahoma size=3D2><FONT =
color=3D#0000ff>
<P style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Courier New" =
color=3D#000000 size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Courier New'">This e-mail message and any files transmitted with it =
contain confidential information intended only for the person(s) to whom =
this email message is addressed. If you have received this e-mail =
message in error, please notify the sender immediately by telephone or =
e-mail and destroy the original message without making a copy.&nbsp; =
Thank you.</SPAN></FONT></P>
<P style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Courier New" =
color=3D#000000 size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Courier New'">Neither this information block, the typed name of the =
sender, nor anything else in this message is intended to constitute an =
electronic signature unless a specific statement to the contrary is =
included in this message.</SPAN></FONT></P>
<P align=3Dcenter></FONT></FONT></P>
</html>

------_=_NextPart_001_01C8998C.0552EA30--


--===============0819490596==
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

--===============0819490596==--

Reply With Quote
Reply


Thread Tools
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

vB 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 09:59 AM.


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