Bug#571212: Bug #571212,munin generates graphs correctly but does not generate, links

2010-08-07 Thread Tom Feiner
Hi Arthur,

Did you manage to solve the problem you had using my latest suggestion?

thanks,
Tom



signature.asc
Description: OpenPGP digital signature


Bug#571212: Bug #571212,munin generates graphs correctly but does not generate links

2010-03-08 Thread Arthur Lutz
Hi,

from your commands I get a perfectly normal log, no errors. I get the usual 
pair of processing  creating 
page. Then at the end it creates the comparaison pages, the service pages, the 
group pages etc. It's just
that in those pages there are no links to the other pages. 

Sorry, for security reasons I can't really attach the log file (and obscuring 
it would take a while).

I was trying to compare logs and realized that not only I'm changing 
architectures, but I'm migrating from 
1.2.6 (lenny) to 1.4.3 (squeeze) - any special procedure for this ? 

Thanks for this debugging. Any other leads ? 

Arthur

On Fri, Mar 05, 2010 at 06:55:36PM +0200, Tom Feiner wrote:
 tags 571212 moreinfo
 quit
 
 Hi Arthur,
 
 I haven't seen this behavior before, but I can offer some places to look:
 
 /var/log/munin/munin-html.log by default logs very little. Try running it with
 debug on. For example:
 
 ---
 su - munin -s /bin/bash
 /usr/share/munin/munin-html --debug
 ---
 
 I'm attaching a standard output of munin-html.log from my system with debug
 on, so you'll have a point of reference.
 
 Please let me know if you solve the problem, or if you can find a way to
 reproduce it.
 
 Hope this helps,
 Tom Feiner

 2010/03/05 18:45:02 Opened log file
 2010/03/05 18:45:02 Setting log level to DEBUG
 2010/03/05 18:45:02 [INFO] Starting munin-html, getting lock 
 /var/run/munin/munin-html.lock
 2010/03/05 18:45:02 [DEBUG] Creating new lock file 
 /var/run/munin/munin-html.lock
 2010/03/05 18:45:02 [DEBUG] Creating lock : /var/run/munin/munin-html.lock 
 succeeded
 2010/03/05 18:45:02 [DEBUG] processing service: apache_accesses
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/apache_accesses.html
 2010/03/05 18:45:02 [DEBUG] processing service: apache_processes
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/apache_processes.html
 2010/03/05 18:45:02 [DEBUG] processing service: apache_volume
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/apache_volume.html
 2010/03/05 18:45:02 [DEBUG] processing service: cpu
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/cpu.html
 2010/03/05 18:45:02 [DEBUG] processing service: cpuspeed
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/cpuspeed.html
 2010/03/05 18:45:02 [DEBUG] processing service: df
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/df.html
 2010/03/05 18:45:02 [DEBUG] processing service: df_inode
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/df_inode.html
 2010/03/05 18:45:02 [DEBUG] processing service: diskstats_iops
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/index.html
 2010/03/05 18:45:02 [DEBUG] processing service: sda
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sda.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdb
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdb.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdc
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdc.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdd
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdd.html
 2010/03/05 18:45:02 [DEBUG] processing service: sde
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sde.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdf
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdf.html
 2010/03/05 18:45:02 [DEBUG] processing service: diskstats_latency
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_latency/index.html
 2010/03/05 18:45:02 [DEBUG] processing service: sda
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sda.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdb
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdb.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdc
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdc.html
 2010/03/05 18:45:02 [DEBUG] processing service: sdd
 2010/03/05 18:45:02 [DEBUG] Creating service page 
 

Bug#571212: Bug #571212,munin generates graphs correctly but does not generate links

2010-03-08 Thread Arthur Lutz
Downgrading to 1.2.6 (lenny) I get a bunch of : 

munin_set_var: Malformatted variable path 
example.fr;machine.example.fr:diskstats_latency.sda.avgwrwait.type. at 
/usr/share/perl5/Munin.pm line 420.
munin_set_var: Malformatted variable path 
example.fr;differentmachine.example.fr;df;tmpfs;ok. at 
/usr/share/perl5/Munin.pm line 455.

