Добрый день. Тема мониторинга TomCat на Windows не так актуальна, может быть поэтому не нашёл решения.
На данный момент поставлен JavaGate непосредственно на Zabbix, в файлах:
zabbix_server.conf задано значение JavaGateway=127.0.0.1
catalina.sh:
CATALINA_OPTS="$CATALINA_OPTS \
-Dcom.sun.management.jmxremote.password.file=C:\Pro gram Files\Apache Software Foundation\Tomcat 7.0/conf/remote.users \
-Dcom.sun.management.jmxremote.access.file=C:\Progr am Files\Apache Software Foundation\Tomcat 7.0/conf/remote.acl \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=12345 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Djava.rmi.server.hostname=127.0.0.1"
remote.users: Admin Admin
remote.acl: Admin readwrite
Так же были попытки без последних 2х файлов и их настройки, но безрезультатно.
Но в дашборде выпаливается сообщение на узле сети: В соединении отказано (Connection refused): service:jmx:rmi:///jndi/rmi://IP:12345/jmxrmi
|
Good day. The topic of monitoring TomCat on Windows is not so relevant, maybe that's why I could not find a solution.
Currently JavaGate is installed directly on Zabbix, in the files:
zabbix_server.conf given the value JavaGateway = 127.0.0.1
catalina.sh:
ATALINA_OPTS = "$ CATALINA_OPTS \
-Dcom.sun.management.jmxremote.password.file = C: \ Pro gram Files \ Apache Software Foundation \ Tomcat 7.0 / conf / remote.users \
-Dcom.sun.management.jmxremote.access.file = C: \ Progr am Files \ Apache Software Foundation \ Tomcat 7.0 / conf / remote.acl \
-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port = 12345 \
-Dcom.sun.management.jmxremote.authenticate = false \ -Dcom.sun.management.jmxremote.ssl = false \
-Djava.rmi.server.hostname = 127.0.0.1 "
remote.users: admin admin remote.acl: admin readwrite
There have also been attempts without the last 2 files and their settings, but to no avail.
But in the dashboard a message pops up on the host: Connection refused: service: jmx: rmi: /// jndi / rmi: // IP: 12345 / jmxrmi
На данный момент поставлен JavaGate непосредственно на Zabbix, в файлах:
zabbix_server.conf задано значение JavaGateway=127.0.0.1
catalina.sh:
CATALINA_OPTS="$CATALINA_OPTS \
-Dcom.sun.management.jmxremote.password.file=C:\Pro gram Files\Apache Software Foundation\Tomcat 7.0/conf/remote.users \
-Dcom.sun.management.jmxremote.access.file=C:\Progr am Files\Apache Software Foundation\Tomcat 7.0/conf/remote.acl \
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=12345 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Djava.rmi.server.hostname=127.0.0.1"
remote.users: Admin Admin
remote.acl: Admin readwrite
Так же были попытки без последних 2х файлов и их настройки, но безрезультатно.
Но в дашборде выпаливается сообщение на узле сети: В соединении отказано (Connection refused): service:jmx:rmi:///jndi/rmi://IP:12345/jmxrmi
|
Good day. The topic of monitoring TomCat on Windows is not so relevant, maybe that's why I could not find a solution.
Currently JavaGate is installed directly on Zabbix, in the files:
zabbix_server.conf given the value JavaGateway = 127.0.0.1
catalina.sh:
ATALINA_OPTS = "$ CATALINA_OPTS \
-Dcom.sun.management.jmxremote.password.file = C: \ Pro gram Files \ Apache Software Foundation \ Tomcat 7.0 / conf / remote.users \
-Dcom.sun.management.jmxremote.access.file = C: \ Progr am Files \ Apache Software Foundation \ Tomcat 7.0 / conf / remote.acl \
-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port = 12345 \
-Dcom.sun.management.jmxremote.authenticate = false \ -Dcom.sun.management.jmxremote.ssl = false \
-Djava.rmi.server.hostname = 127.0.0.1 "
remote.users: admin admin remote.acl: admin readwrite
There have also been attempts without the last 2 files and their settings, but to no avail.
But in the dashboard a message pops up on the host: Connection refused: service: jmx: rmi: /// jndi / rmi: // IP: 12345 / jmxrmi
Comment