监控脚本思路:

  • 用netstat 命令打印出需要得到的值,放到一个txt文件中
  • 用脚本进行分析出所需要的值
  • 传输给zabbix server 端
  • 用模板的形式展现出来

第一步:netstat 打印出文件放入某个文件中

1.1创建一个空文件

touch /tmp/tcp_status.txt
chmod 644 /tmp/tcp_status.txt
chown zabbix.zabbix /tmp/tcp_status.txt

1.2定时把tcp 连接状态写入tcp_status.txt中,文件名称是 vim /etc/zabbix/scripts/tcp_conn_status.sh

#!/bin/bash
#this script is used to get tcp and udp connetion status
#tcp status
metric=$1
tmp_file=/tmp/tcp_status.txt
/bin/netstat -an|awk '/^tcp/{++S[$NF]}END{for(a in S) print a,S[a]}' > $tmp_file  

第二步:用case 方法分析所需要的关键字和值

2.1 在tcp_conns_status.sh脚本中分析tcp_status 都有哪些状态

case $metric in  closed)  output=$(awk '/CLOSED/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  listen)  output=$(awk '/LISTEN/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  synrecv)  output=$(awk '/SYN_RECV/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  synsent)  output=$(awk '/SYN_SENT/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  established)  output=$(awk '/ESTABLISHED/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  timewait)  output=$(awk '/TIME_WAIT/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  closing)  output=$(awk '/CLOSING/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  closewait)  output=$(awk '/CLOSE_WAIT/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  lastack)  output=$(awk '/LAST_ACK/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  finwait1)  output=$(awk '/FIN_WAIT1/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  finwait2)  output=$(awk '/FIN_WAIT2/{print $2}' $tmp_file)  if [ "$output" == "" ];then  echo 0  else  echo $output  fi  ;;  *)  echo -e "\e[033mUsage: sh  $0 [closed|closing|closewait|synrecv|synsent|finwait1|finwait2|listen|established|lastack|timewait]\e[0m"  esac

增加执行权限

chmod a+x /etc/zabbix/scripts/tcp_conn_status.sh

第三步:通过zabbix-agent 传输到zabbix-server 端

vim /etc/zabbix/zabbix_agentd.conf中增加

UserParameter=tcp.status[*],/etc/zabbix/scripts/tcp_conn_status.sh $1

第四步:写监控模板


