Hi.
We recently updated our Xymon installation to 4.3.15. Now it seems like we cannot schedule disable from the "Enable/disable" page. We get this error in the xymond.log:
2014-02-17 12:40:28 Whoops ! Failed to send message (timeout) 2014-02-17 12:40:28 -> 2014-02-17 12:40:28 -> Recipient 'x.x.x.x', timeout 15 2014-02-17 12:40:28 -> 1st line: 'status mon01.xymond red - Program crashed'
This is the output from gdb. Don't know if it tells you anything?
mon01:/usr/local/xymon/server# gdb bin/xymond tmp/core GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/local/xymon/server/bin/xymond...done.
warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.8 Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.8 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libpcre.so.3 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `xymond --pidfile=/var/log/xymon/xymond.pid --restart=/usr/local/xymon/server/tm'. Program terminated with signal 6, Aborted. #0 0x00007f12064c71b5 in raise () from /lib/libc.so.6
Johan Sjöberg
Delta Management AB Tulegatan 30 113 53 Stockholm Sweden
Phone: +46 8 501 125 09 Cell: +46 70 751 99 17 Support: +46 8 501 125 18 support at deltamanagement.se <mailto:support at deltamanagement.se>www.deltamanagement.se<http://www.deltamanagement.se/>
[http://www.deltamanagement.se/images/mailfooter_delta.gif]
[http://www.deltamanagement.se/images/climatecare_small.gif]
Koldioxidneutral IT-drift El, kontorsvärme och tjänsteresor kompenseras med hjälp av ClimateCare
Den 2014-02-17 12:46, Johan Sjöberg skrev:
Hi.
We recently updated our Xymon installation to 4.3.15. Now it seems like we cannot schedule disable from the "Enable/disable" page. We get this error in the xymond.log:
Same in 4.3.16, it seems. Problem is in line 4368 - there is a "NULL" missing in the addtobuffer_many() call. Index: xymond/xymond.c =================================================================== --- xymond/xymond.c (revision 7439) +++ xymond/xymond.c (working copy) @@ -4165,7 +4165,7 @@ for (swalk = schedulehead; (swalk); swalk = swalk->next) { snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id, (int)swalk->executiontime); - addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command)); + addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), NULL); } xfree(msg->buf); Will put this into 4.3.17. Regards, Henrik
Hi. Now it’s not crashing, but only the latest scheduled disable is listed under “Scheduled actions”. I don’t know if the other ones are still active even though they are not shown? /Johan From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner Sent: den 17 februari 2014 13:16 To: xymon at xymon.com Subject: Re: [Xymon] Xymond crashing when scheduling disable in 4.3.15 Den 2014-02-17 12:46, Johan Sjöberg skrev: Hi. We recently updated our Xymon installation to 4.3.15. Now it seems like we cannot schedule disable from the “Enable/disable” page. We get this error in the xymond.log: Same in 4.3.16, it seems. Problem is in line 4368 - there is a "NULL" missing in the addtobuffer_many() call. Index: xymond/xymond.c =================================================================== --- xymond/xymond.c (revision 7439) +++ xymond/xymond.c (working copy) @@ -4165,7 +4165,7 @@ for (swalk = schedulehead; (swalk); swalk = swalk->next) { snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id, (int)swalk->executiontime); - addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command)); + addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), NULL); } xfree(msg->buf); Will put this into 4.3.17. Regards, Henrik
Has anyone else experienced this, that only the last scheduled disable is shown on the enable/disable page? /Johan From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Johan Sjöberg Sent: den 17 februari 2014 13:58 To: Henrik Størner; xymon at xymon.com Subject: Re: [Xymon] Xymond crashing when scheduling disable in 4.3.15 Hi. Now it’s not crashing, but only the latest scheduled disable is listed under “Scheduled actions”. I don’t know if the other ones are still active even though they are not shown? /Johan From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner Sent: den 17 februari 2014 13:16 To: xymon at xymon.com<mailto:xymon at xymon.com> Subject: Re: [Xymon] Xymond crashing when scheduling disable in 4.3.15 Den 2014-02-17 12:46, Johan Sjöberg skrev: Hi. We recently updated our Xymon installation to 4.3.15. Now it seems like we cannot schedule disable from the “Enable/disable” page. We get this error in the xymond.log: Same in 4.3.16, it seems. Problem is in line 4368 - there is a "NULL" missing in the addtobuffer_many() call. Index: xymond/xymond.c =================================================================== --- xymond/xymond.c (revision 7439) +++ xymond/xymond.c (working copy) @@ -4165,7 +4165,7 @@ for (swalk = schedulehead; (swalk); swalk = swalk->next) { snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id, (int)swalk->executiontime); - addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command)); + addtobuffer_many(response, tbuf, "|", swalk->sender, "|", nlencode(swalk->command), NULL); } xfree(msg->buf); Will put this into 4.3.17. Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
Johan.Sjoberg@deltamanagement.se