[hobbit] netstat unknown OS?

Henrik Stoerner henrik at hswn.dk
Thu Feb 3 22:14:08 CET 2005


On Thu, Feb 03, 2005 at 10:32:51AM -0800, Bruce Lysik wrote:
> I've noticed these lines in my larrd-status.log:
> 
> 2005-02-03 10:28:23 Host 'im20' reports netstat for an unknown OS
> 
> for various hosts.

Please check what the BB client on these hosts report for the
BBOSTYPE setting - you can see if you log in to the host, then

    BBHOME=/usr/local/bb
    export BBHOME
    . $BBHOME/etc/bbdef.sh
    echo $BBOSTYPE

Hobbit's OS detection expects this to be "solaris". I suspect
they might report as "SunOS".

If that is the case, then it is easy to fix by adding SunOS to
the OS list in lib/misc.c.


Henrik



More information about the Xymon mailing list