enh(plugin): refacto/migrate os/linux/local/mode/swap.pm
enh(plugin): refacto/migrate os/linux/local/mode/swap.pm

Tpo76/centreon-plugins,centreon/centreon-plugins,centreon/centreon-plugins,Tpo76/centreon-plugins