Changeset 268 for trunk/nagios-velvice/velvice.cgi
- Timestamp:
- Jun 26, 2018, 7:10:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nagios-velvice/velvice.cgi
r266 r268 15 15 use strict; 16 16 use warnings; 17 use version; our $VERSION = version->declare('0.7. 3');17 use version; our $VERSION = version->declare('0.7.4'); 18 18 19 19 use CGI; … … 347 347 The main keys C<nagios-server> and C<color-downtime> have good default values. 348 348 No secondary key is required... 349 The 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 358 The background color of the faulty service line display remains stable with a bright color for at least 3 days. 359 Then, 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 349 365 350 366 With key C<host-mapping>, 351 367 it'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 352 372 353 373 The only important key is C<remote-action>.
Note: See TracChangeset
for help on using the changeset viewer.