摘要 |
A method, system, and computer program product for extracting status information from within a script of a web page stored on a monitored device using an abstract class interface, the abstract class interface including a first function configured to obtain support information used to extract the status information and a second function configured to extract the status information from within the script of the web page using the support information. The method includes the steps of retrieving, from a first memory, vendor and model information of the monitored device; determining, based on the vendor and model information, at least one type of status information to obtain from the monitored device; obtaining, based on the web page and the vendor and model information, the support information using the first function of the abstract class interface; accessing the monitored device using the HTTP protocol, the obtained support information, and the second function of the abstract class interface to obtain the at least one type of status information from within the script of the web page; and storing, in a second memory, the status information obtained in the accessing step in association with the vendor and model information.
|