I am working on a UI plugin, and want to display some information that the agents and plugins have collected. To that end I of course need to get some data out from the database.
So assuming I have an IP address, how would I then be able to get:
- currently available and maximum RAM - currently available and maximum disk space
for the machine at that IP address?
I am also looking for a way to get the CPU type in a more robust way. Currently I get it by parsing the eam_resource.name values (they have strings like "localhost Linux CPU 1 (2000MHz Intel Pentium 4)".