On 10/02/16 16:21, Galen Johnson wrote:
I read that as if I didn't add the --class argument to the xymon client command then what is in hosts.cfg should be the class used. However, this seems to not be the case (although I would argue that it should work this way).
I read it as the hosts.cfg CLASS: tag would always override anything the client sends. From reading the code it appears that the data the client sends to the server is copied as-is into the "client" channel (i.e. the class supplied by the client isn't replaced). This means that xymond_client sees the client's original class, not the one in hosts.cfg. As far as I can tell, xymond_client doesn't read the CLASS: tag from hosts.cfg either, so I'm not sure how this was intended to work.
--
- Steve Hill Technical Director Opendium Limited http://www.opendium.com
Direct contacts: Instant messager: xmpp:steve at opendium.com Email: steve at opendium.com Phone: sip:steve at opendium.com
Sales / enquiries contacts: Email: sales at opendium.com Phone: +44-1792-824568 / sip:sales at opendium.com
Support contacts: Email: support at opendium.com Phone: +44-1792-825748 / sip:support at opendium.com