Package: hobbit Version: 4.2.0.dfsg-7~etch.1 Severity: normal When I run a hobbit server with an old BB client (we're currently migrating from BB to hobbit, but there are still many BB clients in the network) there exists the following bug:
If you click on the "disk" icon, which brings you to http://hobbit/hobbit-cgi/bb-hostsvc.sh?HOST=fock&SERVICE=disk there is one graph line missing in the RRD. For example you see this host: ------------------- schnipp ----------------------- So Nov 11 14:14:45 CET 2007 - Disk partitions on fock OK /dev/sdb1 4379676 2007652 2149544 49% /usr /dev/sda6 2938424 1537348 1251808 56% /var /dev/sda1 101562 60270 36047 63% / Status unchanged in 2 hours, 2 minutes Status message received from 192.168.42.5 ------------------- schnipp ----------------------- But in the following RRD only / and /usr are shown while /var is missing. The center of the problem can be found in libs/htmllog.c function generate_html_log(), where the number of disks is "calculated" by reading the log file. At line 355 you find /* There is probably a header line ... */ if (!netwarediskreport && (linecount > 1)) linecount--; As you can see above, the old BB client doesn't send a header line, which results in linecount=2 (instead of linecount=3), as you can see in the source of the above given URL: <!-- linecount=2 --> I'm not fully sure how to fix this problem. My first idea is to count exactly those lines containing a slash (/), which should work on all Unix systems and also with the old BB Windows client. But I'm not sure how the bbwin client and the netware clients (mentioned in the above source code) work and what new problems this implies. As a work around for this problem, you can click on "trends" instead of "disk", which seems to correctly count the RRD files and shows all disks. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable'), (70, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-4-686 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages hobbit depends on: ii hobbit-client 4.2.0.dfsg-7~etch.1 client for the Hobbit network moni ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries ii libldap2 2.1.30-13.3 OpenLDAP libraries ii libpcre3 6.7+7.4-2 Perl 5 Compatible Regular Expressi ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii librrd2 1.2.15-0.3 Time-series data storage and displ ii libssl0.9.8 0.9.8c-4etch1 SSL shared libraries hobbit recommends no packages. -- no debconf information Tschoeeee Roland -- * [EMAIL PROTECTED] * http://www.spinnaker.de/ * -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]