Hi guys,
Zabbix version is 2.2
Active checks being performed.
Here is the entire scenario. I have quite a big list of servers that are being monitored. I am measuring no of threads and memory consumed by java, using UserParameters and the files are placed in zabbix.d directory. I want to restart the java services if/when they crash. There are different services but they are running java.
However, a good number of servers also have another service on which java depends. And that service (let's say X) is NOT present in all of the servers. Therefore, if I have to restart java, I also have to check whether X is running or not and take action accordingly.
All of the UserParameter extensions have same key which is used to build the items to build the template. Therefore, any remote command that I take has to take into account the template as well. Correct me if I am getting this part wrong.
How can I achieve the remote command execution under this scenario.
Thanks,
Zabbix version is 2.2
Active checks being performed.
Here is the entire scenario. I have quite a big list of servers that are being monitored. I am measuring no of threads and memory consumed by java, using UserParameters and the files are placed in zabbix.d directory. I want to restart the java services if/when they crash. There are different services but they are running java.
However, a good number of servers also have another service on which java depends. And that service (let's say X) is NOT present in all of the servers. Therefore, if I have to restart java, I also have to check whether X is running or not and take action accordingly.
All of the UserParameter extensions have same key which is used to build the items to build the template. Therefore, any remote command that I take has to take into account the template as well. Correct me if I am getting this part wrong.
How can I achieve the remote command execution under this scenario.
Thanks,