I was monitoring a simply JMX program from HypericHQ. I set the collection interval to 1 minute. The available shows green as expected. The metrics look good and are updated correctly. I purposely stop the program. The available turns red after a couple minutes. I restart the program. I expect the available to be green. 40 minutes later, available is all red.
The Sun JVM server shows unavailable.
Run a jconsole on the same machine as HQ. I’m able to connect to the JMX program with no problem.
Edit the configuration properties, make no changes, simply edit and ok. I get the following error
The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [{jmx.url=service:jmx:rmi:///jndi/rmi://10.22.1.12:9995/jmxrmi}]: java.rmi.ConnectException: Connection refused to host: 10.22.1.2; nested exception is: java.net.ConnectException: Connection refused: connect
Attempt to create a new Sun JVM server, when closing the configuration properties, I get the same error as above.
Stop and start HQ – available still red
Stop and start the agent – problem fixed.
Why didn’t the green available light turn on when the program was available?
Thanks
Bob
The Sun JVM server shows unavailable.
Run a jconsole on the same machine as HQ. I’m able to connect to the JMX program with no problem.
Edit the configuration properties, make no changes, simply edit and ok. I get the following error
The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Can't connect to MBeanServer [{jmx.url=service:jmx:rmi:///jndi/rmi://10.22.1.12:9995/jmxrmi}]: java.rmi.ConnectException: Connection refused to host: 10.22.1.2; nested exception is: java.net.ConnectException: Connection refused: connect
Attempt to create a new Sun JVM server, when closing the configuration properties, I get the same error as above.
Stop and start HQ – available still red
Stop and start the agent – problem fixed.
Why didn’t the green available light turn on when the program was available?
Thanks
Bob