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

lars ebeling lars.ebeling at leopg9.no-ip.org
Fri Mar 31 16:37:12 CEST 2006


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

  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/20060331/11d9d79c/attachment.html>


More information about the Xymon mailing list