Changeset 433


Ignore:
Timestamp:
Jul 27, 2020, 12:10:33 PM (2 weeks ago)
Author:
g7moreau
Message:
  • Show Unknow to add button force
File:
1 edited

Legend:

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

    r394 r433  
    1717use strict;
    1818use warnings;
    19 use version; our $VERSION = version->declare('0.10.14');
     19use version; our $VERSION = version->declare('0.11.2');
    2020
    2121use CGI;
     
    323323            or ($cgi_check =~ m/^$service$/i)
    324324            or ($cgi_check =~ m/critical/i and $status eq 'CRITICAL')
     325            or ($cgi_check =~ m/unknown/i  and $status eq 'UNKNOWN')
    325326            or ($cgi_check =~ m/warning/i  and $status eq 'WARNING')
    326327            or ($cgi_check =~ m/pending/i  and $status eq 'PENDING')
    327             or ($cgi_check eq $hostname    and $status =~ m/^(CRITICAL|WARNING|PENDING)$/)
     328            or ($cgi_check eq $hostname    and $status =~ m/^(CRITICAL|UNKNOWN|WARNING|PENDING)$/)
    328329            ) {
    329330         $now++;
Note: See TracChangeset for help on using the changeset viewer.