We are running hyperic 4.5.0-M6 agents on a number of Linux vserver guests, running Ubuntu 8.04 LTS. I've noticed some problems during auto discovery on the vserver guests, neither MySQL 5.0 nor Apache 2.2 or the filesystem are found.
I tried to add the MySQL Stats server manually, but it didn't get a connection to the database, even though a JDBC test program had no problems connecting to the same URL. After I deleted the server, I've found the following error in the agent.log:
2010-11-09 16:39:21,500 ERROR [Thread-1] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: MySQL Stats 5.0.x: null
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.getConnection(MySqlServerDetector.java:190)
at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.discoverServices(MySqlServerDetector.java:120)
at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:219)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
I tried to add the MySQL Stats server manually, but it didn't get a connection to the database, even though a JDBC test program had no problems connecting to the same URL. After I deleted the server, I've found the following error in the agent.log:
2010-11-09 16:39:21,500 ERROR [Thread-1] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: MySQL Stats 5.0.x: null
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.getConnection(MySqlServerDetector.java:190)
at org.hyperic.hq.plugin.mysql_stats.MySqlServerDetector.discoverServices(MySqlServerDetector.java:120)
at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:219)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)