BOINC
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 |
Description
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.
Installation
Client side
- 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
Server side
- For NCV Graphs:
- hobbitgraph.cfg, add:
[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
- hobbitserver.cfg, you'll be modifying TEST2RRD and GRAPHS and adding a variable named NCV_boinc:
TEST2RRD="[...],boinc=ncv" GRAPHS="[...],boinc" NCV_boinc="*:GAUGE,name:NONE,masterURL:NONE,user_name:NONE,team_name:NONE"
- bb-hosts, add the following to add the boinc info to the trends coloumn:
TRENDS:*,[...],boinc:boinc|boinc1
Source
bb-boinc.pl
Known Bugs and Issues
To Do
Credits
- Andrew Rankin
Changelog
- 2007-09-26
- Initial release