<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>  <version>2.0</version>  <date>2014-12-04T09:41:57Z</date>  <groups>  <group>  <name>Templates</name>  </group>  </groups>  <templates>  <template>  <template>Template TCP Connection Status</template>  <name>Template TCP Connection Status</name>  <groups>  <group>  <name>Templates</name>  </group>  </groups>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <items>  <item>  <name>CLOSED</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[closed]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>CLOSE_WAIT</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[closewait]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>CLOSING</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[closing]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>ESTABLISHED</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[established]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>FIN_WAIT1</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[finwait1]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>FIN_WAIT2</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[finwait2]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>LAST_ACK</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[lastack]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>LISTEN</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[listen]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>SYN_RECV</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[synrecv]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>SYN_SENT</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[synsent]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  <item>  <name>TIME_WAIT</name>  <type>0</type>  <snmp_community/>  <multiplier>0</multiplier>  <snmp_oid/>  <key>tcp.status[timewait]</key>  <delay>60</delay>  <history>90</history>  <trends>365</trends>  <status>0</status>  <value_type>3</value_type>  <allowed_hosts/>  <units/>  <delta>0</delta>  <snmpv3_contextname/>  <snmpv3_securityname/>  <snmpv3_securitylevel>0</snmpv3_securitylevel>  <snmpv3_authprotocol>0</snmpv3_authprotocol>  <snmpv3_authpassphrase/>  <snmpv3_privprotocol>0</snmpv3_privprotocol>  <snmpv3_privpassphrase/>  <formula>1</formula>  <delay_flex/>  <params/>  <ipmi_sensor/>  <data_type>0</data_type>  <authtype>0</authtype>  <username/>  <password/>  <publickey/>  <privatekey/>  <port/>  <description/>  <inventory_link>0</inventory_link>  <applications>  <application>  <name>TCP Status</name>  </application>  </applications>  <valuemap/>  </item>  </items>  <discovery_rules/>  <macros/>  <templates/>  <screens/>  </template>  </templates>  <triggers>  <trigger>  <expression>{Template TCP Connection Status:tcp.status[timewait].last()}>10000</expression>  <name>There are too many TCP TIME_WAIT status</name>  <url/>  <status>0</status>  <priority>4</priority>  <description/>  <type>0</type>  <dependencies/>  </trigger>  </triggers>  <graphs>  <graph>  <name>TCP Status</name>  <width>900</width>  <height>200</height>  <yaxismin>0.0000</yaxismin>  <yaxismax>100.0000</yaxismax>  <show_work_period>1</show_work_period>  <show_triggers>1</show_triggers>  <type>0</type>  <show_legend>1</show_legend>  <show_3d>0</show_3d>  <percent_left>0.0000</percent_left>  <percent_right>0.0000</percent_right>  <ymin_type_1>0</ymin_type_1>  <ymax_type_1>0</ymax_type_1>  <ymin_item_1>0</ymin_item_1>  <ymax_item_1>0</ymax_item_1>  <graph_items>  <graph_item>  <sortorder>0</sortorder>  <drawtype>0</drawtype>  <color>C80000</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[closed]</key>  </item>  </graph_item>  <graph_item>  <sortorder>1</sortorder>  <drawtype>0</drawtype>  <color>00C800</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[closewait]</key>  </item>  </graph_item>  <graph_item>  <sortorder>2</sortorder>  <drawtype>0</drawtype>  <color>0000C8</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[closing]</key>  </item>  </graph_item>  <graph_item>  <sortorder>3</sortorder>  <drawtype>0</drawtype>  <color>C800C8</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[established]</key>  </item>  </graph_item>  <graph_item>  <sortorder>4</sortorder>  <drawtype>0</drawtype>  <color>00C8C8</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[finwait1]</key>  </item>  </graph_item>  <graph_item>  <sortorder>5</sortorder>  <drawtype>0</drawtype>  <color>C8C800</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[finwait2]</key>  </item>  </graph_item>  <graph_item>  <sortorder>6</sortorder>  <drawtype>0</drawtype>  <color>C8C8C8</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[lastack]</key>  </item>  </graph_item>  <graph_item>  <sortorder>7</sortorder>  <drawtype>0</drawtype>  <color>960000</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[listen]</key>  </item>  </graph_item>  <graph_item>  <sortorder>8</sortorder>  <drawtype>0</drawtype>  <color>009600</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[synrecv]</key>  </item>  </graph_item>  <graph_item>  <sortorder>9</sortorder>  <drawtype>0</drawtype>  <color>000096</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[synsent]</key>  </item>  </graph_item>  <graph_item>  <sortorder>10</sortorder>  <drawtype>0</drawtype>  <color>960096</color>  <yaxisside>0</yaxisside>  <calc_fnc>2</calc_fnc>  <type>0</type>  <item>  <host>Template TCP Connection Status</host>  <key>tcp.status[timewait]</key>  </item>  </graph_item>  </graph_items>  </graph>  </graphs>
</zabbix_export>

4.1 在zabbix-server 端对某主机增加该模板,图形显示如下:

