1 2 Previous Next 15 Replies Latest reply on Feb 14, 2012 6:24 PM by genman

    Agent plugins not available

    kai.geuthner

      Hi,

      I have encountered some problems using the RHQ and the agents.

      RHQ is set up properly and is working really fine. The agents commit the infos and health status. After running several days I'm not possible to add another resources in RHQ manually, because the menu for importing have only two entries. All other entries (like Apache, Oracle etc) are gone.

       

      06.02.png

       

      On the agents and server were not executed changes. The plugin files are available on the agents.

       

      I use RHQ server 4.2 with JDK 1.6 and Oracle 11.2.0.2 as database.

       

      Any hints to get the plugins back?

       

      Thanks,

      Kai

        • 1. Re: Agent plugins not available
          mazz

          This sounds very familiar - I think you are hitting bugzilla 720456

           

          Try this as a workaround - click the right mouse button over the resource node in the left hand tree - look at the Import menu option in the right-mouse context menu. What do you see? Do you see the resource types that you expect?

          • 2. Re: Agent plugins not available
            kai.geuthner

            The workaround does not work. I get the same issue when using the menu in the left hand tree.

            • 3. Re: Agent plugins not available
              ips

              As Mazz said, I thought https://bugzilla.redhat.com/show_bug.cgi?id=720456 fixed the issue with server types not being listed, so I'm not sure why it's still not working for you.

               

              Another bug related to manual import of servers that was fixed after RHQ 4.2 is https://bugzilla.redhat.com/show_bug.cgi?id=751421. There's a possiblity the fix for that might also fix your issue. If you don't want to wait for 4.3 to be released, you could build HEAD of the RHQ master branch yourself and then see if the issue still exists.

              • 4. Re: Agent plugins not available
                kai.geuthner

                Thanks to John an Ian for the quick answer. But the mentioned bugs don't fit to my problem.

                I added two screenshots to show the problem.

                 

                import_1.png

                import_2.png

                 

                The issues occurs after running the suite for some days without changes. I've checked already if the firewall is shut down and no antivirus software is active.

                 

                As the issue occured last time, a complete reinstall of all components works (with drop and create the database). But this is not the desired way.

                • 5. Re: Agent plugins not available
                  ips

                  So  you are saying intitially you did see the server types listed on the Import menu, but then after running for a few days, they are no longer listed?

                   

                  Did you try clearing your browser's cache and then relogging into the GUI, just to rule out browser caching?

                  • 6. Re: Agent plugins not available
                    kai.geuthner

                    Yes, this is correct. I saw the server types on the import menu initially and I can rule out the browser (tested with different machines)

                    Yesterday I've set up a new RHQ instance on a separate system (new Database schema etc) and over the night, the import menu has only two items (see screenshot above)

                     

                    If needed, I can send you the agent and server logs from my last installation and test system.

                    • 7. Re: Agent plugins not available
                      ips

                      Thanks. Someone else just reported the same issue in #rhq, so I think there's definitely a bug here. We will look into it and make sure it's fixed in 4.3. Thanks for letting us know!

                      • 8. Re: Agent plugins not available
                        kai.geuthner

                        Could you provide more informations like bug id?

                        When will be 4.3 released?

                         

                        Since I have to install a RHQ environment in time, what is the best way to get it working? Should I install the 4.2 and wait for an update?

                         

                        With 4.1 I could recognize the issue, too.

                         

                        Currently I test it with Oracle 10g as database. It seems as if the error does not occur when using Postgresql (currently no option for me)

                        • 9. Re: Agent plugins not available
                          mazz

                          kai - you said you can replicate this on 4.1 and 4.2? I have not been able to replicate this. Can you write up a BZ with a set of replication steps/procedures that you do which can demonstrate the problem. I'll assign that BZ to me and look at it - I planned on looking at this problem today but I can't reproduce the problem.

                           

                          Here's where you can create the bug report on bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=RHQ%20Project

                          • 10. Re: Agent plugins not available
                            kai.geuthner

                            John,

                            the error will occurs only after some time (the shortest time was over the night approx. 10h) and it seems if it depends on the version of Oracle. And yes, on both version I could recognize this issue.

                             

                            Perhaps an useful information: I'm using the agent to monitor a JBoss 4.2.2 server.

                             

                            I created BZ 789415

                             

                            Edit: Added BZ

                            • 11. Re: Agent plugins not available
                              mazz

                              ok, after further review, we think this is https://bugzilla.redhat.com/show_bug.cgi?id=751097 whose fix is in master branch and will be included in RHQ 4.3.

                              • 12. Re: Agent plugins not available
                                genman

                                I have a similar issue, although things don't disappear, it's just my new plugin doesn't show up with the option to add a resource, though the plugin works otherwise. This is with the changes for 751097 applied to the 4.1 tree. (I assume I did this right, but hard to say.)

                                 

                                I'm going to test against my local server built off of master.

                                • 13. Re: Agent plugins not available
                                  ips

                                  A workaround for you until 4.3 is released may be to use the CLI instead of the GUI to manually import servers. Here's a blog that describes how to do that: http://johnsanda.blogspot.com/2011/06/manually-add-resources-to-inventory.html

                                  • 14. Re: Agent plugins not available
                                    kai.geuthner

                                    Ian,

                                    thanks for the link. This should work for me until the new version is released.

                                     

                                    My test with Oracle 10g as backend runs fine since last weekend. It seems if the issue only occurs with Oracle 11g

                                    1 2 Previous Next