move snmp plugin
This commit is contained in:
parent
2f359edf2b
commit
217384bd38
|
@ -18,7 +18,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
package snmp_standard::plugin;
|
package apps::protocols::snmp::plugin;
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -31,9 +31,9 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '0.1';
|
$self->{version} = '0.1';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
|
'dynamic-command' => 'snmp_standard::mode::dynamiccommand',
|
||||||
'numeric-value' => 'snmp_standard::mode::numericvalue',
|
'numeric-value' => 'snmp_standard::mode::numericvalue',
|
||||||
'string-value' => 'snmp_standard::mode::stringvalue',
|
'string-value' => 'snmp_standard::mode::stringvalue',
|
||||||
'dynamic-command' => 'snmp_standard::mode::dynamiccommand',
|
|
||||||
'uptime' => 'snmp_standard::mode::uptime',
|
'uptime' => 'snmp_standard::mode::uptime',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -46,6 +46,6 @@ __END__
|
||||||
|
|
||||||
=head1 PLUGIN DESCRIPTION
|
=head1 PLUGIN DESCRIPTION
|
||||||
|
|
||||||
Check SNMP values (string, numeric or execute commands) or standard (uptime).
|
Check SNMP values (string, numeric or execute commands).
|
||||||
|
|
||||||
=cut
|
=cut
|
Loading…
Reference in New Issue