zabbix 监控tcp_status 状态相关推荐

  1. Zabbix监控Redis状态

    一.Zabbix监控Redis状态 监控redis通过info信息来监控redis的状态 自动发现脚本编写 cat /etc/zabbix/scripts/redis_parameter #自动发现r ...

  2. zabbix监控nginx状态,显示状态active,accepts,handled,requests

    zabbix监控nginx状态,显示状态active,accepts,handled,requests 一. 首先,zabbix server部署完成,可用. 接上篇zabbix部署文章,我这里zab ...

  3. 配置zabbix监控nginx状态,监控华为路由器

    配置zabbix监控nginx状态,监控华为路由器 1.安装并开启nginx [root@localhost ~]# yum install nginx -y [root@localhost ~]# ...

  4. zabbix 监控TCP状态连接数

    1.zabbix客户端,监控TCP状态脚本,并保存到的定路径.(/usr/local/zabbix-agent/shells) # cat zabbix_linux_plugin.sh #!/bin/ ...

  5. zabbix监控nginx状态界面

    文章目录 开启状态界面 监控nginx状态界面 开启状态界面 实例: 开启status: location /status {stub_status {on | off};allow 172.16.0 ...

  6. Zabbix监控Redis状态(内含Zabbix、Redis福利资料)

    监控redis通过info信息来监控redis的状态 自动发现脚本编写 cat /etc/zabbix/scripts/redis_parameter #自动发现redis脚本参数的脚本 #!/bin ...

  7. LNMP一台搭建和zabbix监控nginx状态

    搭建LNMP 参考lnmp分离部署,在一台上面安装好三个服务 安装后配置 修改nginx 修改/usr/local/nginx/conf/nginx.conf配置文件 [root@hyc ~]# cd ...

  8. centos web 访问mysql_centos7 ---搭建mysql主从并用zabbix监控主从状态web实现报警(

    Windows API程序设计入门----创建一个简单的窗口 Windows API程序设计入门----创建一个简单的窗口 目录 一.目的 二.工具 三.步骤及代码实现 1.步骤及代码 2.运行结果 ...

  9. zabbix mysql.status_Zabbix 监控 Mysql 状态

    简介: 如何使用 Zabbix 来监控 Mysql 状态 ? Zabbix 有自带监控 Mysql 的模板,但是却不能直接使用.. 需要我们根据模板提供的 Key 自己写脚本获取数据 1.查看都有哪些 ...

最新文章

  1. java mongodb 删除字段类型_Mongodb基本数据类型、常用命令之增加、更新、删除
  2. 对HashMap对象的键值对内容进行排序
  3. Anaconda+tensorflow+keras的下载与安装
  4. 基于vue2.0+svg 拓扑组件
  5. AS打包APK时,一直缺失so库的解决办法
  6. Android的Context 安卓常用系统服务(当前运行包名/当前网络状态和开关网络/音频服务)...
  7. c# 导出Excel
  8. 交通灯程序设计C语言,单片机C语言程序设计:LED 模拟交通灯
  9. Spring揭秘——读书笔记
  10. Go语言实战的知识图谱
  11. 光影精灵4黑苹果_台式机技嘉主板黑苹果EFI引导文件分享amp;2020.12.4
  12. java csv 换行_javacsv如何换行输入
  13. java计算机毕业设计教师科研成果管理源码+mysql数据库+系统+lw文档+部署
  14. 淘宝宝贝商家编码 管理好你的宝贝
  15. WIN32 API串口通信编程
  16. Android热更新详解
  17. memset使用最详细细节
  18. 基于Linux RHEL 5 5 安装Oracle 10g RAC
  19. ubuntu 装pyqt5_Ubuntu18.04安装pyQt5
  20. 点、线、圆、矩形、抛物线的类定义_点、圆、球和n维球体积之间有怎样的爱恨情仇?让我们一起扒开他们之间鲜为人知,惊为天人的秘密关系!...

热门文章

  1. HTML 前端学习(3)—— CSS 选择器
  2. 机器学习(九)归纳总结DLC
  3. 米2s 进入recovery模式
  4. 【虹科案例】虹科脉冲发生器在读出电子测试中的应用
  5. STM32 HAL库
  6. 802.11p的信道功能
  7. 【耀杨闯荡华儿街】简述printf(“Hello World“)的运行原理——《曹阿门面试经典》
  8. 树莓派基础实验8:振动开关实验
  9. pubmed批量下载文献 傻瓜操作
  10. 华尔街抢Web3商标!汇丰注册元宇宙虚拟信用卡、富达抢NFT市场