1. A method, comprising: identifying, by executing an instruction with a processor, a first virtual machine in a first application definition; determining, by executing an instruction with the processor, that the first virtual machine identifies a second virtual machine based on configuration information of the first virtual machine, the second virtual machine having an unknown agent status; comparing, by executing an instruction with the processor, the first application definition to a second application definition, the second application definition including the first virtual machine and the second virtual machine; in response to determining that the first application definition does not include the second virtual machine, determining, by executing an instruction with the processor, if a configuration of the second virtual machine matches a designated configuration; automatically installing an agent on the second virtual machine when the second virtual machine is identified as having the designated configuration; updating the unknown agent status of the second virtual machine to indicate that the installed agent is running; and based on a resource automatically identified by the agent associated with the second virtual machine, applying a monitoring policy to the second virtual machine, the monitoring policy to be executed by the agent.