Change default template prefix to 'Template SNMP'
This commit is contained in:
parent
20bfdd8a70
commit
b95ca6b310
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue