Ignore:
Timestamp:
Apr 28, 2019, 10:16:59 AM (6 years ago)
Author:
g7moreau
Message:
  • Better doc on refreshment
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nagios-velvice/velvice.cgi

    r386 r387  
    1717use strict;
    1818use warnings;
    19 use version; our $VERSION = version->declare('0.10.11');
     19use version; our $VERSION = version->declare('0.10.12');
    2020
    2121use CGI;
     
    564564The key C<style> is there to mark in bold the service in error on the web page.
    565565
     566The web page will be partially updated every 15 minutes by default (if Javascript is enabled in your browser).
     567It is possible to have a finer setting depending on the time of day and the day of the week
     568by using Perl objects C<DateTime::Event::Recurrence> via some YAML parameters in the configuration file.
     569See the sample configuration file
     570L<velvice.sample.yml|http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/nagios-velvice/velvice.sample.yml>
     571for a very detailed case.
     572With the following configuration,
     573the refresh of the web page will take place every 5 min (300 s) from 9 am to noon and from 1 pm to 6 pm from Monday to Friday.
     574From noon to 1 pm and from 6 pm to 8 pm on weekdays, this will take place every 10 minutes.
     575
     576 refreshments:
     577   -
     578     refresh: 300
     579     days:  [ 1 .. 5 ]
     580     start: [  9, 13 ]
     581     end:   [ 12, 18 ]
     582   -
     583     refresh: 600
     584     days:  [ 1 .. 5 ]
     585     start: [ 12, 18 ]
     586     end:   [ 13, 20 ]
     587
     588
    566589=head1 SEE ALSO
    567590
    568 yamllint(1), ysh(1), YAML, Nagios::StatusLog, Color::Calc
     591yamllint(1), ysh(1), YAML, Nagios::StatusLog, Color::Calc, DateTime::Event::Recurrence
    569592
    570593In Debian GNU/Linux distribution, packages for C<yamllint> and C<ysh> are:
     
    587610=item * L<Online Manual|http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/nagios-velvice/velvice.html>
    588611
    589 =item * L<SVN Repository|http://servforge.legi.grenoble-inp.fr/svn/soft-trokata/trunk/nagios-velvice>
     612=item * L<SVN Repository|http://servforge.legi.grenoble-inp.fr/svn/soft-trokata/trunk/nagios-velvice> -
     613        L<Forge Browser|http://servforge.legi.grenoble-inp.fr/projects/soft-trokata/browser/trunk/nagios-velvice>
    590614
    591615=item * L<Debian Package|http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/nagios-velvice/download/>
Note: See TracChangeset for help on using the changeset viewer.