Changeset 1694 in genapp for etc


Ignore:
Timestamp:
Apr 26, 2019, 4:59:18 AM (3 years ago)
Author:
ehb
Message:

MOnitor -> 0.9 & add progress req. for docker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • etc/monitor/monitor.pl

    r1689 r1694  
    2424die "$0: configuration file $cf does not exist\n" if !-e $cf;
    2525
    26 $version = "Web monitor 0.8";
     26$version = "Web monitor 0.9";
    2727
    2828sub read_params {
     
    298298sub checkwss {
    299299    print "checking wss $_[0]\n" if $debug;
    300     my $response = `websocat -q -uU $_[0] 2> /dev/null; echo $?`;
    301     chomp $response;
     300    `websocat -q -uU $_[0] 2> /dev/null`;
     301    my $response = $?;
    302302    print "checking wss $_[0] response '$response'\n" if $debug;
    303303   
     
    306306    undef $lastresultbytes;
    307307
    308     if ($response eq '0' )
     308    if ($response == 0 )
    309309    {
    310310        $lastresultbytes = 1;
Note: See TracChangeset for help on using the changeset viewer.