Hello everyone,
I’m currently studying Automation and computer science, and during my fifth and last year I have a final study project to do.
My project is to work on Sardana, understand how it works and to develop at least a small project as a proof of concept.
I’ve been trying to understand how Tango and all its dependencies (Jive, Pogo, Taurus etc…) are working. This website, forum and all the files here we very helpful, thank you.
My teacher suggests me to develop a monitoring server for several computer of the school. For example, design a page with several computer represented and several information for each one. (Power ON, %CPU, %Memory, Network traffic…).
So far I have developed the client program in Java. It’s based on the Hyperic Sigar API with which I can get the computer information and I wrapped all of this in a TCP/IP server. (By the way, it should be cross-platform)
My goal now is to develop via Pogo a driver (in Python). Here is the design: http://i84.servimg.com/u/f84/18/98/19/12/2016-010.png.
Since I’m a total beginner with Tango and moreover Pogo, I’m not sure I’m developing the right way.
My idea is to use the function: read_attr_hardware. I will code the TCP client in this function. This client will connect to wrapper of the client machine. As soon as the client socket is accept in my wrapper is sending a message with the information (ie: “Mem = 39,32|CPU = 46,06|File = 85”). Then I will substring the three info to the attributes (attr_XXXX_read).
Sorry for this very long post but since I’m total beginner I would like to be sure that my design of the project seems correct to you please.
Finally, I also have another question. I didn’t understand what are steps to implement the driver that I’ve created (in Pogo) into Jive in order to test it in Tango.
Could you please tell me how should I do it?
Once again, thank you for your help.
Regards,
Robin