Hello Guest

Author Topic: Retrieving Google's stock quote  (Read 3400 times)

0 Members and 1 Guest are viewing this topic.

Offline zarzuelo

  • Full Member
  • ***
  • Posts: 45
  • Karma: 1
    • View Profile
Retrieving Google's stock quote
« on: August 07, 2012, 12:35:51 AM »
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?client=ig&q=NASDAQ%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?title=Pandora:Documentation_en:Web_Monitoring#Retrieving_Google.27s_stock_quote