Re: BSDstats Project v1.0

2006-08-06 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:
 
 John pointed out a bug that I hadn't noticed, mainly because I was
 testing single host ... basically, I installed PHP5 on the backend, and
 stupidly didn't check to make sure that they *hadn't* gone and changed
 all of the DB access functions from 4.x :(
 
 The bug is fixed, and I've tested using three different servers to make
 sure its being updated properly ...
 
 For those that have submitted already once, please re-submit, since your
 data was added the first time through ...
 
 And, there is now a port /usr/ports/sysutils/bsdstats that will
 install it in /usr/local/etc/periodic/monthly, thanks to John there too
 ... no changes to the script itself have been made yet, just a fix on
 the backend ...
 
 Will work on adding pciconf support in next ...
 
 On Sat, 5 Aug 2006, User Freebsd wrote:
 
 On Sat, 5 Aug 2006, John Nielsen wrote:

 Here is a sample (working) port. Un-tar the archive under
 ports/sysutils. It installs the script to
 ${LOCALBASE}/etc/periodic/monthly and prints a message about how to
 enable it. Have a look at it, edit all the text entries to make them
 your own (in particular I didn't do a real pkg-descr), and submit it
 as a PR (I can assist you with that off-list if you'd like).

 Perfect, thanks ... I have commit access to ports, so I can commit it
 later over the weekend ...

 Feature request: the script should output one line of text indicating
 success or failure (and to remind people who read their periodic
 e-mails that it's actually running).

 I am personally terrible at 'human friendly features', especially when
 it comes to text ... its why most web pages I design seem
 ultra-utilitarian unless I talk someone into writing things nicely ...

 IMHO, this whole thing isn't meant for my edification, but to provide
 *us*, as a project, with some overall numbers to advocate/market
 ourselves better ... *please* feel free to submit any patches to the
 script that you (or anyone else) feels needs to be added to improve
 things ...

 The more ppl involved, the more successful the endeavor will be ...

 
 Marc G. Fournier   Hub.Org Networking Services
 (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664


I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd

On Sat, 5 Aug 2006, Garrett Cooper wrote:

	I know I may be overachieving a bit in my overall thoughts of this 
plan, but why not do something similar for the rest of the BSDs and/or 
Linux/Solaris? I find this a good statistical tool for determining how 
many desktops run what form of Unix, so better numbers could be derived 
for overall Unix driver support.


Actually, the rest of the BSDs are most welcome to participate, and I've 
just update the port to extend the initial stats sent to include Operating 
System ...




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd


I just threw up a couple of very simple tables, showing # of systems 
reporting in this month, as well as a break down of release / architecture 
for those that have reported in ...



On Sat, 5 Aug 2006, Garrett Cooper wrote:


---
/usr/local/libexec/ppf_verify: pgp command failed

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Sun Aug  6 03:54:45 2006 ADT using DSA key ID 4CCC0BAF
gpg: Can't check signature: public key not found
---

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:


John pointed out a bug that I hadn't noticed, mainly because I was
testing single host ... basically, I installed PHP5 on the backend, and
stupidly didn't check to make sure that they *hadn't* gone and changed
all of the DB access functions from 4.x :(

The bug is fixed, and I've tested using three different servers to make
sure its being updated properly ...

For those that have submitted already once, please re-submit, since your
data was added the first time through ...

And, there is now a port /usr/ports/sysutils/bsdstats that will
install it in /usr/local/etc/periodic/monthly, thanks to John there too
... no changes to the script itself have been made yet, just a fix on
the backend ...

Will work on adding pciconf support in next ...

On Sat, 5 Aug 2006, User Freebsd wrote:


On Sat, 5 Aug 2006, John Nielsen wrote:


Here is a sample (working) port. Un-tar the archive under
ports/sysutils. It installs the script to
${LOCALBASE}/etc/periodic/monthly and prints a message about how to
enable it. Have a look at it, edit all the text entries to make them
your own (in particular I didn't do a real pkg-descr), and submit it
as a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it
later over the weekend ...


Feature request: the script should output one line of text indicating
success or failure (and to remind people who read their periodic
e-mails that it's actually running).


I am personally terrible at 'human friendly features', especially when
it comes to text ... its why most web pages I design seem
ultra-utilitarian unless I talk someone into writing things nicely ...

IMHO, this whole thing isn't meant for my edification, but to provide
*us*, as a project, with some overall numbers to advocate/market
ourselves better ... *please* feel free to submit any patches to the
script that you (or anyone else) feels needs to be added to improve
things ...

The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN .
[EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-06 Thread User Freebsd


Just added 'country' stats to the mix, to see what our distribution is per 
country ...


On Sun, 6 Aug 2006, User Freebsd wrote:



I just threw up a couple of very simple tables, showing # of systems 
reporting in this month, as well as a break down of release / architecture 
for those that have reported in ...



On Sat, 5 Aug 2006, Garrett Cooper wrote:


---
/usr/local/libexec/ppf_verify: pgp command failed

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: Signature made Sun Aug  6 03:54:45 2006 ADT using DSA key ID 4CCC0BAF
gpg: Can't check signature: public key not found
---

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

User Freebsd wrote:


John pointed out a bug that I hadn't noticed, mainly because I was
testing single host ... basically, I installed PHP5 on the backend, and
stupidly didn't check to make sure that they *hadn't* gone and changed
all of the DB access functions from 4.x :(

The bug is fixed, and I've tested using three different servers to make
sure its being updated properly ...

For those that have submitted already once, please re-submit, since your
data was added the first time through ...

And, there is now a port /usr/ports/sysutils/bsdstats that will
install it in /usr/local/etc/periodic/monthly, thanks to John there too
... no changes to the script itself have been made yet, just a fix on
the backend ...

Will work on adding pciconf support in next ...

On Sat, 5 Aug 2006, User Freebsd wrote:


On Sat, 5 Aug 2006, John Nielsen wrote:


Here is a sample (working) port. Un-tar the archive under
ports/sysutils. It installs the script to
${LOCALBASE}/etc/periodic/monthly and prints a message about how to
enable it. Have a look at it, edit all the text entries to make them
your own (in particular I didn't do a real pkg-descr), and submit it
as a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it
later over the weekend ...


Feature request: the script should output one line of text indicating
success or failure (and to remind people who read their periodic
e-mails that it's actually running).


I am personally terrible at 'human friendly features', especially when
it comes to text ... its why most web pages I design seem
ultra-utilitarian unless I talk someone into writing things nicely ...

IMHO, this whole thing isn't meant for my edification, but to provide
*us*, as a project, with some overall numbers to advocate/market
ourselves better ... *please* feel free to submit any patches to the
script that you (or anyone else) feels needs to be added to improve
things ...

The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services
(http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN .
[EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



Marc G. Fournier   Hub.Org Networking Services 
(http://www.hub.org)

Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664



I know I may be overachieving a bit in my overall thoughts of this
plan, but why not do something similar for the rest of the BSDs and/or
Linux/Solaris? I find this a good statistical tool for determining how
many desktops run what form of Unix, so better numbers could be derived
for overall Unix driver support.
Just a thought..
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE1ZI16CkrZkzMC68RAuckAJ4saa+s0A9rrh/Y0+rz0iOIuFSJzACeKv83
jm6zc18gXN4y28QtAW31f4c=
=p/y8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Re: BSDstats Project v1.0

2006-08-05 Thread John Nielsen
On Saturday 05 August 2006 00:21, User Freebsd wrote:
 On Fri, 4 Aug 2006, Colin Percival wrote:
  User Freebsd wrote:
  'k folks ... the quick and dirty .. actually, not too dirty ...
 
  The attached script [...]
 
  Can you make this into a port which users can install?

 I'm not sure, can I?  Can ports install into /etc/periodic?  Or is there
 some other way of doing it?

 If you want to do the initial port and assign MAINTAINER to
 [EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure
 how to deal with installing into non-/usr/local as a port ... :(

Here is a sample (working) port. Un-tar the archive under ports/sysutils. It 
installs the script to ${LOCALBASE}/etc/periodic/monthly and prints a 
message about how to enable it. Have a look at it, edit all the text 
entries to make them your own (in particular I didn't do a real pkg-descr), 
and submit it as a PR (I can assist you with that off-list if you'd like).

Feature request: the script should output one line of text indicating 
success or failure (and to remind people who read their periodic e-mails 
that it's actually running).

JN

[note to -questions readers: the attachment probably won't make it to the 
list]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: BSDstats Project v1.0

2006-08-05 Thread User Freebsd

On Sat, 5 Aug 2006, John Nielsen wrote:

Here is a sample (working) port. Un-tar the archive under 
ports/sysutils. It installs the script to 
${LOCALBASE}/etc/periodic/monthly and prints a message about how to 
enable it. Have a look at it, edit all the text entries to make them 
your own (in particular I didn't do a real pkg-descr), and submit it as 
a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it 
later over the weekend ...


Feature request: the script should output one line of text indicating 
success or failure (and to remind people who read their periodic e-mails 
that it's actually running).


I am personally terrible at 'human friendly features', especially when it 
comes to text ... its why most web pages I design seem ultra-utilitarian 
unless I talk someone into writing things nicely ...


IMHO, this whole thing isn't meant for my edification, but to provide 
*us*, as a project, with some overall numbers to advocate/market ourselves 
better ... *please* feel free to submit any patches to the script that you 
(or anyone else) feels needs to be added to improve things ...


The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-05 Thread User Freebsd


John pointed out a bug that I hadn't noticed, mainly because I was testing 
single host ... basically, I installed PHP5 on the backend, and stupidly 
didn't check to make sure that they *hadn't* gone and changed all of the 
DB access functions from 4.x :(


The bug is fixed, and I've tested using three different servers to make 
sure its being updated properly ...


For those that have submitted already once, please re-submit, since your 
data was added the first time through ...


And, there is now a port /usr/ports/sysutils/bsdstats that will install 
it in /usr/local/etc/periodic/monthly, thanks to John there too ... no 
changes to the script itself have been made yet, just a fix on the backend 
...


Will work on adding pciconf support in next ...

On Sat, 5 Aug 2006, User Freebsd wrote:


On Sat, 5 Aug 2006, John Nielsen wrote:

Here is a sample (working) port. Un-tar the archive under ports/sysutils. 
It installs the script to ${LOCALBASE}/etc/periodic/monthly and prints a 
message about how to enable it. Have a look at it, edit all the text 
entries to make them your own (in particular I didn't do a real pkg-descr), 
and submit it as a PR (I can assist you with that off-list if you'd like).


Perfect, thanks ... I have commit access to ports, so I can commit it later 
over the weekend ...


Feature request: the script should output one line of text indicating 
success or failure (and to remind people who read their periodic e-mails 
that it's actually running).


I am personally terrible at 'human friendly features', especially when it 
comes to text ... its why most web pages I design seem ultra-utilitarian 
unless I talk someone into writing things nicely ...


IMHO, this whole thing isn't meant for my edification, but to provide *us*, 
as a project, with some overall numbers to advocate/market ourselves better 
... *please* feel free to submit any patches to the script that you (or 
anyone else) feels needs to be added to improve things ...


The more ppl involved, the more successful the endeavor will be ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BSDstats Project v1.0

2006-08-04 Thread User Freebsd


'k folks ... the quick and dirty .. actually, not too dirty ...

The attached script goes into /etc/periodic/monthly (and can be run from 
the command line) and is the *very* barebones ... it reports operating 
system and architecture ... it will return a unique id at the same time 
which will be used when we add in the pciconf output ...


I have it recording two things: IP and hostname ... I figure it is highly 
unlikely for two hosts to ever have both identical, so a *fairly* safe 
unique key to work with ... and unless someone is running a whack of 
machines behind NAT with the same hostname, it gives us a safe unique 
counter for those behind NAT ...


The backend is storing the data in a database right now, so what I'm 
curious most about is someone running behind NAT with a few servers, or 
behind a proxy, just to see what sort of results ...


I'm going to try and get the pciconf output added into it later tonight, 
and will post a follow up, but this at leave gives something to test 
against ...


Right now, there is no output on the web site, but I do have a link to, 
and daily run of, awstats, which will at least show some figures ... once 
there is data in the database, I'll start working up a stats page based on 
the #s there ...


Note that once you've added this script, you need to add:

monthly_statistics_enable=YES

to /etc/periodic.conf so that it will run monthly ... and, of course, you 
can run it manually, instead of waiting until the end of the month ...


You can also run it as often as you like, it will only record one 
submission *per* month, but it will update the data based on the last 
submission (ie. if you upgrade, or add/remove hardware) ...


Its a start ... will work on extending it to add the pciconf output next, 
and send a v2.0 script as soon as that is ready :)





Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664#!/bin/sh -
#
# $FreeBSD: src/etc/periodic/monthly/300.accounting,v 1.10 2002/09/24 18:53:46 
ache Exp $
#

# If there is a global system configuration file, suck it in.
#
monthly_statistics_mailto=[EMAIL PROTECTED],root
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi

oldmask=$(umask)
umask 066

case $monthly_statistics_enable in
[Yy][Ee][Ss])
  HN=`/bin/hostname`
  SYS=`/usr/bin/uname -r`
  ARCH=`/usr/bin/uname -m`
  /usr/bin/fetch -qo /tmp/getid 
http://bsdstats.hub.org/scripts/getid.php?hn=$HN\sys=$SYS\arch=$ARCH
  ;;
*)  rc=0;;
esac

umask $oldmask
exit $rc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: BSDstats Project v1.0

2006-08-04 Thread Colin Percival
User Freebsd wrote:
 'k folks ... the quick and dirty .. actually, not too dirty ...
 
 The attached script [...]

Can you make this into a port which users can install?

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-04 Thread User Freebsd

On Fri, 4 Aug 2006, Colin Percival wrote:


User Freebsd wrote:

'k folks ... the quick and dirty .. actually, not too dirty ...

The attached script [...]


Can you make this into a port which users can install?


I'm not sure, can I?  Can ports install into /etc/periodic?  Or is there 
some other way of doing it?


If you want to do the initial port and assign MAINTAINER to 
[EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure how 
to deal with installing into non-/usr/local as a port ... :(



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats Project v1.0

2006-08-04 Thread Hans Nieser
User Freebsd wrote:
 On Fri, 4 Aug 2006, Colin Percival wrote:
 
 User Freebsd wrote:
 'k folks ... the quick and dirty .. actually, not too dirty ...

 The attached script [...]

 Can you make this into a port which users can install?
 
 I'm not sure, can I?  Can ports install into /etc/periodic?  Or is there
 some other way of doing it?
 
 If you want to do the initial port and assign MAINTAINER to
 [EMAIL PROTECTED], I'll maintain it from there ... I'm just not sure
 how to deal with installing into non-/usr/local as a port ... :(
 

Well, there's /usr/local/etc/periodic, won't that work? (The dir exists
for me because that's where portaudit installed its script.)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]