Does that help ? 

Arthur

On Mon, Mar 08, 2010 at 11:50:32AM +0100, Arthur Lutz wrote:
 Hi,
 
 from your commands I get a perfectly normal log, no errors. I get the usual 
 pair of processing  creating 
 page. Then at the end it creates the comparaison pages, the service pages, 
 the group pages etc. It's just
 that in those pages there are no links to the other pages. 
 
 Sorry, for security reasons I can't really attach the log file (and obscuring 
 it would take a while).
 
 I was trying to compare logs and realized that not only I'm changing 
 architectures, but I'm migrating from 
 1.2.6 (lenny) to 1.4.3 (squeeze) - any special procedure for this ? 
 
 Thanks for this debugging. Any other leads ? 
 
 Arthur
 
 On Fri, Mar 05, 2010 at 06:55:36PM +0200, Tom Feiner wrote:
  tags 571212 moreinfo
  quit
  
  Hi Arthur,
  
  I haven't seen this behavior before, but I can offer some places to look:
  
  /var/log/munin/munin-html.log by default logs very little. Try running it 
  with
  debug on. For example:
  
  ---
  su - munin -s /bin/bash
  /usr/share/munin/munin-html --debug
  ---
  
  I'm attaching a standard output of munin-html.log from my system with debug
  on, so you'll have a point of reference.
  
  Please let me know if you solve the problem, or if you can find a way to
  reproduce it.
  
  Hope this helps,
  Tom Feiner
 
  2010/03/05 18:45:02 Opened log file
  2010/03/05 18:45:02 Setting log level to DEBUG
  2010/03/05 18:45:02 [INFO] Starting munin-html, getting lock 
  /var/run/munin/munin-html.lock
  2010/03/05 18:45:02 [DEBUG] Creating new lock file 
  /var/run/munin/munin-html.lock
  2010/03/05 18:45:02 [DEBUG] Creating lock : /var/run/munin/munin-html.lock 
  succeeded
  2010/03/05 18:45:02 [DEBUG] processing service: apache_accesses
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/apache_accesses.html
  2010/03/05 18:45:02 [DEBUG] processing service: apache_processes
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/apache_processes.html
  2010/03/05 18:45:02 [DEBUG] processing service: apache_volume
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/apache_volume.html
  2010/03/05 18:45:02 [DEBUG] processing service: cpu
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/cpu.html
  2010/03/05 18:45:02 [DEBUG] processing service: cpuspeed
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/cpuspeed.html
  2010/03/05 18:45:02 [DEBUG] processing service: df
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/df.html
  2010/03/05 18:45:02 [DEBUG] processing service: df_inode
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/df_inode.html
  2010/03/05 18:45:02 [DEBUG] processing service: diskstats_iops
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/index.html
  2010/03/05 18:45:02 [DEBUG] processing service: sda
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sda.html
  2010/03/05 18:45:02 [DEBUG] processing service: sdb
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdb.html
  2010/03/05 18:45:02 [DEBUG] processing service: sdc
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdc.html
  2010/03/05 18:45:02 [DEBUG] processing service: sdd
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdd.html
  2010/03/05 18:45:02 [DEBUG] processing service: sde
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sde.html
  2010/03/05 18:45:02 [DEBUG] processing service: sdf
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdf.html
  2010/03/05 18:45:02 [DEBUG] processing service: diskstats_latency
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  /var/cache/munin/www/example.com/base.example.com/diskstats_latency/index.html
  2010/03/05 18:45:02 [DEBUG] processing service: sda
  2010/03/05 18:45:02 [DEBUG] Creating service page 
  

Bug#571212: Bug #571212,munin generates graphs correctly but does not generate links

2010-03-08 Thread Tom Feiner
Hi Arthur,

When upgrading from 1.2.6 to 1.4.x you need to manually change the htmldir to
a new location (the upgrade suggests this in case you diff to the new
suggested configuration).

