On 5 Feb 2010, at 09:17, Ton Voon wrote:

Configuration Output

Odd number of elements in hash assignment at /usr/local/nagios/perl/ lib/Nagios/StatusLog.pm line 481, <GEN0> line 7846. Odd number of elements in hash assignment at /usr/local/nagios/perl/ lib/Nagios/StatusLog.pm line 481, <GEN0> line 8929. Odd number of elements in hash assignment at /usr/local/nagios/perl/ lib/Nagios/StatusLog.pm line 481, <GEN0> line 10582. Odd number of elements in hash assignment at /usr/local/nagios/perl/ lib/Nagios/StatusLog.pm line 481, <GEN0> line 13375. Odd number of elements in hash assignment at /usr/local/nagios/perl/ lib/Nagios/StatusLog.pm line 481, <GEN0> line 46264.
Can you privately send me your /usr/local/nagios/var/status.dat on the master? I think this perl module is having trouble reading your status, so there must be something unexpected about the data here.

Rick has sent me his status.dat file and there is a problem in the way Nagios::StatusLog parses the file if you have a long_plugin_output field contain an even number of lines with \r\n.

We've got a patch to it, if you want to apply it our your system:

https://secure.opsera.com/wsvn/wsvn/opsview-perl/trunk/patches/Nagios_Object_parse_status.patch

This will be uploaded to CPAN and included in any future versions of Opsview.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to