Forums / Developer / Active ticket system monitoring

Active ticket system monitoring

Author Message

Nathan Kelly

Wednesday 09 April 2008 6:43:23 pm

Hi All,

I'm setting up to develop a new site with eZ and the first main project to tackle is to implement a ticket system, for this I plan to use the Ticket System contribution and modify it to suit certain requirements.

One of the requirements my client has asked for is an active monitoring interface, basically what they want to be able to do is keep the monitoring page open on a dedicated machine that updates automatically when ever a ticket is issued.

I want to avoid the "page refresh every ## seconds" approach because this I suspect will use up a lot of bandwidth, the ideal solution would be one that doesn't need to refresh an entire page but rather only updates 1 element on the page when a ticket is issued.

I was thinking that this might be possible to achieve with a combination of cronjobs, the built in workflow system and ajax? But unfortunately I don't have much experience with any of these operations.

I wonder if anyone here can help me with some ideas of where to start with something like this? Then again I might be looking at this all wrong and there may be a better way to achieve the functionality I'm after?

Any ideas or suggestions would be appreciated.

Cheers.

Pardon me while I burst into flames...

Maxime Thomas

Wednesday 09 April 2008 11:49:26 pm

Hi,

I guess the best solution is to create an ajax timer that will check if a new ticket is available.
You can post on a module with a specified function, something very light.

Max

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Ekkehard Dörre

Thursday 10 April 2008 2:14:52 am

Hi Nathan,

... or you implement a message queue system like Dropr: https://www.dropr.org/
You make a message, when there is a new issue (e.g. with http://serwatka.net/blog/ez_publish_3_8_new_custom_edit_handler ) and the other server gets it.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Nathan Kelly

Thursday 10 April 2008 4:09:57 am

Cool thanks for the replies so far guys.

I should just make it clear that when I said they want a dedicated machine to monitor the system I meant basically just a pc with the browser open on the ticket page. Its not a cross server setup or anything like that.

I think I might look into Maxime's idea of an ajax request set on a timer that just checks if a record has been added or updated.

I'm still open to ideas though, this is a system that will need to handle a large amout of support tickets and will be constantly growing so I really need a robust solution.

Cheers.

Pardon me while I burst into flames...