Alex White (wu) > App-Wubot-0.4.2 > App::Wubot::Web::GraphsWeb

Download:
App-Wubot-0.4.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.4.2   Source  

NAME ^

App::Wubot::Web::GraphsWeb - web interface for wubot graphs

VERSION ^

version 0.4.2

CONFIGURATION ^

    ~/wubot/config/webui.yaml

    ---
    plugins:
      graphs:
        '/graphs': graphs

    graphs:
      - sensors:
          - http://wubot/wubot/graphs/Coopduino.now.png
          - http://wubot/wubot/graphs/Coopduino.png
          - http://wubot/wubot/graphs/Coopduino-week.png
          - http://wubot/wubot/graphs/Growbot.png
      - sensor-monthly:
          - http://wubot/wubot/graphs/outside-temp/outside-temp-monthly.png
          - http://wubot/wubot/graphs/lab-temp/lab-temp-monthly.png
          - http://wubot/wubot/graphs/coop-temp/coop-temp-monthly.png
          - http://wubot/wubot/graphs/growbot-temp/growbot-temp-monthly.png
          - http://wubot/wubot/graphs/growbot-moisture/growbot-moisture-monthly.png
          - http://wubot/wubot/graphs/growbot-humidity/growbot-humidity-monthly.png
      - external:
          - http://wubot/wubot/graphs/WebFetch-qwest/WebFetch-qwest-daily.png
          - http://wubot/wubot/graphs/Ping-google/Ping-google-daily.png
          - http://wubot/wubot/graphs/Ping.png
          - http://wubot/wubot/graphs/Ping-router/Ping-router-daily.png

DESCRIPTION ^

This plugin allows you to display graphs generated by the wubot reactor in the web interface.

The wubot web interface is still under construction. There will be more information here in the future.

TODO: finish docs

SUBROUTINES/METHODS ^

graphs

Reads the graphs from the wubot web interface config file. See the example above.

For each key in the 'graphs' config, a link will be generated at the top of the page on the navigation bar.

Clicking on one of the keys will display a page with all the links for that page displayed in image tags.

syntax highlighting: