From b95ca6b31014f378c7662863a4760a20d0d5fe10 Mon Sep 17 00:00:00 2001 From: Ryan Armstrong Date: Fri, 9 Sep 2016 08:39:41 +0300 Subject: [PATCH] Change default template prefix to 'Template SNMP' --- mib2zabbix.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mib2zabbix.pl b/mib2zabbix.pl index f71576b..8cbcc7c 100755 --- a/mib2zabbix.pl +++ b/mib2zabbix.pl @@ -1,4 +1,5 @@ #!/usr/bin/perl + =pod =head1 NAME @@ -833,7 +834,7 @@ if (!$oid_root || $oid_root->{ objectID } ne $opts->{ oid }) { # Build a Zabbix template } else { my $suffix = $opts->{ snmpver } > 2 ? " v$opts->{ snmpver }" : ''; - my $template_name = $opts->{ name } || "Template $oid_root->{ moduleID } - $oid_root->{ label }$suffix"; + my $template_name = $opts->{ name } || "Template SNMP $oid_root->{ moduleID } - $oid_root->{ label }$suffix"; my $template = { name => $template_name, template => $template_name,