1. A method of querying operating system states of multiple hosts in a cluster, comprising receiving a Structure Query Language (SQL) query to determine the operating system states of the multiple hosts in the cluster; aggregating, from each of the multiple hosts, operating system state information in response to receiving the SQL query; wherein aggregating includes, for each of the multiple hosts: identifying a dataset applicable to the SQL query by parsing the SQL query; requesting the identified dataset; and receiving the dataset including the operating system state information in response to the request; creating a temporary database for storing the operating system state information by converting the datasets received from the multiple hosts into a queriable form; and executing the SQL query on the temporary database to obtain as results the operating system states of the multiple hosts.