
my $dumpdates;

unless( $dumpdates = $memory{"dumpdates_$args{frequency}"} ) {
    &uxmon::load_module( "dumpdates" );
    &uxmon::checker(
	$memory{"dumpdates_$args{frequency}"} = $dumpdates = Monitor::dumpdates->new()
    );
    $dumpdates->sched_frequency( $args{"frequency"} );
}

my( $filesys, $red, $yellow, $level );

my( @fs );

unless( $args{"fs"} ) {
    push( @fs, ".7(4.5-6)", ".0(30-37)" );
}
else {
    @fs = split(",",$args{"fs"} );
}
	    
foreach $filesys ( @fs ) {
    $red = 6;
    $yellow = 4.5;
    if( ($filesys =~ /\((.*)-(.*)\)/) || ($proc =~ /\((.*)\)/ ) ) {
	$red = $2;
	$yellow = $1;
	$red = undef unless( length($red) );
	$yellow = undef unless( length($yellow) );
	$filesys = $`;
	$level = undef;
	if( $filesys =~ /^(.*).(\d)/ ) {
	    $filesys = $1;
	    $level = $2;
	}
	$dumpdates->add_check( $filesys, $level, $args{"alias"}.".bak", "dump days", $yellow*24*3600, $red*24*3600 );
    }
}

1;
