vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Use MRTG to graph new posts and online users! (https://vborg.vbsupport.ru/showthread.php?t=45134)

discore 10-27-2002 10:00 PM

Use MRTG to graph new posts and online users!
 
Well this isn't really a hack so let's post it here.

If you're the type of person who would prefer everything had a graph, this "hack" is for you.

Example: http://flamevault.com/mrtg/board

The installation of this is a bit hardcore if you don't have MRTG, Perl, or a common Perl module (DBI) installed. A bit of Unix background could help too (oh yeh, it only works on Unix/Linux/etc servers for now).

See attachment for scripts, mrtg config, and installation instructions. I'll help as much as I can if you're having trouble installing so feel free to ask.

Updated 12-01-03 to fix errors discussed below!

Martz 11-24-2002 05:08 PM

I've actually got this working now! Sheesh, lots of dependancies, although that was the first time I have used cpan - updates things nice and easily.

I had to use force install DBD::mysql because for some reason it couldn't connect to mysql with the username and password it was trying with during testing.

Few tweaks and typo removals means I should now be working ok: http://forums.utassault.net/mrtg/vb/

Many thanks for this hack.

nester 06-08-2003 03:03 AM

I installed this.. no problem at all getting it to work.. but it seems to report way more sessions than really exist.

For example, my forum reports "Most users ever online was 55 on 04-24-2003 at 11:39 PM.", however, my mrtg stats page says "Max Online 66.0 Users"

Any idea on why this happens and/or how to fix it?

Dave# 11-27-2003 12:54 PM

Quote:

Originally Posted by discore
Well this isn't really a hack so let's post it here.

If you're the type of person who would prefer everything had a graph, this "hack" is for you.

Example: http://flamevault.com/mrtg

The installation of this is a bit hardcore if you don't have MRTG, Perl, or a common Perl module (DBD::mysql) installed. A bit of Unix background could help too (oh yeh, it only works on Unix/Linux/etc servers for now).

See attachment for scripts, mrtg config, and installation instructions. I'll help as much as I can if you're having trouble installing so feel free to ask.

Well done - excellent work but I'm also getting incorrect values

274 users online is being reported as 146 :(

Erwin 11-28-2003 12:08 AM

Wow... good work integrating vB with MRTG...

Princeton 11-28-2003 01:01 AM

this is great feedback to administrators and users (if needed) .. however, can the images be directly linked (embedded) into another page?

Dave# 11-28-2003 05:28 PM

Quote:

Originally Posted by princeton
this is great feedback to administrators and users (if needed) .. however, can the images be directly linked (embedded) into another page?

for sures



http://www.fu-1.net/mrtg/posts-day.png

Erwin 11-28-2003 11:43 PM

That's so cool...

Dave# 11-29-2003 06:16 AM

Quote:

Originally Posted by Erwin
That's so cool...

I know - I wish I knew why the online users graph data is wrong :(

Anybody heard from the author?


https://vborg.vbsupport.ru/

Dean C 11-29-2003 08:38 AM

Looks a bit complicated to me :p


All times are GMT. The time now is 01:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01071 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete