Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

mtrg graphs?

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Help
Author Message
Plasma_
Guest





PostPosted: Dec 10, 2003 9:53am    Post subject: mtrg graphs? Reply with quote

Hey,

I was wondering what it takes to create MTRG graphs of users vs channels/time?

For example:
http://irc.dynamix.com/?page=stats

Has anyone successfully done such a task here?

We are running Ultimate IRCd 2.8(07), Anope IRC Services 1.4.25
NeoStats are installed if that is helpful.

Thanks Smile
Back to top
Jason
SearchIRC Developer
SearchIRC Developer


Joined: 03 May 2003
Posts: 1197
Location: Tampa, FL

PostPosted: Dec 10, 2003 10:09am    Post subject: Reply with quote

Take a look at http://searchirc.com/networks, in fact, click on any network and look at the graphs, all are created with mrtg.

Since the larger networks have a robot that stays online all the time, their graphs tend to be much smoother (than the networks with a robot that connect once per hour).

To setup a graph like this, all you need is a way to get the numbers you desire to the mrtg program. The hard way is to run a process that launches a robot to get the numbers. The easier way is to get a robot that stays on and logs the numbers for a secondary process to look at and graph.
Back to top
Plasma_
Guest





PostPosted: Dec 14, 2003 4:30am    Post subject: Reply with quote

Thanks for the info.

We have root to the box our IRCd runs on, so we can run such process if required Smile

Are there any program we obtain to perform such tasks? We are running on Linux.
Back to top
Jason
SearchIRC Developer
SearchIRC Developer


Joined: 03 May 2003
Posts: 1197
Location: Tampa, FL

PostPosted: Dec 14, 2003 5:29am    Post subject: Reply with quote

RRD is also highly recommended, and has a lot more options than mrtg:

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
Back to top
Plasma_
Guest





PostPosted: Dec 15, 2003 2:02am    Post subject: Reply with quote

Ive had a look at that package, but how do you configure/where/tutorial/readme/helpfile/documentation on how to set it up to configure it with IRC so you can display users/channels vs. time graphs?

Ive seen so many of these already and it seems like its a big secret that im missing out on :\

Because just downloading that and reading the information provided does not help me with an IRC graph Razz
Back to top
Jason
SearchIRC Developer
SearchIRC Developer


Joined: 03 May 2003
Posts: 1197
Location: Tampa, FL

PostPosted: Dec 15, 2003 11:26am    Post subject: Reply with quote

Yeah, it's not made for IRC, but anything with data can be graphed.

First off, get a robot that can log data values to a text file. So setup an eggdrop or darkbot and have it log the users/channel data to a text file.

Then in the config for your mrtg, for the Target[]: value, set it up to cat the text file.

Target[index]: `cat /path/to/file.txt`

Then it will graph it for you. The contents of the file needs to have 4 lines. The first two lines are what is graphed, the second two are not used.

So the contents of file.txt should look something like:

Quote:
123
65
0
0


For 123 users, and 64 channels.

HTH.
Back to top
Plasma_
Guest





PostPosted: Dec 16, 2003 9:00am    Post subject: Reply with quote

Ah I understand now.

Thankyou for your help Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Help All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer