| Author | Andrew Rankin |
|---|---|
| Compatibility | Xymon 4.2 |
| Requirements | Perl, Date::Format, Linux |
| Download | http://eiknet.com/bb-boinc.pl.bz2 |
| Last Update | 2007-09-26 |
Boinc Monitoring script - This is for monitoring the boinc (Berkeley Open Infrastructure for Network Computing, http://boinc.berkeley.edu/). Assuming you have your client setup for RPC, you can use the boinc_cmd command to check current status. This script uses the output from that command to create output for hobbit.
- Install bb-boinc.pl into the <client_root>/ext/ directory - Modify bb-boinc.pl setting the hostname, domain, hobbit_server, boinc_passwd, bbtmp & bbhome variables - Modify your clientlaunch.cfg, adding:
[boinc]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/ext/bb-boinc.pl
LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
INTERVAL 5m
- For NCV Graphs:
[boinc]
TITLE Average BOINC Credit for USER
YAXIS Credit
DEF:credit=boinc.rrd:userexpavgcredit:AVERAGE
LINE2:credit#00CC00:Average User Credit
GPRINT:credit:LAST: \: %5.1lf (cur)
GPRINT:credit:MAX: \: %5.1lf (max)
GPRINT:credit:MIN: \: %5.1lf (min)
GPRINT:credit:AVERAGE: \: %5.1lf (avg)\n
[boinc1]
TITLE Total BOINC Credit for USER
YAXIS Credit
DEF:credit=boinc.rrd:usertotalcredit:AVERAGE
LINE2:credit#00CC00:Total User Credit
GPRINT:credit:LAST: \: %5.1lf (cur)
GPRINT:credit:MAX: \: %5.1lf (max)
GPRINT:credit:MIN: \: %5.1lf (min)
GPRINT:credit:AVERAGE: \: %5.1lf (avg)\n
TEST2RRD="[...],boinc=ncv" GRAPHS="[...],boinc" NCV_boinc="*:GAUGE,name:NONE,masterURL:NONE,user_name:NONE,team_name:NONE"
TRENDS:*,[...],boinc:boinc|boinc1