Xymon Mailing List Archive search

netstat unknown OS?

list Henrik Størner
Thu, 3 Feb 2005 22:14:08 +0100
Message-Id: <user-c244c8dd233b@xymon.invalid>

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