Changeset 387 for trunk/nagios-velvice/velvice.cgi
- Timestamp:
- Apr 28, 2019, 10:16:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nagios-velvice/velvice.cgi
r386 r387 17 17 use strict; 18 18 use warnings; 19 use version; our $VERSION = version->declare('0.10.1 1');19 use version; our $VERSION = version->declare('0.10.12'); 20 20 21 21 use CGI; … … 564 564 The key C<style> is there to mark in bold the service in error on the web page. 565 565 566 The web page will be partially updated every 15 minutes by default (if Javascript is enabled in your browser). 567 It is possible to have a finer setting depending on the time of day and the day of the week 568 by using Perl objects C<DateTime::Event::Recurrence> via some YAML parameters in the configuration file. 569 See the sample configuration file 570 L<velvice.sample.yml|http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/nagios-velvice/velvice.sample.yml> 571 for a very detailed case. 572 With the following configuration, 573 the 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. 574 From 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 566 589 =head1 SEE ALSO 567 590 568 yamllint(1), ysh(1), YAML, Nagios::StatusLog, Color::Calc 591 yamllint(1), ysh(1), YAML, Nagios::StatusLog, Color::Calc, DateTime::Event::Recurrence 569 592 570 593 In Debian GNU/Linux distribution, packages for C<yamllint> and C<ysh> are: … … 587 610 =item * L<Online Manual|http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/nagios-velvice/velvice.html> 588 611 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> 590 614 591 615 =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.