The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Ixchel::Actions::snmp_v2 - Generates a config file SNMPD.

VERSION

Version 0.1.0

CLI SYNOPSIS

ixchel -a snmp_v2

ixchel -a snmp_v2 -w [-o <file>] [--np]

CODE SYNOPSIS

    my $filled_in=$ixchel->action(action=>'snmp_v2', opts=>{w=>1});

    print $filled_in;

DESCRIPTION

The template used is 'snmp_v2'.

The returned value is the filled 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/snmpd.conf

Linux Default :: /etc/snmp/snmpd.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.