Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-07-27 14:39:52 +0400
committerRudolfs Kreicbergs <git-no-reply@zabbix.com>2011-07-27 14:39:52 +0400
commit24847d28646cdcb800ebe1066e02f681c914d88b (patch)
treed81b5bf38b08058f70ab3272021a295b540ff949 /misc
parent8df315a3feda3ef7bce3800683ac2d57d12409f3 (diff)
- [ZBXNEXT-747] Fixed a bug and allow DNS addresses to be used for SNMP trap sources
Diffstat (limited to 'misc')
-rw-r--r--misc/snmptrap/zabbix_trap_receiver.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/snmptrap/zabbix_trap_receiver.pl b/misc/snmptrap/zabbix_trap_receiver.pl
index e41d7cd0225..d9d934ea1bc 100644
--- a/misc/snmptrap/zabbix_trap_receiver.pl
+++ b/misc/snmptrap/zabbix_trap_receiver.pl
@@ -78,8 +78,8 @@ sub zabbix_receiver
# print trap header
# timestamp must be placed at the beggining of the first line (can be omitted)
- # the first line must include the header "ZBXTRAP [IP] "
- # * IP is the used to find the corresponding SNMP trap items
+ # the first line must include the header "ZBXTRAP [IP/DNS address] "
+ # * IP/DNS address is the used to find the corresponding SNMP trap items
# * this header will be cut during processing (will not appear in the item value)
printf OUTPUT_FILE "%s ZBXTRAP %s\n", strftime($DateTimeFormat, localtime), $hostname;