Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2006 22:13:53 -0400
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Wayne <wc_fbsd@xxiii.com>, freebsd-questions@freebsd.org
Subject:   Re: BSDStats Report for December 1st, 2006
Message-ID:  <47EDC3243CA87EEB6F82DAC2@ganymede.hub.org>
In-Reply-To: <4574483B.1050906@xxiii.com>
References:  <D1D335A2174E8CD8E64AB5F1@ganymede.hub.org> <70378354@bsam.ru>	<3C1825A0-EAA3-4E64-9698-A82476CA28B0@cc.usu.edu> <4574483B.1050906@xxiii.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Monday, December 04, 2006 11:09:31 -0500 Wayne <wc_fbsd@xxiii.com> wrote:

> hal wrote:
>>>> Since the point of this is to be run monthly, out of periodic
>>>> monthly, the 1st
>>>> of the month is when all hosts should be 'renewing' their information
>
> Cool project.  Just added my main machine to it.
>
> Is there any way for me to see what it's really sending?  Looks like it sends
> a bunch of http posts, rather than one output file that could be examined?
> My script skills are novice at best.

You could modify the 'do_fetch' function to write to a disk file ... but, a 
break down of what it sends:

{enable|disable}_token.php ... just sends the KEY/TOKEN from /var/db/bsdstats 
to turn on/off the record

report_system ... sends:

      REL=`/usr/bin/uname -r`
      ARCH=`/usr/bin/uname -m`
      OS=`/usr/bin/uname -s`

report_devices sends the output of pciconf -l | grep -v none (active devices)

report_ports sends the output of pkg_info

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFdNXh4QvfyHIvDvMRAt83AJ9Tu5X6tcdgj28FoO+P4k0B9yKWEQCgobFC
fVuuqk7H4PM21HCAoEuWsS4=
=+egT
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47EDC3243CA87EEB6F82DAC2>