<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I see strange vmstat graphs on these
2 Oses : Redhat AS 2.1 (ia32) and Redhat AS 3 (ia32 and ia64). It seems
that some columns were inverted or shifted, here is the output of vmstat
on a redhat 2.1 :</font>
<br>
<br><font size=2 face="sans-serif">procs
memory swap
io system
cpu</font>
<br><font size=2 face="sans-serif"> r b w swpd
free buff cache si so bi
bo in cs us sy id</font>
<br><font size=2 face="sans-serif">10 0 0 4828 12240
74940 36412 0 0 0
0 0 0 0 0 0</font>
<br><font size=2 face="sans-serif"> 1 0 0 4828
13000 74940 36424 0 0 0
90 141 189 15 21 65</font>
<br><font size=2 face="sans-serif"> 0 0 0 4828
13000 74940 36424 0 0 0
0 129 27 0 0 100</font>
<br><font size=2 face="sans-serif"> 0 0 0 4828
13100 74940 36420 0 0 0
12 138 31 1 0 99</font>
<br><font size=2 face="sans-serif"> 0 0 0 4828
13100 74940 36420 0 0 0
0 129 21 0 0 100</font>
<br>
<br><font size=2 face="sans-serif">and another one from a redhat 3 :</font>
<br>
<br><font size=2 face="sans-serif">procs
memory swap
io system
cpu</font>
<br><font size=2 face="sans-serif"> r b swpd free
buff cache si so bi bo
in cs us sy wa id</font>
<br><font size=2 face="sans-serif">91 0 4791520 31616 466384
1412464 10 27 58 89 552 7022
36 9 7 48</font>
<br><font size=2 face="sans-serif"> 1 0 4791520 34576
466384 1412832 0 0 0 266
5473 19909 25 23 0 52</font>
<br><font size=2 face="sans-serif"> 1 0 4791520 31792
466384 1412816 0 0 0
8 5716 18403 23 5 0 72</font>
<br><font size=2 face="sans-serif"> 2 0 4792560 32512
466384 1411840 0 347 0 540 5496
18243 33 9 0 58</font>
<br><font size=2 face="sans-serif"> 3 0 4792560 32512
466384 1411936 0 0 0 132
5139 17295 18 5 0 77</font>
<br><font size=2 face="sans-serif"> 0 0 4792560 32608
466400 1412032 0 0 0 13
5106 17191 19 7 0 74</font>
<br>
<br><font size=2 face="sans-serif">It seems graphs don't care about the
idle column. I put the output from a redhat as 4 (update 2) :</font>
<br>
<br><font size=2 face="sans-serif">procs -----------memory---------- ---swap--
-----io---- --system-- ----cpu----</font>
<br><font size=2 face="sans-serif"> r b swpd free
buff cache si so bi bo
in cs us sy id wa</font>
<br><font size=2 face="sans-serif"> 0 0 96 44128
217952 3371248 0 0 1 17
0 0 1 0 98 0</font>
<br><font size=2 face="sans-serif"> 0 0 96 44064
217952 3371248 0 0 0 12
2080 55 0 0 100 0</font>
<br><font size=2 face="sans-serif"> 0 0 96 44064
217952 3371248 0 0 0 24
2076 48 0 0 100 0</font>
<br><font size=2 face="sans-serif"> 0 0 96 44128
217952 3371248 0 0 0 12
2080 54 0 0 100 0</font>
<br><font size=2 face="sans-serif"> 0 0 96 54240
217952 3371248 0 0 0 17
2073 54 0 0 100 0</font>
<br>
<br><font size=2 face="sans-serif">On this particular os, vmstat graphs
are ok. On a Debian 3.1 system, graphs look good too.</font>
<br><font size=2 face="sans-serif">So, what can I do ? Is there a file
to modify, a package to install ? Remove Redhat and install a Debian...</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Thomas Seglard</font>
<br>
<br>
<br>
<br><font size=2><tt>"Jeff Newman" <jeffnewman75@gmail.com>
a écrit sur 10/03/2006 00:37:57 :<br>
<br>
> Ill be very generic and vague here, because I don't have much time,
<br>
> but I hope it helps point you in the right direction.</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> What I have done is create a "high-flow
xxx" new test, because, you <br>
> have to re-do the RRD file with the different step interval.</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> I would then copy the existing http test, and
then write a wrapper <br>
> that throws the script into an infinite loop like:</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> while true; do</tt></font>
<br><font size=2><tt>> /usr/local/hobbit/client/ext/httptest.sh</tt></font>
<br><font size=2><tt>> sleep 1</tt></font>
<br><font size=2><tt>> done</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> and put that wrapper script into the hobbitclient
conf. script in <br>
> the etc dir. </tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Then you'll have to configure the custom test
on the server, the <br>
> same way you would any other. (Following Henrik's guide he has <br>
> posted to the group before)</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> Just make sure you create the RRD file yourself
FIRST. As Henrik has<br>
> stated, hobbit will happily update a pre-existing RRD file. If you
<br>
> let hobbit create the RRD, it will do it at a 5 minute step rate.</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> -Jeff<br>
> <br>
> </tt></font>
<br><font size=2><tt>> On 3/9/06, Marsh, Ian <ian.marsh@hants.gov.uk>
wrote: </tt></font>
<br><font size=2><tt>> <br>
> We're currently experiencing a problem with httpd on one of
our <br>
> servers that isn't being caught by hobbit. Is it possible to specify<br>
> a custom test interval for just one test on one server? The hope is
<br>
> that it'll stand a better chance of catching the problem if it runs,<br>
> say, every minute rather than every 5 minutes. </tt></font>
<br><font size=2><tt>> Thank you, <br>
> Ian Marsh <br>
> <br>
> IT Services, Network Services <br>
> Hampshire County Council <br>
> Telephone: 01962 845235 <br>
> HPSN: 200 5235 <br>
> em ail: ian.marsh@hants.gov.uk </tt></font><FONT SIZE=3><BR>
<BR>
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.<BR>
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est<BR>
interdite, sauf autorisation expresse.<BR>
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite<BR>
au titre de ce message, s'il a ete altere, deforme ou falsifie.<BR>
<BR>
*****<BR>
<BR>
This message and any attachments (the "message") are confidential and intended solely for the addressees.<BR>
Any unauthorised use or dissemination is prohibited.<BR>
E-mails are susceptible to alteration.<BR>
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.<BR>
</FONT>