Changeset 321
- Timestamp:
- Jul 20, 2018, 1:45:18 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nagios-velvice/velvice.cgi
r320 r321 29 29 my $cgi_path = $cgi_script_name =~ s{/[^/]+\.cgi$}{}r; 30 30 undef $query; 31 32 my %STATUS_DB = ( 33 CRITICAL => {id => 3, color => '#F88888'}, 34 WARNING => {id => 2, color => '#FFFF00'}, 35 PENDING => {id => 1, color => '#E0E0E0'}, 36 ); 31 37 32 38 my $config = {}; … … 66 72 sub alertcolor { 67 73 my ($status, $downtime) = @_; 68 69 my %STATUS_DB = (70 CRITICAL => {id => 3, color => '#F88888'}71 WARNING => {id => 2, color => '#FFFF00'}72 PENDING => {id => 1, color => '#E0E0E0'}73 );74 74 75 75 my $color = '#0000FF';
Note: See TracChangeset
for help on using the changeset viewer.