Package: munin-node
Version: 1.2.6-10~lenny1
Severity: important
Tags: patch


All tomcat plugins assume a xml element <http-8080> or whatever port you run 
tomcat on.
but this xml element is not available. it is return as an attribute which is 
not easy to be parsed by LibXML::SImple.

simple fix for me was to remove the query for this xml element in all plugins 
like this:

perl -pi -e 's/->..http-...PORT.//g' /usr/share/munin/plugins/tomcat_*

i used '.' here because it is easier with shell escaping.

but this fix does only work if you have only on eport, but i gues this is quite 
common.

tomcat versions are:
ii  libtomcat5.5-java                   5.5.26-5                   Java Servlet 
engine -- core libraries
ii  tomcat5.5                           5.5.26-5                   Servlet and 
JSP engine
ii  tomcat5.5-admin                     5.5.26-5                   Java Servlet 
engine -- admin & manager web interfaces

kind regards
Janning
 

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages munin-node depends on:
ii  adduser                 3.110            add and remove users and groups
ii  gawk                    1:3.1.5.dfsg-4.1 GNU awk, a pattern scanning and pr
ii  libnet-server-perl      0.97-1           An extensible, general perl server
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  perl                    5.10.0-19        Larry Wall's Practical Extraction 
ii  procps                  1:3.2.7-11       /proc file system utilities

Versions of packages munin-node recommends:
ii  libnet-snmp-perl              5.2.0-1    Script SNMP connections

Versions of packages munin-node suggests:
pn  acpi | lm-sensors             <none>     (no description available)
pn  ethtool                       <none>     (no description available)
ii  libdbd-pg-perl                2.8.7-1    Perl DBI driver for the PostgreSQL
pn  liblwp-useragent-determined-p <none>     (no description available)
pn  libnet-irc-perl               <none>     (no description available)
ii  libwww-perl                   5.813-1    WWW client/server library for Perl
pn  munin                         <none>     (no description available)
pn  munin-plugins-extra           <none>     (no description available)
pn  mysql-client                  <none>     (no description available)
ii  python                        2.5.2-3    An interactive high-level object-o
pn  smartmontools                 <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to