T.J. Yang
From: bgmilne at staff.telkomsa.net To: hobbit at hswn.dk Subject: Re: [hobbit] Alternate web interface work? Date: Thu, 23 Jul 2009 17:17:17 +0100 CC: tj_yang at hotmail.com
On Thursday 16 July 2009 03:24:18 T.J. Yang wrote:
for a face lift type of big GUI change, we need to convert C data sturcture into JSON format and json reader to render into cool GUI from 1. and convert those *.cgi scripts into *.js scripts.
I have started on a perl module implementing access to Xymon, at present there is a single module (Xymon::Client), and I have a 3-line perl script (bb.pl) emulating the bb binary.
The idea however is to provide a more OO api, which can then be used to implement a Model::Xymon for Catalyst, to allow retrieving data, which can then be sent to a View::JSON view (or, maybe even just send the XML from hobbitdxlog or hobbitdxboard?).
Agree.
My javascript skills are not so great, and unfortunately I didn't bring my Javascript/AJAX book with me ...
Me either, but I will know what I need to know about javascript.
I will make Xymon::Client available as soon as I am prepared for some criticism ...
Thanks for doing this task, I am help on this task since I am hoping to have a perl xymon torture test suite.
I am busy with my personal xymon inventory project and I am going to use extjs/sqlite(or mysql) to store a host's inventory information
Have you looked at any existing inventory systems, such as ocs-inventory? GLPI, which has trouble ticket features, can integrate with it.
I am not aware of ocs-inventory but we do have existing coporate wide inventory system.
And I need inventory system that works with Xymon when integreation is needed with other inventory dbs,
SQL will be the bridge ;)
However, GLPI doesn't seem very ITIL-compliant (there isn't really a distinction between incidents, requests, and changes).
oh boy, why do I hear ITIL got mentioned here !
I guess this is good sign. Looks like big company is using Xymon.
and connect system information with inventory information on xymon server page and also setting up sample projects to learn php/mysql/extjs and catalyst/mysql/extjs. Having catalyst to use extjs as View(instead of default plain TT) took me longest time.
Using View::JSON? Or a custom view?
A customer view, generate TT view and insert
See Chapter 1 in http://xymon.dlinkddns.com/books/catalyst-extjs.pdf
Also look for "Xymon EXT Desktop", I hope you as excited as me ;)
tj
Regards, Buchan
Windows Live™ SkyDrive™: Store, access, and share your photos. See how. http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009