Hi All,
i want to monitor one Java service with proc.num[java,,,SERVICE.xml].
When i perform command "ps -ef|grep java" on server where this service run i get:
hrsuat 28573922 33095826 0 12:24:39 pts/0 0:09 java -Xmx256m -cp classes/:lib/MQInterface.jar:lib/com.ibm.mq.jar:lib/com.ibm.mqjms.jar:lib/connector.jar:lib/dhbcore.jar:lib/jta.jar -jar QueuDirMon.jar SERVICE.xml
but i always get result "0" even if service is running. It seems that zabbix read only first x lines and doesn't read SERVICE.xml. I tryed and i get responce when i change SERVICE.xml into MQInterface.jar (line that is before SERVICE.xml).
IT is important for me that zabbix read SERVICE.xml because i want to monitor 10-15 services with different names.
Any idea why is this not working?
i want to monitor one Java service with proc.num[java,,,SERVICE.xml].
When i perform command "ps -ef|grep java" on server where this service run i get:
hrsuat 28573922 33095826 0 12:24:39 pts/0 0:09 java -Xmx256m -cp classes/:lib/MQInterface.jar:lib/com.ibm.mq.jar:lib/com.ibm.mqjms.jar:lib/connector.jar:lib/dhbcore.jar:lib/jta.jar -jar QueuDirMon.jar SERVICE.xml
but i always get result "0" even if service is running. It seems that zabbix read only first x lines and doesn't read SERVICE.xml. I tryed and i get responce when i change SERVICE.xml into MQInterface.jar (line that is before SERVICE.xml).
IT is important for me that zabbix read SERVICE.xml because i want to monitor 10-15 services with different names.
Any idea why is this not working?
Comment