#198521 - 2010-04-30 09:00 PM
messaging/alert client app
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
I need to develop a app that in some manner reads/displays a message
Sort of like a broadcast netsend
I have about 1500-2000 machines in 10 different sites, both XP and win7
This is to alert staff when things like the mailserver goes off-line or we need to send an immediate message to all staff.
I was considering a client app that monitored a network folder waiting for a file containing a message to appear. The client would read the file and popup a kixform displaying the message.
The problem as I see it is the traffic of having all these PCs monitoring that folder.
The second method I thought of was to copy that file to every PC that is online, and the client app monitors a local folder for a message file to appear.. but that could take quite a while sending a file across the WAN to every PC.
A 3rd method was a distributed sort of thing where each IP subnet monitored a folder in their subnet, and the message sender would copy to the folder in every subnet (instead of every PC)
Any better ideas?
|
Top
|
|
|
|
#198522 - 2010-04-30 09:21 PM
Re: messaging/alert client app
[Re: Radimus]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4548
Loc: USA
|
Not sure if you know about msg.exe, but it looks like it replaces net send without the need for the messenger service. Just an idea.
http://www.petri.co.il/msg-exe-net-send-vista.htm
|
Top
|
|
|
|
#198541 - 2010-05-04 02:50 PM
Re: messaging/alert client app
[Re: Richard H.]
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
|
Top
|
|
|
|
#198621 - 2010-05-14 11:14 AM
Re: messaging/alert client app
[Re: Schuliebug]
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Have a look at the messaging coding link that I posted earlier.
It really simplifies messaging, so (for example) you can do something like:
- On the "server" side push a new mesage onto a queue and set an expiry time - for example 24 hours for a reason-for-outage message, 1 week for an alert about planned downtime, 10 minutes for notice that fire alarms will be tested in 10 minutes time.
- On the client side, poll the queues that you are subscribed to and display any new messages
- Use different queues for different roles - you may have an IT engineers queue, a local building queue and a corporate queue
|
Top
|
|
|
|
#198627 - 2010-05-14 04:33 PM
Re: messaging/alert client app
[Re: Schuliebug]
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Schuliebug, I'd love to see your app. I've not programmed any sockets code or the tcplistener stuff. Any assistance would be greatlt appreciated
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 596 anonymous users online.
|
|
|