NAME
Ixchel::Actions::extend_logsize_config - Generates the config for the logsize SNMP extend.
VERSION
Version 0.0.1
CLI SYNOPSIS
ixchel -a extend_logsize_config [-w] [-o <file>]
CODE SYNOPSIS
my $results=$ixchel->action(action=>'extends_logsize_config', opts=>{w=>1, np=>1});
if ($results->{ok}) {
print $results->{filled_in};
}else{
die('Action errored... '.joined("\n", @{$results->{errors}}));
}
DESCRIPTION
The template used is 'extend_logsize'.
The returned value is the filed in template.
FLAGS
-w
Write out the file instead of stdout.
-o <file>
File to write the out to if -w is specified.
Default :: /usr/local/etc/logsize.conf
--np
Don't print the the filled in template.
RESULT HASH REF
.errors :: A array of errors encountered.
.status_text :: A string description of what was done and the results.
.ok :: Set to zero if any of the above errored.
.filled_in :: The filled in template.