[Xymon] XYMOND_CAPTURE, can't match multiple hosts/tests

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Tue Dec 18 17:59:39 CET 2018


Hi,

I have a requirement that I capture events in Xymon and feed them into a database for uptime processing and eventual upload to feed graphics in Domo.  To capture the events I'm trying to use xymond_capture but I can't get it to match anything more than a single host.

Task setup:

[domohistorydb]
        ENVFILE /etc/xymon/xymonserver.cfg
        NEEDS xymond
        CMD xymond_channel --channel=status xymond_capture --batch-command=/etc/xymon/bin/domohistlog.sh --hosts=test1.fqdn
        LOGFILE $XYMONSERVERLOGS/domo-historydb.log

That works for the single host.  I've also tried the following to extend it to multiple hosts:
--hosts=(BLANK), does nothing
--exhosts=(BLANK), does nothing
--hosts=%( test1.fqdn|test2.fqdn), does nothing
--hosts=^[ test1.fqdn|test2.fqdn], does nothing
And finally, without -hosts at all, but that also does nothing.


Adding debug shows that the module is receiving messages from Xymon, it's just not doing anything with them.  Am I using the wrong regex?  Anyone have any working examples they can share?



Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162  | * 734-384-6403 | | * 7349151444 | *  Scot.Kreienkamp at la-z-boy.com<mailto:%7BE-mail%7D>
www<http://www.la-z-boy.com/>.la-z-boy.com<http://www.la-z-boy.com/> | facebook.<https://www.facebook.com/lazboy>com<https://www.facebook.com/lazboy>/<https://www.facebook.com/lazboy>lazboy<http://facebook.com/lazboy> | twitter.com/lazboy<https://twitter.com/lazboy> | youtube.com/<https://www.youtube.com/user/lazboy>lazboy<https://www.youtube.com/user/lazboy>

[cid:lzbVertical_hres.jpg]



This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181218/e2b5b2af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lzbVertical_hres.jpg
Type: image/jpeg
Size: 21288 bytes
Desc: lzbVertical_hres.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20181218/e2b5b2af/attachment.jpg>


More information about the Xymon mailing list