Help for this page

Select Code to Download


  1. or download this
     #ErrorLevel,Computer,IDO,Description,MinValue,MinTime,MaxValue,MaxTim
    +e,CurrentValue,CurrentTime
    0,localhost,1.3.6.1.4.1.314.50.1.20.3.1.3,CFG persistent MEM,18720,11:
    +29,18760,12:30,17176,14:26
    
  2. or download this
    if (! /^\s*(\d),(\w+),([\d\.]+),([^,]+),([^,]+),(\d+:\d+),([^,]+),(\d+
    +:\d+),.*$/ ) { exit_error("Cannot parce log file") }
    
    ...
    }
    print LOG "$level,$computer,$iod,$comment,$min_value,$min_time,$max_va
    +lue,
    $max_time,$CONFIG{$computer}{iod}{$iod}{value},$hour:$min\n";