Currently, we are using Zenoss to monitor our server CPU Usage ect.  I started 
to look into configuring Zenoss JMX to monitor tomcat instances, that are 
running on these servers.  We run multiple JVM instances on a given server 
(device), so I created host names in dns to represent each tomcat instance and 
setup each tomcat instance as a device in Zenoss.  Now I want to apply the same 
performance template to each Zenoss Device in a particular class, think 
/Customers/Tomcat/Roots.  It seems from my testing, that if I define a 
Management Port in my JMX DataSource, and hardcode a single instance's JMX port 
number, it will collect stats for that jmx instance.  But I tried using the 
zJmxManagementPort zproperty, so that I don't have to create a new dataSource 
or template for each device (tomcat instance) that I add to Zenoss.  Instead I 
wanted to rely on inheritance and having the zJMXManagementPort over ridden for 
each device, but have the JMX Performance templates stay the same. 
  This doesn't seem to be working or being used by the zenjmx collector.  
Instead it defaults to port 1099. (I figured this out by looking at tcpdumps).  

     Could you clarify how someone should go about monitoring multiple tomcat 
instances on a single device without defining a new template per device?  Am I 
doing anything wrong above?  Lastly, is there a property value I could use in 
the dataSource to get at the zJmxManagementPort property?  Like, 
$zJmxManagementPort or something.zJmxManagementPort.  

Thanks very much for your help.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13702#13702

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to