I have a collection of PHP scripts that use a sqlite database to handle
something like a CMDB. Its main purpose is to spit out config files for
registers in stores. It has tables for regions, store complexes, stores,
servers, registers, etc. When we started a big rollout, I wrote a PHP
script to query the tables and generate a Xymon config file containing a
tree of sub-pages. It would be easy to trigger that to create a new config
if a new server or register checks in. It would be nice to have analysis
and alert info in the same sqlite database, but I haven't had time to get
it done.
The thing is, it fits a very specific need, and would require a lot of
changes to make it fit someone else's infrastructure. I did look into
using one of the several open source CMDBs, but as I recall they were more
complicated than I needed at the time.
Ralph Mitchell
On Tue, Jan 5, 2016 at 6:45 PM, John Thurston <user-ce4d79d99bab@xymon.invalid>
wrote:
On 1/5/2016 2:31 PM, Thomas Leavitt wrote:
Are folks actively using MAGMA? I'm been casting around for a practical
application to refresh my coding fu with, and since I love Xymon and use
it every day, I thought it might be useful / fun to play around with
enhancing the existing code (since it is GPL).
I looked at MAGMA and found it too heavy for my needs. I don't want to run
an *AMP server just to manage my Xymon instance. The only thing it was
going to make easier was editing alerts.cfg, and even that seemed
marginally useful to me.
I'm also thinking about hacking out some kind of tool that will take a
CSV formatted input file, and use it to generate a hosts.cfg . . .
We have an instance of Big Brother (I haven't seen the need to change it
to Xymon as it currently meets the business need) which receives no
interactive edits. The hosts.cfg is re-created by a script any time a
change is made in our DNS zone file. It has run hands-off for years. So
many years, in fact, that I kind of forget how it's doing it :)
--
Do things because you should, not just because you can.
John Thurston XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska