AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Monitoring ChatScript status as a service
 
 

Hi,
I’m in the process of creating a daemon on the Linux server that should handle starting up Chatscript.
I’d like to know what is an efficient way of monitoring that the CS server is listening correctly, should I set up in the bot that is supposed to be active a permanent response to a “ping”-like input from the client, or is it there a more reliable way to do it?

Thanks

 

 
  [ # 1 ]

In the server manual it describes a way of testing the server:

https://github.com/bwilcox-1234/ChatScript/blob/master/WIKI/CLIENTS-AND-SERVERS/ChatScript-ClientServer-Manual.md#testing-for-server-presence


From that:

Testing for server presence

If you send the message: null 1 null (that’s the null string user id, the string of the character “1” as bot id, and the null string message, the server will send back the string of [you have no user id]with no logging done and minimal load on the server. This constitutes an echo-test to prove the server is running.

 

 

 

 
  [ # 2 ]

That’s perfect, thanks.

 

 
  login or register to react