A method, system, and computer program product for extracting status
information from within a script of a web page stored on a monitored
device communicatively coupled to a network using an HTTP communication
protocol. The method includes the steps of obtaining, based on vendor and
model information, an identification of the web page and at least one
parameter string used to extract the status information from within the
script of the web page; accessing the web page using the identification
of the web page and the HTTP protocol to obtain a line of the web page
within the script; and parsing the obtained line of the web page to
determine if a parameter string of the at least one parameter string is
located within the obtained line. If the parsing step determines that the
parameter string is not located within the obtained line, the method
repeats the accessing and parsing steps until the parameter string is
located. If the parsing step determines that the parameter string is
located within the obtained line, the method determines whether all
parameter strings in the at least one parameter string have been located.
If the determining step determines that all parameter strings in the at
least one parameter string have not been located, the method repeats the
accessing, parsing, repeating, and determining steps until all parameter
strings in the at least one parameter string have been located. However,
if the determining step determines that all parameter strings have been
located within the script, the method extracts the status information
from the web page based on the location of a last located parameter
string.