-------- Original Message --------
Subject: [Pkg-nagios-devel] Bug#685457: nsca: Incompatibility between munin and nsca-2.9.1
From: Xiwen Cheng <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: 2012-08-21 00:22
Package: nsca
Version: 2.9.1-2
Severity: important

Dear Maintainer,

The input format generated by munin (2.0.1-1) is not accepted by
`send_nsca` when multiple results are chained in a single stream. The
input stream is parsed incorrectly because of the recent addition:

When submitting multiple simultaneous results, separate each set with
the ETB character (^W or 0x17)
However munin isn't aware of this change.

I don't see why this format change was introduced. It is not needed
and it breaks compatibility.
I strongly believe the format should be reverted such that munin 2 and
earlier (probably other tools/systems also) remain compatible.

An extremely dirty workaround is use `tr` to substitute all occurences
of \n with ETB prior to sending to `send_nsca`:

/etc/munin/munin.conf
contact.nagios.command tr '\n' '\27' | /usr/sbin/send_nsca
nagios.host.example -c /etc/send_nsca.cfg

that change was introduced upstream, where you should put your request to change as well. try tracker.nagios.org or the nagios-devel mailinglist.

j2mc,
michael



Kind regards,
Xiwen


-- System Information:
Debian Release: wheezy/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nsca depends on:
ii  confget                1.03-1
ii  debconf [debconf-2.0]  1.5.44
ii  libc6                  2.13-33
ii  libmcrypt4             2.5.8-3.1
ii  nsca-client            2.9.1-2

nsca recommends no packages.

Versions of packages nsca suggests:
ii  nagios-plugins-basic  1.4.16-1
pn  nagios3               <none>

-- debconf information excluded

_______________________________________________
Pkg-nagios-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-nagios-devel


--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  [email protected]
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:    +43 1 4277 14338
web:    http://www.univie.ac.at/zid
        http://www.aco.net

Lead Icinga Core Developer
http://www.icinga.org


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to