Hi Kris
I've been through the main hosts.cfc and all the included host snippets but found no "funny" characters.
Thanks
On Wed, 31 Jan 2024 at 08:05, Kris Springer <kspringer at innovateteam.com> wrote:
Looks like your hosts.cfg file has an error in it. This happens to me sometimes if I'm not careful. Especially if I'm using SSH and scrolling with my mouse wheel, for some reason it adds weird characters into the file.
Kris Springer
On 1/30/24 4:49 PM, Colin Coe wrote:
Hi all
Our Xymon server has recently stopped sending alert emails. This server is also running Postfix and is our mail relay.
From alert.log all I see is: 2024-01-31 02:17:39.813610 Whoops ! Failed to send message (Select(2) failed) 2024-01-31 02:17:39.829027 -> Select failure while sending to Xymon daemon at 10.10.10.10:1984 2024-01-31 02:17:39.829032 -> Recipient '10.10.10.10', timeout 50 2024-01-31 02:17:39.829037 -> 1st line: 'config hosts.cfg' 2024-01-31 02:17:39.829042 Cannot load hosts.cfg from xymond: Select(2) failed 2024-01-31 02:17:39.829049 Failed to load from xymond, reverting to file-load 2024-01-31 02:22:40.932828 Whoops ! Failed to send message (Select(2) failed) 2024-01-31 02:22:40.932863 -> Select failure while sending to Xymon daemon at 10.10.10.10:1984 2024-01-31 02:22:40.932867 -> Recipient '10.10.10.10', timeout 50 2024-01-31 02:22:40.932871 -> 1st line: 'config hosts.cfg' 2024-01-31 02:22:40.932876 Cannot load hosts.cfg from xymond: Select(2) failed 2024-01-31 02:22:40.932881 Failed to load from xymond, reverting to file-load
And notifications.log is zero bytes in size.
I added "--debug" to the "[alert]" section of /etc/xymon/tasks.cfg and while the verbosity was increased, there was no indication of why alerts are not being sent.
Any clues how I can debug this?
Thanks
Xymon mailing listXymon at xymon.comhttp://lists.xymon.com/mailman/listinfo/xymon