• ubuntu 安装zabbix_agent端


    root@(none):~# apt-get install zabbix-agent
    
    root@(none):~# vi /etc/zabbix/zabbix_agentd.conf
    Server=123.57.36.227
    ServerActive=123.57.36.227
    Hostname=svn_server
    
    Server=123.57.36.227
    ServerActive=123.57.36.227
    Hostname=123.56.78.103
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    ~                                                                               
    "/etc/zabbix/zabbix_agentd.conf.d/server.conf" 
    
    root@(none):~# /etc/init.d/zabbix-agent restart
     * zabbix_agentd stopping...                                             [ OK ] 
     * zabbix_agentd starting...                                             [ OK ]
    
    root@(none):~# netstat -lnutp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      1310/vsftpd     
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      769/sshd        
    tcp        0      0 0.0.0.0:10050           0.0.0.0:*               LISTEN      23986/zabbix_agentd
    tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1263/php-fpm.conf)
    tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      5276/mysqld     
    tcp        0      0 0.0.0.0:3690            0.0.0.0:*               LISTEN      2524/svnserve   
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1288/nginx.conf 
    tcp6       0      0 :::10050                :::*                    LISTEN      23986/zabbix_agentd
    udp        0      0 123.56.78.103:123       0.0.0.0:*                           1148/ntpd       
    udp        0      0 10.172.91.37:123        0.0.0.0:*                           1148/ntpd       
    udp        0      0 127.0.0.1:123           0.0.0.0:*                           1148/ntpd       
    udp        0      0 0.0.0.0:123             0.0.0.0:*                           1148/ntpd       
    udp6       0      0 :::123                  :::*                                1148/ntpd 
    
  • 相关阅读:
    geowebcache发布 arcgis 瓦片
    BLANK
    基于 SpringBoot 高仿某度网盘项目,前后端分离(含源码)
    基于SpringBoot+WebMagic实现一个的爬虫框架
    博客园主题
    vue el 自动计算时间加1天
    python报警告qt.gtimg.cn
    量化交易日志
    mybatis 一对多。对多对
    DBeaver执行SQL脚本,导入导出
  • 原文地址:https://www.cnblogs.com/bass6/p/5531357.html
Copyright © 2020-2023  润新知