<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE>@font-face {
font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=119055017-09062005><FONT face=Arial color=#0000ff size=2>I
wrote a plugin that basically used </FONT></SPAN></DIV>
<DIV><SPAN class=119055017-09062005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=119055017-09062005><FONT face=Arial color=#0000ff size=2>ssh
<host> -l nagios /usr/bin/uptime</FONT></SPAN></DIV>
<DIV><SPAN class=119055017-09062005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=119055017-09062005><FONT face=Arial color=#0000ff size=2>and
parsed the information i needed. I also used the same approach for load
average.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<B>On Behalf Of </B>Richard
Santiago<BR><B>Sent:</B> Thursday, June 09, 2005 1:38 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Uptime on
Linux Servers<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">I’m tring to pull the uptime for
all Linux servers into Nagios. Besides using check_snmp (which I found
nowhere and it’s used by check_uptime) is there another solution for
this?.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Thanks.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">Richard
Santiago</SPAN></FONT></B></STRONG><o:p></o:p></P>
<P class=MsoNormal><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">OSI - Administración de
Sistemas</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">UPR - Recinto de Ciencias
Médicas</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">phone: 787.758.2525 x.
2934</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">e-mail: </SPAN></FONT><A
href="mailto:rsantiago@rcm.upr.edu"><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana">rsantiago@rcm.upr.edu</SPAN></FONT></A><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> </SPAN><o:p></o:p></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>