Re: [twsocket] UDP Listener
Okay, thank you :) On 07 Jun 2014, at 15:56, Angus Robertson - Magenta Systems Ltd wrote: >> I am trying to create a UDP listener for Windows platform and was >> wondering, is it possible to receive UDP messages sent via Internet >> browsers from my UDP listener which is built with ICS? >> >> If there are problems or something I should know, please let me >> know! > > Creating a UDP listener takes about five minutes, there are ICS samples that > show this, check readme8.txt. > > But internet browsers don't sent UDP messages, so you have a major conceptual > problem. > > Angus > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Nagios like communication
Florian Hector wrote: > I would like to implement a new feature into one of my applications where I > can ask for a status > through a (VPN)network connection, kind of like Nagios does. Or maybe even > build functionality into > it so that it can be queried by Nagios. > > Which methods/components should I go with? There are different options. You can use a basic TCP socket server in line mode with a custom protocol like Client> get database status Server> database status OK Client> get processing status Server> processing status ERROR which can be integrated into Nagios-compatible tools with the "check_tcp" plugin [1]. The "OverbyteIcsTcpSrv.dpr" ICS demo might be helpful as a starting point here. Another option would be to integrate a HTTP server component which returns application status as a HTML page. This allows you to make quick checks with a browser and you easily can add authentication e.g. by enabling HTTP digest auth. Integration into Nagios-like tools can be done with the "check_http" plugin [2]. The "OverbyteIcsWebServ.dpr" ICS demo might be helpful if you want to explore in that direction. BTW: I am using Icinga [3] for monitoring which is compatible to Nagios plugins. Regards, Tobias Links: [1] http://nagios-plugins.org/doc/man/check_tcp.html [2] http://nagios-plugins.org/doc/man/check_http.html [3] http://www.icinga.org/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be