Changeset 268


Ignore:
Timestamp:
Jun 26, 2018, 7:10:53 PM (2 years ago)
Author:
g7moreau
Message:
  • Add comment for color
File:
1 edited

Legend:

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

    r266 r268  
    1515use strict;
    1616use warnings;
    17 use version; our $VERSION = version->declare('0.7.3');
     17use version; our $VERSION = version->declare('0.7.4');
    1818
    1919use CGI;
     
    347347The main keys C<nagios-server> and C<color-downtime> have good default values.
    348348No secondary key is required...
     349The Velvice script try hard to replace ~ by the good value automatically.
     350
     351 nagios-server:
     352   status-file: /var/cache/nagios3/status.dat
     353   nagios-cmd:  /var/lib/nagios3/rw/nagios.cmd
     354   portal-url:  ~/nagios3/
     355   status-cgi:  ~/cgi-bin/nagios3/status.cgi
     356   stylesheets: ~/nagios3/stylesheets
     357
     358The background color of the faulty service line display remains stable with a bright color for at least 3 days.
     359Then, it decreases and becomes pastel after 53 days with an intensity of 70% (100% is white and 0% is black).
     360
     361 color-downtime:
     362   day-min:  3
     363   day-max: 50
     364   factor:   0.7
    349365
    350366With key C<host-mapping>,
    351367it's good to map C<localhost> to the real name of the computer (hostname).
     368
     369 host-mapping:
     370   localhost:  srv-nagios
     371   toto:       titi
    352372
    353373The only important key is C<remote-action>.
Note: See TracChangeset for help on using the changeset viewer.