Since this report is parsed on the server (we're using "centralized" 
configuration), I don't think the client version makes a difference. The server 
is 4.3.3. I'm not sure what the client is, I didn't install it and there
 is not an obvious way of determining what version it is. That it dates 
from the "Hobbit" days is all I can tell by looking at it. <br>
<br>
I could use the perl scriptlet, but I'm monitoring a couple hundred of 
these boxes, I would rather fix it in once in a centralized location. 
Also, shouldn't this scriptlet go in the "top" section?<br>
<br>
Thanks,<br>
Larry Barber<br><br><br><div class="gmail_quote">On Mon, Nov 7, 2011 at 8:42 AM, Scott Pfister <span dir="ltr"><<a href="mailto:icepickjazz@gmail.com">icepickjazz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<p class="MsoNormal"><span style="font-size: 10pt; color: navy;">You didn't specify what verison of the client you are running on SLES.  This might have been fixed in newer clients.   In any event the problem is that under SLES, the uptime command shows </span></p>



<p class="MsoNormal" style="text-indent: 0.5in;"><span style="font-size: 10pt; color: navy;">‘day’ for uptime > 24 hours
&& <48 hours; eg, 1 day</span></p>

<p class="MsoNormal" style="text-indent: 0.5in;"><span style="font-size: 10pt; color: navy;">‘days’ for uptime > 48 hours;
eg 3 day</span><b><span style="font-size: 10pt; color: red;">s</span></b><span style="font-size: 10pt; color: navy;"></span></p>


<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;">The server is looking for ‘days’</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;">You can modify  the [uptime] section in
~hobbit/client/bin/hobbitclient-linux.sh and added a perl </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;">Command to change ‘ day ‘ to  ‘ days ‘.</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">echo "[uptime]"</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: navy;">uptime | perl -pe "s/^(.*) day (.*)/\1 days \2/"</span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: navy;"> </span></p>

<br><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 7, 2011 at 9:19 AM, Larry Barber <span dir="ltr"><<a href="mailto:lebarber@gmail.com" target="_blank">lebarber@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
SuSE systems report uptime as being up "1 day" rather than "1 days" as other Linuxes do. This seems to cause Xymon to skip the trends graphing during the period from 24 to 48 hours after a machine has been rebooted. No big deal, but one of my administrators is rather anally retentive about that sort of thing, <br>


<br>Sample from the top of "top" on a SuSE box:<br><pre>top - 08:15:59 up 1 day, 12:40,  0 users,  load average: 0.48, 0.97, 0.84<br>Tasks:  57 total,   1 running,  56 sleeping,   0 stopped,   0 zombie<br>Cpu(s):  5.0%us,  1.0%sy,  0.0%ni, 91.8%id,  1.6%wa,  0.1%hi,  0.2%si,  0.3%st<br>


Mem:   2047752k total,  2038620k used,     9132k free,    98792k buffers<br>Swap:   514696k total,      488k used,   514208k free,   630832k cached<br></pre><br>Thanks,<br><font color="#888888">Larry Barber<br>
</font><br></div></div>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br>
</blockquote></div><br>