6 Replies Latest reply on Nov 28, 2011 8:27 AM by Bill Robinson

    Difference in Discovery & Compliance job results

    Sudhir More

      Hi All,

       

      I have created component template to check rscd service on solaris servers.

       

      I observed that when I execute discovery job using template against Solaris servers group it shows 111 success count

       

      While if I execute Compliance job using same template & against same Solaris group it shows 107 successes & 4 faiulres ( Which is correct one as 4 servers are not reachable)

       

      My Confusion is 

       

      Does discovery job connects to all servers in group for component discovery?

      If yes why it is showing as success for 4 servers which are not at all reachable?

       

      Thanks,

      srm

       

       

       

        • 1. Difference in Discovery & Compliance job results

          A discovery job will only meet the conditions defined in the 'Discovery' tab of the CT

           

          A compliance job can only run against components that are registered successfully from a discovery job, AND THEN it checks for the conditions you have specified in the compliance tab.  - so your discovery job is perhaps not doing what you think its doing.

           

          HTH

          • 2. Difference in Discovery & Compliance job results

            What is your discovery signature ? It depends a lot on your discovery signature,  the discovery job can succeed if your disocvery signature is something which do not need to conact the agent at all and such it will succeed for un-reachable dormant targets as well.

            • 3. Difference in Discovery & Compliance job results
              Sudhir More

              Thanks Rohit,

               

              My discovery signature is:

               

              "Extended Object Entry:Unix Services//rscd" exists

               

              and Compliance signature is:

              if

              "Extended Object Entry:Unix Services//rscd" exists

              then

              "Extended Object Entry:Unix Services//rscd"."Value1 as String (All OS)" = "Enabled"

              end

               

              One strange thing what I observed is for some solaris servers, eventhough rscd agent is running and I am able to connect to server, it is not showing under live browse Extended Objects /Unix Services

              What could be issue?

              • 4. Re: Difference in Discovery & Compliance job results
                Bill Robinson

                so when you live browse the EO on the target server (solaris) you get an error?  or no results?  or you see other services and not the rscd service?

                 

                the EO is a script, open the script and see how it's collecting the services information and try running that on the server manually - maybe there is error or bad logic in the script.

                • 5. Re: Difference in Discovery & Compliance job results
                  Sudhir More

                  Thanks Bill.

                   

                   

                   

                  When I do live browse I am geeting results & no error msg.

                   

                  But on some servers its correctly showing in live browse but on some servers not.

                   

                  I am able to see other services on such servers.

                   

                   

                   

                  srm

                   

                   

                   

                  On Mon, 28 Nov 2011 17:19:38 +0530  wrote

                   

                                                                                                  BMC Communities

                   

                                                           

                   

                   

                   

                                                      

                   

                                                      

                   

                                                           

                   

                  Thread: "Re: Difference in Discovery & Compliance job results"

                   

                   

                   

                   

                   

                   

                  created by Bill Robinson in BMC BladeLogic Server Automation - View the full discussion

                   

                   

                   

                        

                   

                       so when you live browse the EO on the target server (solaris) you get an error?  or no results?  or you see other services and not the rscd service?

                   

                   

                   

                  the EO is a script, open the script and see how it's collecting the services information and try running that on the server manually - maybe there is error or bad logic in the script.

                   

                   

                        

                   

                                  

                   

                   

                                 Previous message from

                   

                                   srm srm

                   

                                 :

                   

                   

                                  

                   

                                 Thanks Rohit,

                   

                   

                   

                  My discovery signature is:

                   

                   

                   

                  "Extended Object Entry:Unix Services//rscd" exists

                   

                   

                   

                   

                   

                  and Compliance signature is:

                   

                   

                  if"Extended Object Entry:Unix Services//rscd" exists

                   

                  then

                   

                  "Extended Object Entry:Unix Services//rscd"."Value1 as String (All OS)" = "Enabled"

                   

                  end

                   

                   

                   

                   

                   

                  One strange thing what I observed is for some solaris servers, eventhough rscd agent is running and I am able to connect to server, it is not showing under live browse Extended Objects /Unix Services

                   

                   

                  What could be issue?

                   

                   

                                  

                   

                                  

                   

                   

                                 Previous message from

                   

                                   Rohit Nayyar

                   

                                 :

                   

                   

                                  

                   

                                 What is your discovery signature ? It depends a lot on your discovery signature,  the discovery job can succeed if your disocvery signature is something which do not need to conact the agent at all and such it will succeed for un-reachable dormant targets as well.

                   

                   

                                  

                   

                                  

                   

                   

                                 Previous message from

                   

                                   Scott Dunbar

                   

                                 :

                   

                   

                                  

                   

                                 A discovery job will only meet the conditions defined in the 'Discovery' tab of the CT

                   

                   

                   

                  A compliance job can only run against components that are registered successfully from a discovery job, AND THEN it checks for the conditions you have specified in the compliance tab.  - so your discovery job is perhaps not doing what you think its doing.

                   

                   

                   

                  HTH

                   

                   

                                  

                   

                                  

                   

                   

                                 Previous message from

                   

                                   srm srm

                   

                                 :

                   

                   

                                  

                   

                                 Hi All,

                   

                   

                   

                  I have created component template to check rscd service on solaris servers.

                   

                   

                   

                  I observed that when I execute discovery job using template against Solaris servers group it shows 111 success count

                   

                   

                   

                  While if I execute Compliance job using same template & against same Solaris group it shows 107 successes & 4 faiulres ( Which is correct one as 4 servers are not reachable)

                   

                   

                   

                  My Confusion is 

                   

                   

                   

                  Does discovery job connects to all servers in group for component discovery?

                   

                  If yes why it is showing as success for 4 servers which are not at all reachable?

                   

                   

                   

                  Thanks,

                   

                  srm

                   

                   

                                  

                   

                   

                   

                        

                   

                   

                   

                       Reply to this message by replying to this email -or- go to the message on BMC Communities

                   

                       Start a new discussion in BMC BladeLogic Server Automation at BMC Communities

                                                                                                  >Thank you for your participation on BMC Communities.

                  • 6. Re: Difference in Discovery & Compliance job results
                    Bill Robinson

                    Can you see the service on some solaris servers or no solaris servers?

                     

                    If you see the service on some servers but not others, check the user you are mapped to on those servers.