Страница 2 из 2

Re: Zabbix-agent не открывается порт 10050

Добавлено: Сб авг 17, 2019 5:05 am
kon-dv

Код: Выделить всё

# systemctl stop iptables
[root@brainycp ~]# systemctl status iptables
● iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2019-08-17 08:03:14 MSK; 12s ago
  Process: 32114 ExecStop=/usr/libexec/iptables/iptables.init stop (code=exited, status=5)
 Main PID: 16167 (code=exited, status=0/SUCCESS)

Aug 12 11:02:13 brainycp.centos iptables.init[16167]: iptables: Applying firewall rules: [  OK  ]
Aug 12 11:02:13 brainycp.centos systemd[1]: Started IPv4 firewall with iptables.
Aug 17 08:03:14 brainycp.centos systemd[1]: Stopping IPv4 firewall with iptables...
Aug 17 08:03:14 brainycp.centos iptables.init[32114]: iptables: Setting chains to policy ACCEPT: filter [  OK  ]
Aug 17 08:03:14 brainycp.centos iptables.init[32114]: iptables: Flushing firewall rules: [  OK  ]
Aug 17 08:03:14 brainycp.centos iptables.init[32114]: iptables: Unloading modules:  iptable_nat iptable_filter iptable_filter iptable_nat ip_tables[FAILED]
Aug 17 08:03:14 brainycp.centos systemd[1]: iptables.service: control process exited, code=exited status=5
Aug 17 08:03:14 brainycp.centos systemd[1]: Stopped IPv4 firewall with iptables.
Aug 17 08:03:14 brainycp.centos systemd[1]: Unit iptables.service entered failed state.
Aug 17 08:03:14 brainycp.centos systemd[1]: iptables.service failed.
Порт 10050 так и не открыт:

Код: Выделить всё

# nmap 192.168.0.10

Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-17 05:04 UTC
Nmap scan report for 192.168.0.10
Host is up (0.000013s latency).
Not shown: 984 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
110/tcp  open  pop3
111/tcp  open  rpcbind
143/tcp  open  imap
443/tcp  open  https
465/tcp  open  smtps
587/tcp  open  submission
993/tcp  open  imaps
995/tcp  open  pop3s
3306/tcp open  mysql
8000/tcp open  http-alt
8002/tcp open  teradataordbms
8080/tcp open  http-proxy

Re: Zabbix-agent не открывается порт 10050

Добавлено: Сб авг 17, 2019 11:10 am
sbury
Не открыт или сервис не отвечает? В команде ниже, подставьте свой айпи агента.

nmap -sS -p 21,10050,53,10051 $_YOUR_IP_SERVER_AGENT

Re: Zabbix-agent не открывается порт 10050

Добавлено: Сб авг 17, 2019 11:23 am
kon-dv
C zabbix-server:

Код: Выделить всё

# nmap -sS -p 21,10050,53,10051 $ 192.168.0.10

Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-17 11:22 UTC
Failed to resolve "$".
Nmap scan report for 192.168.0.10
Host is up (0.000098s latency).
PORT      STATE  SERVICE
21/tcp    open   ftp
53/tcp    closed domain
10050/tcp open   unknown
10051/tcp closed unknown

Re: Zabbix-agent не открывается порт 10050

Добавлено: Сб авг 17, 2019 11:31 am
kon-dv
Все, победил.
Спасибо )