Note about fields mapping: - HOSTNAME results from the string conversion (“.” -> “,”) of :host - TESTNAME results from the string conversion (#“(.| )” -> "_“) of :service - COLOR is taken as is from :state - is taken ”as is" from :description - GROUP is not handled - LIFETIME results from the rounding up to the nearest whole number of the division by 60 of :ttl. - No :ttl (i.e. :ttl nil) ends up with no LIFETIME set (defaults to Xymon server’s default lifetime) - :ttl 0 becomes +0 LIFETIME and will end up as immediate purple

host->xymon

message-max-length

send-message

(send-message opts message)

Sends given message to Xymon host(s).

If (:hosts opts) is a sequence and (:host opts) is false, sends the message to all hosts described in (:hosts opts). When provided (:host opts) should be a list of map and send-single-message will invoked with (merge opts <item in :hosts>).