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:<div><br></div><div>xymonserver.cfg:</div>
<div><br></div><div> HOSTSCFG="$XYMONHOME/etc/hosts.cfg"</div><div> ANALYSISCFG="bdb:/var/lib/analysis.cfg"</div><div> GRAPHSCFG="ldap:user@server:3306:graphtable"</div><div><br></div><div>
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.</div><div><br></div><div>Perhaps this would be useful for some:</div>
<div>
<br></div><div> HOSTSCFG="$XYMONHOME/etc/hosts.cfg sqlite:/var/lib/hosts.sqlite"</div><div><br></div><div>This would get hosts (if any) from hosts.cfg, and then go looking in the database if nothing found.</div>
<div><br></div><div>For the record, I prefer text files.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div>