Hello Hartmut, The new 2.x branch changed the name of the first graph from 'cpu' to 'system' and that's the reason why your old 1.x branch (and even 0.x branch) can't find such PNG file.
No, there isn't any compatibility mode that might mitigate this, but I had the same problem as you when I was upgrading to 2.x all my remote servers, and because that took a while I ended up introducing a small trick that did the job during the long update process. That was, just inserting a simple line that changes the name of the new named 'system' graph to 'cpu'. It only changes the name of the PNG file(s), the rest is the same: So, go to each server with Monitorix 2.x installed on and edit the file 'monitorix.cgi' inserting the line in the following part of the code: [...] # SYSTEM graph # ---------------------------------------------------------------------------- sub system { my ($myself, $title) = @_; my $width; my $height; my @riglim; my @tmp; my @tmpz; my $n; my $err; $myself = "cpu"; <--- ADD THIS LINE HERE! my $PNG1 = $u . $myself . "1." . $when . ".png"; my $PNG2 = $u . $myself . "2." . $when . ".png"; my $PNG3 = $u . $myself . "3." . $when . ".png"; [...] then once you have completed all the upgrade process, just remove that line. You don't need to restart Monitorix when you insert or remove the line as this only affects the CGI script. I hope that helped you. Best regards. On 09/28/2011 09:54 AM, Woehrle Hartmut SBB CFF FFS (Extern) wrote: [...] > > Is there a possibility to change the way to produce them? Or a > compatibility mode for use of a 1.5.x multihost environment (no, at the > moment I can not update) and a 2.x client? > > Hartmut Wöhrle > -- Jordi Sanfeliu FIBRANET Network Services Provider http://www.fibranet.cat ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Monitorix-general mailing list Monitorix-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monitorix-general