I am running Zabbix 2.4.6 (revision 54796) on a CentOs 6.5 server
and managing a Tomcat 8 instance running on another CentOS 6.5 server.
Managed entity:
Tomcat 8 server
Zabbix agent: Zabbix 2.0.15 (revision 54798)
CentOS 6.5
Zabbix Server:
Zabbix 2.0.15 (revision 54798
My confusion:
Documentation and discussions seem to suggest that active and passive both may not be employed on an agent at one time. Is this true? For some items I need to use active and for others I need to use passive.
My Problem:
I want to check if Tomcat server is running - if not I want to issue an alert.
First, I configured the agent to enable active checks and disable passive checks:
I have added the Host "tomcat.xxx.com" on the Zabbix server. And I created
an item of type Zabbix agent (pl see attachment).
After a few minutes (10 minutes) I am monitoring the Latest Data on the host tomcat.xxx.com and I see no data.
I put the agent in debug mode and I do not see it returning the value of the user parameter (satellite.server).
What am I missing?
Also, what is the best way to implement a trigger to be notified when my Tomcat server (tcp/8080) dies or stops?
Thanx,
/Kobe
and managing a Tomcat 8 instance running on another CentOS 6.5 server.
Managed entity:
Tomcat 8 server
Zabbix agent: Zabbix 2.0.15 (revision 54798)
CentOS 6.5
Zabbix Server:
Zabbix 2.0.15 (revision 54798
My confusion:
Documentation and discussions seem to suggest that active and passive both may not be employed on an agent at one time. Is this true? For some items I need to use active and for others I need to use passive.
My Problem:
I want to check if Tomcat server is running - if not I want to issue an alert.
First, I configured the agent to enable active checks and disable passive checks:
Code:
# /etc/zabbix/zabbix_agentd.conf
#
Server=
ListenIP=<agent IP address>
##### Active checks related
ServerActive=manager.xxx.com
Hostname=tomcat.xxx.com
## UserParameters to show number of Tomcat Bootstrap processes running
UserParameter=satellite.server,/opt/jdk/bin/jps -l | grep -c Bootstrap
an item of type Zabbix agent (pl see attachment).
After a few minutes (10 minutes) I am monitoring the Latest Data on the host tomcat.xxx.com and I see no data.
I put the agent in debug mode and I do not see it returning the value of the user parameter (satellite.server).
What am I missing?
Also, what is the best way to implement a trigger to be notified when my Tomcat server (tcp/8080) dies or stops?
Thanx,
/Kobe
Comment