MAGMA XYMon Web GUI Admin Now Available!
Henrik and Fellow Xymoners,
Just for you I have pushed off any real work for today just to get you all a first release of MAGMA the XYMon Web GUI Admin.
MAGMA is an add-on web GUI for managing Host, Groups and Alarms on a XYmon 4.3 or newer system.
You can find MAGMA at http://www.squidworks.net/magma/
There you will find the description, screen shots and features of MAGMA along with the link to download the source package.
It requires MySQL and PHP5 and is very simple to install. All supporting information is included in the tarball.
How does it work?
It stores all alarm and host/group configs in the SQL database and rewrites the Host.cfg, Analysis.cfg and Alarms.cfg files causing the XYmon system to update its tests and pages based on the changes in these files. It will overwrite the files each time a host is added or edited making the process of updating automatic. To get the full benefit of MAGMA you should place all hosts in "central" mode, although this is not required, without it your management is somewhat restrictive (external test management only). In Central mode you get full management features for all tests.
If you have any questions or need some help just send me a email @ sanderson @ squidworks.net
Cubert 8-) Aka Shannon Anderson
Wow. That looks amazing. Very well done!
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
On Wed, Oct 31, 2012 at 4:09 PM, Shannon Anderson <sanderson at cornetser.com>wrote:
Henrik and Fellow Xymoners,
Just for you I have pushed off any real work for today just to get you all a first release of MAGMA the XYMon Web GUI Admin.
MAGMA is an add-on web GUI for managing Host, Groups and Alarms on a XYmon 4.3 or newer system.
You can find MAGMA at http://www.squidworks.net/magma/
There you will find the description, screen shots and features of MAGMA along with the link to download the source package.
It requires MySQL and PHP5 and is very simple to install. All supporting information is included in the tarball.
How does it work?
It stores all alarm and host/group configs in the SQL database and rewrites the Host.cfg, Analysis.cfg and Alarms.cfg files causing the XYmon system to update its tests and pages based on the changes in these files. It will overwrite the files each time a host is added or edited making the process of updating automatic. To get the full benefit of MAGMA you should place all hosts in "central" mode, although this is not required, without it your management is somewhat restrictive (external test management only). In Central mode you get full management features for all tests.
If you have any questions or need some help just send me a email @ sanderson @ squidworks.net
Cubert 8-) Aka Shannon Anderson
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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'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 or a series of files (one per host) to be put in an include directory... that would allow, for instance, the ability to maintain a list of hosts elsewhere, and then simply import them into Xymon, rather than having to manually keep the two in sync. I suspect some folks already have the equivalent in place, but I'm not seeing such.
Reactions?
Regards, Thomas Leavitt
On Wed, Oct 31, 2012 at 1:09 PM, Shannon Anderson <sanderson at cornetser.com> wrote:
Henrik and Fellow Xymoners,
Just for you I have pushed off any real work for today just to get you all a first release of MAGMA the XYMon Web GUI Admin.
MAGMA is an add-on web GUI for managing Host, Groups and Alarms on a XYmon 4.3 or newer system.
You can find MAGMA at http://www.squidworks.net/magma/
There you will find the description, screen shots and features of MAGMA along with the link to download the source package.
It requires MySQL and PHP5 and is very simple to install. All supporting information is included in the tarball.
How does it work?
It stores all alarm and host/group configs in the SQL database and rewrites the Host.cfg, Analysis.cfg and Alarms.cfg files causing the XYmon system to update its tests and pages based on the changes in these files. It will overwrite the files each time a host is added or edited making the process of updating automatic. To get the full benefit of MAGMA you should place all hosts in "central" mode, although this is not required, without it your management is somewhat restrictive (external test management only). In Central mode you get full management features for all tests.
If you have any questions or need some help just send me a email @ sanderson @ squidworks.net
Cubert 8-) Aka Shannon Anderson
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
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 <john.thurston at alaska.gov> 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 907-465-8591 John.Thurston at alaska.gov Enterprise Technology Services Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 06-01-16 00:31, 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'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 or a series of files (one per host) to be put in an include directory... that would allow, for instance, the ability to maintain a list of hosts elsewhere, and then simply import them into Xymon, rather than having to manually keep the two in sync. I suspect some folks already have the equivalent in place, but I'm not seeing such.
Reactions?
Information from other sources generally do not contain all the information needed to generate (a part of) the hosts.cfg. For instance the specific tests to run for a server and the layout will often not be found in a configuration database.
I decided to use a database specifying the available servers, networking equipment, printers and so on to generate hosts.cfg. As a result, if a server is retired, it's state changes in the database and the configuration for that server is removed automatically from hosts.cfg.
The additional information needed to generate hosts.cfg is taken from hosts.cfg itself. Thus I do edit hosts.cfg sometimes, such as adding an extra test for a server. The base is (perl) script xymon.pm, available at xymonton. (See https://wiki.xymonton.org/doku.php/addons:xymonconfigsync)
Regards, Wim Nelis.
participants (6)
-
john.thurston@alaska.gov
-
josh@imaginenetworksllc.com
-
ralphmitchell@gmail.com
-
sanderson@CORNETSER.com
-
thomleavitt@gmail.com
-
Wim.Nelis@nlr.nl