NAME
Ixchel::Actions::snmp_service - Manage the snmpd service.
VERSION
Version 0.1.1
CLI SYNOPSIS
ixchel -a snmp_service --enable [--start|--stop|--restart|--stopstart]
ixchel -a snmp_service --disable [--start|--stop|--restart|--stopstart]
ixchel -a snmp_service --start
ixchel -a snmp_service --stop
ixchel -a snmp_service --restart
ixchel -a snmp_service --stopstart
CODE SYNOPSIS
use Data::Dumper;
my $results=$ixchel->action(action=>'snmp_enable', opts=>{enable=>1,start=>1});
FLAGS
--enable
Enable the service.
My not be combined with --disable.
--disable
Disable the service.
My not be combined with --enable.
--start
Start the service.
May not be combined with.
--start
--stop
--restart
--stopstart
--stop
Stop the service.
May not be combined with.
--start
--stop
--restart
--stopstart
--restart
Restart the service.
May not be combined with.
--start
--stop
--restart
--stopstart
--stopstart
Stop and then restart the service.
May not be combined with.
--start
--stop
--restart
--stopstart
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.