Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 11:16:01 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Warner Losh <imp@bsdimp.com>, Maxim Sobolev <sobomax@sippysoft.com>, yuripv@yuripv.net, FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD <freebsd-stable@freebsd.org>
Subject:   Re: SCSI and dmesg
Message-ID:  <CAOtMX2iNpFd6ZfxHQNZG9FKNUzTO%2B2h9Tb5Qdm0xsKR0ZoUVyg@mail.gmail.com>
In-Reply-To: <20181129180803.GB99411@spindle.one-eyed-alien.net>
References:  <CANCZdfpwnaXgtakz29myYkgxro%2B4LQBCMNRB6haiWT5g%2BPaU2A@mail.gmail.com> <c70b2a91-9fd2-1452-2fc5-1e49332c875a@yuripv.net> <d5f93be4-96f8-a63c-611f-5395abd0a3b6@yuripv.net> <CAH7qZftXtFv5=sFpwGJy1WdmzA3pzWBeFpQpOo_o7qxj6jeADQ@mail.gmail.com> <CANCZdfoP9cY4W7d5YBGAq_pfDRS6iMsdWTMT=eEnC_47nosBgg@mail.gmail.com> <CAOtMX2iOSXzPzpyz9_t42SL4wqZCvz25q_6VdbZaZ3nLkatWoQ@mail.gmail.com> <CANCZdfqz508_68_m1LsO%2BHA4%2BUjRAuv3Khm3u6tZ99dWmT8zWg@mail.gmail.com> <CAOtMX2jiDimT6%2BXpwnos-NfcXJ9QSBBhfaWzE%2Bz7xqmNFLeJPw@mail.gmail.com> <20181129180803.GB99411@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 29, 2018 at 11:08 AM Brooks Davis <brooks@freebsd.org> wrote:

> On Thu, Nov 29, 2018 at 11:01:01AM -0700, Alan Somers wrote:
> > On Thu, Nov 29, 2018 at 10:49 AM Warner Losh <imp@bsdimp.com> wrote:
> >
> > >
> > >
> > > On Thu, Nov 29, 2018 at 8:09 AM Alan Somers <asomers@freebsd.org>
> wrote:
> > >
> > >> On Mon, Nov 26, 2018 at 3:57 PM Warner Losh <imp@bsdimp.com> wrote:
> > >>
> > >>> On Mon, Nov 26, 2018 at 3:32 PM Maxim Sobolev <sobomax@sippysoft.com
> >
> > >>> wrote:
> > >>>
> > >>> > Somebody needs to make collection/submission automatic and make a
> port
> > >>> out
> > >>> > of it, so that it's as easy as pkg install dmesg_survey &&
> > >>> > dmesg_survey_enabled="YES" in the /etc/rc.conf. JIMHO. I'd gladly
> make
> > >>> it a
> > >>> > default on all dev boxes within our organization. Might also make a
> > >>> nice
> > >>> > SoC project idea.
> > >>> >
> > >>>
> > >>> It's barely a weekend hack, since with the curl 1 liner 95% of what
> you
> > >>> want is there.
> > >>>
> > >>> This service isn't suitable, though, to have it in rc.conf, I don't
> > >>> think,
> > >>> unless it's updated only when there's a material change...
> > >>>
> > >>> And I'd rather we get more nuanced data than dmesg can provide if we
> were
> > >>> to do the data collection. The admonition to submit to this site was
> one
> > >>> of
> > >>> expedience...
> > >>>
> > >>> Warner
> > >>>
> > >>
> > >> Sounds like somebody needs to adopt sysutils/bsdstats.  It's a great
> > >> start, but it needs some TLC.
> > >>
> > >
> > > Except there's no available data from it. And it's not a great start,
> but
> > > a terrible one. It gathers the wrong things.
> > >
> > > Warner
> > >
> >
> > What do you mean "no available data"?  Are you saying that you'd prefer
> > direct access to the server rather than access through the web UI?  I'm
> > sure Scrappy would allow that.  He's implied that he'd like some help
> with
> > the server.  What I like about bsdstats is that it's much more structured
> > than your dmesg service.  Instead of a big long string, it gathers
> > structured info with sysctl, pciconf, and pkg.  Plus, it already has a
> > port, it's integrated into periodic(8), and it has a website.  If it
> omits
> > some information that you would like to see, then you should enhance it;
> > not replace it.
>
> The data isn't available through the UI because it's broken.  Try
> drilling down to find all the NIC types for example and you'll get:
>
>         ERROR !!
>
>         an e-mail has been sent to the staff
>         we are sorry for this problem
>
> I've reported this multiple time and at least once Scrappy claimed it
> was fixed, but it wasn't.
>
> -- Brooks
>

Try drilling down to find all the NIC types in dmesgd and you'll get
nothing at all, because that feature doesn't exist.  bsdstats obviously
needs some TLC, but why reinvent the wheel?

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iNpFd6ZfxHQNZG9FKNUzTO%2B2h9Tb5Qdm0xsKR0ZoUVyg>