|
|
| Author |
Message |
Plasma_ Guest
|
Posted: Dec 10, 2003 9:53am Post subject: mtrg graphs? |
|
|
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  |
|
| Back to top |
|
 |
Jason SearchIRC Developer

Joined: 03 May 2003 Posts: 1199 Location: Tampa, FL
|
Posted: Dec 10, 2003 10:09am Post subject: |
|
|
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
|
Posted: Dec 14, 2003 4:30am Post subject: |
|
|
Thanks for the info.
We have root to the box our IRCd runs on, so we can run such process if required
Are there any program we obtain to perform such tasks? We are running on Linux. |
|
| Back to top |
|
 |
Jason SearchIRC Developer

Joined: 03 May 2003 Posts: 1199 Location: Tampa, FL
|
|
| Back to top |
|
 |
Plasma_ Guest
|
Posted: Dec 15, 2003 2:02am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
Jason SearchIRC Developer

Joined: 03 May 2003 Posts: 1199 Location: Tampa, FL
|
Posted: Dec 15, 2003 11:26am Post subject: |
|
|
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:
For 123 users, and 64 channels.
HTH. |
|
| Back to top |
|
 |
Plasma_ Guest
|
Posted: Dec 16, 2003 9:00am Post subject: |
|
|
Ah I understand now.
Thankyou for your help  |
|
| Back to top |
|
 |
|