BSDStats Report for December 1st, 2006

Marc G. Fournier scrappy at hub.org
Mon Dec 4 18:13:49 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Monday, December 04, 2006 11:09:31 -0500 Wayne <wc_fbsd at 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 at hub.org                              MSN . scrappy at 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-----



More information about the freebsd-questions mailing list