Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving Google's stock quote
#1
Another example of the power of Pandora FMS is the Web checks we can do using the Enterprise Web Server.

In example, we can retrieve the Google's stock quote. To do this we need to create a Web Server Module in one of our Agents into Pandora FMS.

This module will be a Remote HTTP module to retrieve numeric data module with the appropriate regular expression. In this case we will use the following configuration:

task_begin
get http://finance.google.com/finance/info?c...DAQ%3aGOOG
get_content \d+\.\d+
task_end


More information about full configuration and other possibilities in our online documentation:

http://www.openideas.info/wiki/index.php...tock_quote
 Reply
Messages In This Thread
Retrieving Google's stock quote - by zarzuelo - 08-07-2012, 07:35 AM


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes