Plotting users on facebook
I was playing with Munin, the "network resource monitoring tool". But you can also
plot other things than CPU usage or network traffic. As long as you can capture it
in a value.
My default chat application is not facebook, but IRC. To chat with facebook users,
I use a ZNC bouncer together with Bitlbee.
+---------+ +---------+ +---------+ +---------+
| | | | | | | |
| Client |--->| ZNC |--->| Bitlbee |--->| Facebook|
| (me) | | (log) | | | | |
+---------+ +---------+ +---------+ +---------+
The ZNC bouncer is logging the users coming and going to the channel when they
use facebook. I used the Munin plugin "loggrep_" with the next config on that
logfile:
[loggrep_facebook]
user rogier
env.regex localhost sets mode
env.label Facebook users
env.logfile /home/rogier/.znc/users/rogier/moddata/log/facebook.log
env.title User count on facebook
So I filter the logfile for the text "localhost sets mode" because when a user
came online, he get's a +v from bitlbee. After a while, you will get the next
graph.