What are some techniques to monitor multiple instances of a piece of software?

拟墨画扇 提交于 2019-12-11 02:37:48

问题


I have a piece of self-serve kiosk software that will be running at multiple sites. I'd like to monitor their status remotely.

The kiosk application itself is pretty much finished. I am now in the process of creating a piece of software that will monitor all of the kiosks from a central location so that the customer can view particular details remotely (for instance, how many bills are in the acceptor's cash cartridge, what customer is currently logged in, etc.). Because I am in such an early stage of development, my options are quite open. I understand that I'm not giving very many qualifications, but I'd like to try to get a good variety of potential solutions. Some details:

  • Kiosk software is a VB6 app running on Windows Embedded
  • Monitoring software will be run on a modern desktop version of Windows (either XP, Vista, or 7)
  • Database is SQL Server 2008

My initial idea was to develop a .NET app that would simply report the last database transaction for each kiosk at a set interval (say every second or so) but I'd really like for the kiosk software to report its status directly. I'm not exactly sure where to begin in terms of what modifications may need to be made to the kiosk software, and what the monitoring software will require. Links to articles on these topics would be most welcome.


回答1:


If the software was written in .Net, I would suggest remoting it to poll the status, but that option is out. You could possibly use another table to log the current statuses of each of the workstations. That way, you would just update the record for that kiosk (or records, depending on how you design the database) and the monitor app would query the database every so often. If you want realtime, then this isn't the solution.



来源:https://stackoverflow.com/questions/4580465/what-are-some-techniques-to-monitor-multiple-instances-of-a-piece-of-software

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!