In any case, the htmldir parameter in /etc/munin/munin.conf should be:
/var/cache/munin/www. The 1.4.x package also installs a new default apache
configuration (/etc/apache2/conf.d/munin) which shows the htmls from the new
location. More details on this can be found in the NEWS file in the munin 
package.

Can you check these files configuration on your machine?

If it still doesn't work, can you please post the first part of
/etc/munin/munin.conf (just the global conf, without the nodes)? Or find a way
 to reproduce the issue?

Regards,
Tom Feiner



signature.asc
Description: OpenPGP digital signature


Bug#571212: Bug #571212,munin generates graphs correctly but does not generate links

2010-03-05 Thread Tom Feiner
tags 571212 moreinfo
quit

Hi Arthur,

I haven't seen this behavior before, but I can offer some places to look:

/var/log/munin/munin-html.log by default logs very little. Try running it with
debug on. For example:

---
su - munin -s /bin/bash
/usr/share/munin/munin-html --debug
---

I'm attaching a standard output of munin-html.log from my system with debug
on, so you'll have a point of reference.

Please let me know if you solve the problem, or if you can find a way to
reproduce it.

Hope this helps,
Tom Feiner
2010/03/05 18:45:02 Opened log file
2010/03/05 18:45:02 Setting log level to DEBUG
2010/03/05 18:45:02 [INFO] Starting munin-html, getting lock /var/run/munin/munin-html.lock
2010/03/05 18:45:02 [DEBUG] Creating new lock file /var/run/munin/munin-html.lock
2010/03/05 18:45:02 [DEBUG] Creating lock : /var/run/munin/munin-html.lock succeeded
2010/03/05 18:45:02 [DEBUG] processing service: apache_accesses
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/apache_accesses.html
2010/03/05 18:45:02 [DEBUG] processing service: apache_processes
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/apache_processes.html
2010/03/05 18:45:02 [DEBUG] processing service: apache_volume
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/apache_volume.html
2010/03/05 18:45:02 [DEBUG] processing service: cpu
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/cpu.html
2010/03/05 18:45:02 [DEBUG] processing service: cpuspeed
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/cpuspeed.html
2010/03/05 18:45:02 [DEBUG] processing service: df
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/df.html
2010/03/05 18:45:02 [DEBUG] processing service: df_inode
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/df_inode.html
2010/03/05 18:45:02 [DEBUG] processing service: diskstats_iops
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/index.html
2010/03/05 18:45:02 [DEBUG] processing service: sda
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sda.html
2010/03/05 18:45:02 [DEBUG] processing service: sdb
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdb.html
2010/03/05 18:45:02 [DEBUG] processing service: sdc
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdc.html
2010/03/05 18:45:02 [DEBUG] processing service: sdd
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdd.html
2010/03/05 18:45:02 [DEBUG] processing service: sde
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sde.html
2010/03/05 18:45:02 [DEBUG] processing service: sdf
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_iops/sdf.html
2010/03/05 18:45:02 [DEBUG] processing service: diskstats_latency
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/index.html
2010/03/05 18:45:02 [DEBUG] processing service: sda
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sda.html
2010/03/05 18:45:02 [DEBUG] processing service: sdb
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdb.html
2010/03/05 18:45:02 [DEBUG] processing service: sdc
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdc.html
2010/03/05 18:45:02 [DEBUG] processing service: sdd
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdd.html
2010/03/05 18:45:02 [DEBUG] processing service: sde
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sde.html
2010/03/05 18:45:02 [DEBUG] processing service: sdf
2010/03/05 18:45:02 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_latency/sdf.html
2010/03/05 18:45:03 [DEBUG] processing service: diskstats_throughput
2010/03/05 18:45:03 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_throughput/index.html
2010/03/05 18:45:03 [DEBUG] processing service: sda
2010/03/05 18:45:03 [DEBUG] Creating service page /var/cache/munin/www/example.com/base.example.com/diskstats_throughput/sda.html
2010/03/05 18:45:03