-
1. Re: disable Service restart in BBPM
Pankaj Jadhav Sep 9, 2014 11:04 AM (in response to KaY !)Hi Kar Y,
Can you please let us know is data collection happening using patrol agent?
Regards,
Pankaj J
-
2. Re: disable Service restart in BBPM
Garland Smith Sep 9, 2014 11:05 AM (in response to Pankaj Jadhav)From what I gather from reading the previous post, it sounds like they are using PATROL to monitor Windows Services and want to find out whether it’s possible to configure Windows Service monitoring in PATROL (the specific question relates to configuring PATROL so that it doesn’t restart services) from a policy in Central Monitoring Administration and if so, how to go about doing that.
Garland Smith
-
3. Re: disable Service restart in BBPM
Prasoon Suresh Sep 9, 2014 11:24 AM (in response to KaY !)Hi Karthik,
In this specific case, if you have selected Disable Automatic Restart in the policy, please check the following:
1. Does this policy have the highest precedence among the Windows Services policies? Coz the global values set in the first policy takes precedence over rest of the policy changes. If it does not have the highest precedence then create a Windows Services policy or edit a higher precedence Windows Services policy and set the Disable Automatic Restart option.
2. If the policy has highest precedence and Disable Automatic Restart option is set too, have you selected Restart service when stopped option for individual services being monitored? Clear it if selected.
3. If none of the above mentioned steps solve it, please check the Recovery settings for the services in the Windows operating system.
-Prasoon
-
4. Re: disable Service restart in BBPM
KaY ! Sep 9, 2014 1:34 PM (in response to Prasoon Suresh)Hi Suresh,
thanks for the reply. I already did check first two options before posting the question here. Can you tell me where can I check the recovery settings in the windows OS.
-
5. Re: disable Service restart in BBPM
KaY ! Sep 9, 2014 1:37 PM (in response to Pankaj Jadhav)Hi Pankaj, please let me know where do i I check if it is collecting the data. I am getting events that the service is stopped, I can see graphical view of service etc( is this the data collection)
-
6. Re: disable Service restart in BBPM
KaY ! Sep 9, 2014 1:42 PM (in response to Garland Smith)Hey Smith,
We are using BPPM to monitor windows servers. I deployed Windows server KM and agent in the target windows server. When the service is stopped, BPPM gets the event that the service is stopped and the service is started automatically. This happens for all the services. While creating the monitoring policy I did check do not restart service and did not check auto restart service when stopped.
Thanks,
Karthik
-
-
8. Re: disable Service restart in BBPM
KaY ! Sep 18, 2014 10:02 PM (in response to KaY !)I added these lines in the Site_Role and Primary_Site_Role cfg files in that target host. But still the service gets restarted.
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/DisableServiceRestart" = { REPLACE = "1" },
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/W32Time/Alarm" = { REPLACE = "0" },
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/W32Time/AutoRestart" = { REPLACE = "1" },
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/W32Time/Monitor" = { REPLACE = "0" },
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/W32Time/child_list" = { REPLACE = "" },
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/W32Time/variable_list" = { REPLACE = "Alarm,AutoRestart,Monitor" },
-
9. Re: disable Service restart in BBPM
sriram iyer Sep 19, 2014 3:45 AM (in response to KaY !)1 of 1 people found this helpfulHi Kay,
Apply the following rule :
To deactivate a particular service, set the value of the corresponding bit to 0 in the below ruleset :
/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/ServiceName/SvcConfigVars" = {REPLACE = "0,0,0,0,0,0,0,0,0"}
The comma separated values correspond to the variables in the order as mentioned above.Service Startup Type configuration variable has to be applied along with “SvcConfigVars” variable to override
default monitoring./PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/ServiceName/StartupTypeValue = “Automatic” / “Manual” /“Disabled” (startup type Service).
You can refer to the MS Windows Getting started Guide . Refer to page no : 110 and 218
Thanks
Sriram Iyer
-
10. Re: disable Service restart in BBPM
KaY ! Sep 19, 2014 9:32 AM (in response to sriram iyer)Hi Sriram,
Do I need patrol console to configure these variables or can I directly enter them in the cfg files Site_Role and Primary_Site_Role rulesets.
-
11. Re: disable Service restart in BBPM
sriram iyer Sep 19, 2014 10:36 AM (in response to KaY !)Hello Kay,
You can directly add them in the cfg files Site_Role and Primary_Site_Role rulesets.
If you have PCM you can add them through PCM also .
Also want to check if you are using CMA for patrol agent 9.5.01
Regards
Sriram Iyer
-
12. Re: disable Service restart in BBPM
KaY ! Sep 19, 2014 11:00 AM (in response to sriram iyer)Yes I did add them in the cfg files, but not change in the result.
This is what I added in the cfg files. Also we are using 9.5 Sp1 BPPM version
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/Tomcat6/SvcConfigVars" = {REPLACE = "0,0,1,1,0,1,0,1,0"}
"/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/ServiceList/Tomcat6/StartupTypeValue" = "Manual"
-
13. Re: disable Service restart in BBPM
sriram iyer Sep 19, 2014 4:28 PM (in response to KaY !)Hello Kar,
Please send us the patrol config :
pconfig +get > c:\temp\config.txt
pconfig +get +D > c:\temp\configdefault.txt
Thanks
Sriram Iyer
-
14. Re: disable Service restart in BBPM
Ganesh Suresh Sep 22, 2014 8:08 AM (in response to KaY !)Hi Kay,
It's good to avoid PCM usage as much as you can!! BMC say's not me
Try this on BPPM CMA:-
Create one Monitoring policy with lowest precedence value as bellow.
3. Change the agent selection criteria as per your needs
Add this on Configuration variables
/PSX__P4WinSrvs/PWK__PKMforMSWinOS_config/ServiceMonitoring/DisableServiceRestart
set to 1.
Re-do the test and let us know the results.
Thanks,
Ganesh