[Pkg-nagios-devel] Bug#685457: nsca: Incompatibility between munin and nsca-2.9.1

oz oz at bluemonk.de
Tue Oct 2 09:17:40 UTC 2012


Hello,

allow me to demonstrate the problem wit the new 
End-of-Transmission-Block (ETB).

1.) Without Xiwen's hotfix:

munin.conf:
contact.nagios.command /usr/sbin/send_nsca -H 192.168.x.x -c 
/etc/send_nsca.cfg
-->
Oct  2 00:50:08 dallas nsca[25407]: Handling the connection... 
 
 

Oct  2 00:50:08 dallas nsca[25407]: Time difference in packet: 0 seconds 
for host localhost.localdomain 
 

Oct  2 00:50:08 dallas nsca[25407]: SERVICE CHECK -> Host Name: 
'localhost.localdomain', Service Description: 'Temperature Home', Return 
Code: '2', Output: 'CRITICALs: temperature is 23.31 (outside range 
[18:23]).\nlocalhost.localdomain#011Temperature Home via 
IPv6#0112#011CRITICALs: temperature is 23.31 (outside range [18:23]).' 
 

Oct  2 00:50:08 dallas nsca[25407]: Attempting to write to nagios 
command pipe 
 

Oct  2 00:50:08 dallas nsca[25407]: End of connection...


2.) With Xiwen's hotfix:

munin.conf:
contact.nagios.command tr '\n' '\27' | /usr/sbin/send_nsca -H 
192.168.x.x -c /etc/send_nsca.cfg
-->
Oct  2 10:40:08 dallas nsca[7439]: Handling the connection...
Oct  2 10:40:08 dallas nsca[7439]: Time difference in packet: 0 seconds 
for host localhost.localdomain
Oct  2 10:40:08 dallas nsca[7439]: SERVICE CHECK -> Host Name: 
'localhost.localdomain', Service Description: 'Temperature Home', Return 
Code: '2', Output: 'CRITICALs: temperature is 43.62 (outside range 
[18:23]).'
Oct  2 10:40:08 dallas nsca[7439]: Attempting to write to nagios command 
pipe
Oct  2 10:40:08 dallas nsca[7439]: Time difference in packet: 0 seconds 
for host localhost.localdomain
Oct  2 10:40:08 dallas nsca[7439]: SERVICE CHECK -> Host Name: 
'localhost.localdomain', Service Description: 'Temperature Home via 
IPv6', Return Code: '2', Output: 'CRITICALs: temperature is 43.62 
(outside range [18:23]).'
Oct  2 10:40:08 dallas nsca[7439]: Attempting to write to nagios command 
pipe
Oct  2 10:40:08 dallas nsca[7439]: End of connection...

Thank you,
oz



More information about the Pkg-nagios-devel mailing list