Configuration Options for ServiceNow CMDB Tags

By default, the Machine Agent does not collect the ServiceNow CMDB tags even when the tag collection is enabled at a global level. To enable the CMDB tags collection:

  1. Edit the <machine_agent_home> /extensions/ServerMonitoring/conf/ServerMonitoring.yml file.
  2. Under the serviceNowTagsConfig: section enabled: "true".
  3. Specify the required OAuth token authentication details and the OAuth URL to query the ServiceNowcmdb_ci_server table.
CODE
//ServerMonitoring.yml
serviceNowTagsConfig:
# the enabled flag, by default this is false, set to true to enable this tags extension
enabled: false
# update interval in milliseconds, minimum is 300,000 or 5 minutes, recommended(default) 1200000 or 20 minutes
samplingInterval: 1200000
oauthURL: "https://< site >/v1/auth/token"
clientId: "your client id"
clientSecret:
encrypted: false
value: "your client secret"
clientScope: "the client scope"
cmdburl: "https://< service now cmdb host >/now/table/cmdb_ci_server"
# only override the hostname if the hostid does not match what is in the cmdb
#hostname: "over ride host name"