[Citadel Development] Citadel commit log: revision 6409

2008-06-25 Thread ajc

r6409 | ajc | 2008-06-25 17:08:59 -0400 (Wed, 25 Jun 2008) | 3 lines
Changed paths:
   M /trunk/citadel/modules/mrtg/serv_mrtg.c

Added a serv_mrtg mode to tally total accounts and active accounts.
This will be useful for graphing site membership over long periods of time.




[Citadel Development] Re:Citadel commit log: revision 6409

2008-06-25 Thread BOFHMike
SWET!

Wed Jun 25 2008 21:09:10 UTC from ajc to
room_citadel_development@uncensored.citadel.org 
Subject: Citadel commit log: revision 6409


r6409 | ajc | 2008-06-25 17:08:59 -0400 (Wed, 25 Jun 2008) | 3 lines
Changed paths:
   M /trunk/citadel/modules/mrtg/serv_mrtg.c

Added a serv_mrtg mode to tally total accounts and active accounts.
This will be useful for graphing site membership over long periods of time.





[Citadel Development] Re:Citadel commit log: revision 6409

2008-06-25 Thread IGnatius T Foobar
Yeah, it'll be pretty cool.  Here's the MRTG config to make use of it.  
You want to run this from a cron job that calls it every hour or so:  
   
 WorkDir: /export/home/httpd/mrtg  
 Options[_]: bits,growright  
   
 Target[citadel.example.com_accounts]: `( echo mrtg accounts ; echo 
quit ) | nc citadel.example.com  
 504 | head -6 | tail -4`  
 MaxBytes[citadel.example.com_accounts]: 100  
 Title[citadel.example.com_accounts]: Number of accounts  
 YLegend[citadel.example.com_accounts]: accounts  
 Legend1[citadel.example.com_accounts]: Total accounts  
 Legend2[citadel.example.com_accounts]: Acounts accessed within the last 
30 days  
 PageTop[citadel.example.com_accounts]: Number of accounts  
 Options[citadel.example.com_accounts]: gauge,growright,integer,nopercent  
 ShortLegend[citadel.example.com_accounts]: accounts  
 LegendI[citadel.example.com_accounts]: Total:nbsp;  
 LegendO[citadel.example.com_accounts]: Active:nbsp;