If you want automatically add “automatic” services to ntservices probe
You can use the below key.
<setup>/auto_detect_new = yes
If you wanted to do this via MCS then you need to run a couple of queries to update/insert rows in the database, for that template...
You need to update the setup_ntservices template so that the default value is set to yes for delete_profile_section
update SSRV2Field set defaultvalue = 'yes' where cfgkey = '/setup/delete_profile_section' and template = (select templateId from SSRV2Template where templateName = 'Setup ntservices' and production = 1)
And add a dropdown value for the "active" field on the template
insert into SSRV2SelectOption values('Automatic', 'automatic', (select id from SSRV2Field where cfgkey = '/setup/default/active' and template = (select templateId from SSRV2Template where templateName = 'Setup ntservices' and production = 1)))
After that, bounce the mon_config_service and restart the USM webapp (in the ump wasp gui)
The login to UMP/MCS and select setup_ntservices.
Check the "automatically add new services"
Select "expected state" to Automatic
This will monitor all automatic services on hosts in that group.
btw you could change the "automatic" value with "running" if you so desire.
Note: if you reinstall the product with a clean database you will need to rerun these queries.
Big Thanks ! Rowan.
When I told you that little top tip, I later found out it wasn't quite the whole story
You need a few more keys than that single one!
Put the following in a package, deploy to clean ntservices probe and it will work a treat – automatically monitor all your services which are set to ‘automatic'
auto_detect_new = yes
delete_profile_section = yes
active = automatic
action = report
qos = no
subsystem = 184.108.40.206
severity = major
alarm_on_action = yes
Needless to say this isn't documented anywhere and has taken me several hours of trial and error and testing to get this!!
A true Top Tip !