主权项 |
1. A method of running a multi-threaded process from a monitoring server against one or more monitored servers, over a computer network, to obtain status and performance data from the monitored servers, wherein the monitoring server has a CPU and a CPU utilization rate, the method comprising:
generating one or more monitoring threads, each monitoring thread of the one or more monitoring threads comprising one or more monitoring queries to be executed against one of the one or more monitored servers, the one or more monitoring threads executing asynchronously against the one or more monitored servers, each of the one or more monitoring threads having a preselected duration; scheduling the one or more monitoring threads to execute against the one or more monitored servers over a preselected time interval; scheduling each of the one or more monitoring threads to execute its one or more monitoring queries at a preselected execution time within the preselected time interval, such that the preselected execution time of each of the one or more monitoring threads are distributed evenly in relation to each other throughout the duration of the preselected time interval; returning status and monitoring data that results from the one or more monitoring queries of each of the one or more monitoring threads, to the monitoring server maintaining a relative timing between each of the one or more monitoring threads in relation to each other throughout one or more iterations of the preselected time interval, wherein the status and performance data returned to the monitoring server and the CPU utilization rate of the monitoring server are continually and evenly regulated in time; and providing the status and performance data to a user interface means for enabling user monitoring of the one or more monitored servers. |