[Xymon] Hand editing config files

Jeremy Laidman jlaidman at rebel-it.com.au
Fri Jun 15 08:52:36 CEST 2012


Both Postfix and AMaViS support per-table specification of the
storage/retrieval mechanism.  I would like to be able to select which
elements (none, some or all) are in a database.  For example:

xymonserver.cfg:

  HOSTSCFG="$XYMONHOME/etc/hosts.cfg"
  ANALYSISCFG="bdb:/var/lib/analysis.cfg"
  GRAPHSCFG="ldap:user at server:3306:graphtable"

Of course this probably makes little sense for analysis.cfg and graphs.cfg.
 But just to give the idea of a per-file option where it might make sense.

Perhaps this would be useful for some:

  HOSTSCFG="$XYMONHOME/etc/hosts.cfg sqlite:/var/lib/hosts.sqlite"

This would get hosts (if any) from hosts.cfg, and then go looking in the
database if nothing found.

For the record, I prefer text files.

Cheers
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120615/6e243500/attachment.html>


More information about the Xymon mailing list