[hobbit] Hobbit reports vmstat|netstat for an unknown OS

thomas.seglard.enata at cnp.fr thomas.seglard.enata at cnp.fr
Wed Apr 5 16:54:03 CEST 2006


Thanks for your help ! This is the solution...
Once again, answer was in the documentation and I don't see it... Sorry 
about that.

But with redhat, be careful !! redhat as 3 update 1 will not produce the 
same vmstat output that a redhat 3 update 3 !!! That's horrible... So, I'm writing here what os you have to indicate in order to have a good vmstat's graph under hobbit.

version         --os switch used to launch hobbit's client

redhat 2.1 (ia32 / ia64)  --->  --os=linux22
redhat 3 update 1 (ia32 / ia64) --->  --os=linux the default one
redhat 3 update >1 (ia32/ia64) --->  --os=rhel3
redhat 4 update 2 (ia32/ia64) --->  --os=linux the default one
centos 4.2 (ia32) --->  --os=linux the default one

Thanks again !
Sincerly,

Thomas

"lars ebeling" <lars.ebeling at leopg9.no-ip.org> a écrit sur 31/03/2006 
16:37:12 :

> Extract from README.CLIENT:
> 
> OS detection on Linux systems  
> -----------------------------  
> The client normally determines the operating system auto-  
> matically from the "uname -s" output. This results in all  
> Linux systems reporting as "Linux" - which causes the  
> vmstat graphs to fail for certain types of systems:  
>  
>         - Red Hat Enterprise Linux  
>           Should report "rhel3" instead.  
>  
>         - Systems running Linux kernels 2.2.x (Debian Woody)  
>           Should report "linux22" instead.  
>  
> To override the default, start the client using the  
> "--os=OSNAME" option to the runclient.sh startup command.  
>  
> ----- Original Message ----- 
> From: thomas.seglard.enata at cnp.fr 
> To: hobbit at hswn.dk 
> Sent: Friday, March 31, 2006 4:17 PM
> Subject: Re: [hobbit] Hobbit reports vmstat|netstat for an unknown OS
> 
> 
> Thanks for the info but how hobbit distinguishes the different 
> redhat versions ?? Because the output of uname -s is the same on 
> redhat as 2.1, 3 and 4 (ia32 or ia64) ! Or in the do_vmstat.c there 
> is a structure called rhel3. So, does that mean Hobbit never use 
> this structure...? 
> Anyway, the output for hp-ux is correct but I got the unknown OS 
> message in my log. Something goes wrong somewhere. 
> Thanks for your help and your quick answer ! 
> Sincerly, 
> 
> Thomas 
> 
> "lars ebeling" <lars.ebeling at leopg9.no-ip.org> a écrit sur 
> 31/03/2006 16:00:50 :
> 
> > Hobbit uses uname -s and the output HP-UX is correct . The other I 
> > don't know about. 
> > 
> > Lars 
> > ----- Original Message ----- 
> > From: thomas.seglard.enata at cnp.fr 
> > To: hobbit at hswn.dk 
> > Sent: Friday, March 31, 2006 3:53 PM 
> > Subject: Re: [hobbit] Hobbit reports vmstat|netstat for an unknown OS > > 
> > 
> > Hi, 
> > 
> > here is the results of the uname -s 
> > 
> > on hpux 11.00 / 11i : HP-UX 
> > 
> > on AIX 4.2 / 4.3 / 5.2/ 5.3 : AIX 
> > 
> > on redhat as 3 (ia32 / ia64) : Linux 
> > 
> > on redhat as 2.1 (ia32 / ia64) : Linux 
> > 
> > on solaris 6 / 7 / 8 / 9 / 10 : SunOS 
> > 
> > Is hobbit uses ``uname -s` to determine the os version ? Or another 
> > command ? If uname is used I think, I found why the vmstat graphs 
> > are not showing up correctly... But, I don't know how to correct 
> this problem.
> > Sincerly, 
> > 
> > Thomas 
> > 
> > "lars ebeling" <lars.ebeling at leopg9.no-ip.org> a écrit sur 
> > 31/03/2006 15:15:51 :
> > 
> > > What do you get with uname -s 
> > > 
> > > Lars 
> > > ----- Original Message ----- 
> > > From: thomas.seglard.enata at cnp.fr 
> > > To: hobbit at hswn.dk 
> > > Sent: Friday, March 31, 2006 3:05 PM 
> > > Subject: [hobbit] Hobbit reports vmstat|netstat for an unknown OS 
> > > 
> > > 
> > > Hi again, 
> > > 
> > > my rrd-status.log file is full of messages like : 
> > > 
> > > host 'xxxx' reports vmstat for an unknown OS 
> > > host 'yyy' reports netstat for an unknown OS 
> > > 
> > > How could I fix that ? 
> > > Best regards, 
> > > 
> > > Thomas Seglard
> > > 


Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060405/421805c2/attachment.html>


More information about the Xymon mailing list