> i installed Hyperic 3.2.3 agents with embbeded JRE in
> linux REDHAT EL 3 and 4 for monitoring Jboss 3.2. The
> agent detected Jboss but when i accepted the default
> config and click OK, i have this error:
> The configuration has not been set for this
> resource due to : Invalid configuration: Error
> contacting resource: Can't connect to MBeanServer
> [java.naming.provider.url=jnp%3A//127.0.0.1%3A1099,jav
> a.naming.security.principal=,java.naming.security.cred
> entials=]: javax.naming.NameNotFoundException: jmx
> not bound.
I've only set up monitoring for JBoss 4.0, and I'm still pretty unfamiliar with JBoss in general, but here's a couple questions for you:
Is JBoss listening on port 1099? That's the default port, but all of the JBoss instances I've had to monitor were customized. You could see in a 'ps' what port they were using by looking for the
-Dcs.namingdiscovery.port=12009
parameter. That's actually how I set up Process monitoring inside HQ, because the JBoss monitoring didn't monitor JVM CPU usage. (I used a PTQL string of Args.*.eq=-Dcs.naming.port=11005,State.Name.eq=java,CredName.User.eq=jboss, FWIW)
But you might want to check using 'netstat -an' whether 1099 is actually listening.
That's what your error looks like to me anyway ... either it's not running, or you need credentials. If you need to enable JMX, well, I guess I could try to help as I need to learn about JBoss as part of my new role at work 🙂