wombat.ch

your Partner for Network Design and CMS

siehe dazu: Munin-Plugin
und Boic von Github
=====

 

Dabei funktioniert bei mir der boinc_credit leider nicht

cd /etc/munin/plugins/

munin-node-configure
boinc_credit            | yes  |
boinc_processes         | yes  |
boinc_projs                | yes  |
boinc_wus                  | yes  |

 

wie erwähnt geht der Boinc_credit nicht

# munin-run boinc_credit
Bareword "statsurl" not allowed while "strict subs" in use at /etc/munin/plugins/boinc_credit line 43.
syntax error at /etc/munin/plugins/boinc_credit line 44, near "my "
Global symbol "$TICK" requires explicit package name at /etc/munin/plugins/boinc_credit line 44.
Global symbol "$TICK" requires explicit package name at /etc/munin/plugins/boinc_credit line 68.
Global symbol "$TICK" requires explicit package name at /etc/munin/plugins/boinc_credit line 104.
Missing right curly or square bracket at /etc/munin/plugins/boinc_credit line 233, at end of line
Execution of /etc/munin/plugins/boinc_credit aborted due to compilation errors.

nachstehend was in den Zeilen steht 

41
 42 my $CPID     = $ENV{cpid};
 43 my $STATSURL = $ENV{statsurl || "http://boinc.netsoft-online.com/get_user.php?cpid=$CPID";
 44 my $TICK = $ENV{tick} || 60;    # minutes
 45

------

65     my @projdata = @_;
66
 67     # Do we need to save this data?
 68     if ( !defined $lastread or time >= $lastread + ( $TICK * 60 ) ) {
 69         $lastread = time;
 70

------

103
104     if ( !defined $lastread or time >= ( $lastread + ( $TICK * 60 ) ) ) {
105
106         # Data is stale
107

------

230       $_->{creditfract} * 100, $_->{credit}, $_->{totalcredit};
231 }
232 save_data(@projdata);
233 exit 0;

Line 233 ist die letzte Zeile im plugin

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 409 guests and no members online

We have 414 guests, 2 bots and no members online


2 bots:
2 x BOT for JCE