Skip to content

Instantly share code, notes, and snippets.

@headmin
Last active November 29, 2016 20:46
Show Gist options
  • Save headmin/52eac417127c83e592ff75485782e332 to your computer and use it in GitHub Desktop.
Save headmin/52eac417127c83e592ff75485782e332 to your computer and use it in GitHub Desktop.
example full base.json with extra links and integration examples for inventory Watchman, JAMF Pro, Sal and actions for Mattermost, Slack Pushover, Twilio/SMS, Zendesk, Trello
{
"extra_links": [
{"anchor_text": "JAMF Pro",
"url": "https://jamf-pro.example.org.de:8443"},
{"anchor_text": "Kibana",
"url": "https://zentral.example.org/kibana/"},
{"anchor_text": "Prometheus",
"url": "https://zentral.example.org/prometheus/"},
{"anchor_text": "Watchman",
"url": "https://example.monitoringclient.com"},
{"anchor_text": "Sal",
"url": "https://sal.example.org"},
{"anchor_text": "Munki Report PHP",
"url": "https://munkireport.example.org"},
],
"apps": {
"zentral.contrib.zendesk": {},
"zentral.contrib.santa": {},
"zentral.contrib.osquery": {},
"zentral.contrib.munki": {},
"zentral.contrib.jss": {},
"zentral.contrib.inventory": {
"prometheus_push_gateway": "prompg:9091",
"clients": [
{
"api_key": "ZUS25-k25363TsuawP24qr6at-UT_qshqie52s82n3nadn619yaknE",
"account": "example_watchman_account",
"backend": "zentral.contrib.inventory.clients.watchman"
},
{
"password": "password_here",
"user": "readapi",
"path": "/JSSResource",
"port": "8443",
"host": "jamf-pro.example.org",
"backend": "zentral.contrib.inventory.clients.jss"
},
{
"private_key": "zw3831813z81badbqw873478raoinasiowi32ir3932h9qfd923%72heqna9282h",
"public_key": "zadq512173zadb282z4",
"secure": false,
"host": "sal.example.org",
"backend": "zentral.contrib.inventory.clients.sal"
}
]
}
}
},
"actions": {
"mattermost_jamf": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://mattermost.example.org/hooks/2642148zdabaDAudg73g42g4288"
},
"mattermost_munki": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://mattermost.example.org/hooks/2aszs148zdabaDAudg73g236aad"
},
"mattermost_osquery": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://mattermost.example.org/hooks/sf2647284eosgdjow428hi7nr56"
},
"mattermost_santa": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://mattermost.example.org/hooks/34sfsrweosF428hi7nr56GDGEWR"
},
"mattermost_watchman": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://mattermost.example.org/hooks/sf2sasffjow428hiew345235adf"
},
"slack_alerts": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://hooks.slack.com/services/ZWTQ52632/HQZWosSPR/badwqwiAqxNqeFORfrwe314a"
},
"slack_team": {
"backend": "zentral.core.actions.backends.slack",
"webhook": "https://hooks.slack.com/services/ZWTQ52632/HaddwsSf2/sfsfjIxvqgdg9O6dsffee5eC"
},
"machine_tag": {
"backend": "zentral.contrib.inventory.actions.machine_tag"
},
"pushover": {
"backend": "zentral.core.actions.backends.pushover",
"token": "wewqe3254L2Nrq7etwrdwrw44qeUw4232"
},
"sms": {
"backend": "zentral.core.actions.backends.twilio",
"from_number": "zentral",
"account_sid": "ZQWTEondq72z38q3nsp0i23024",
"auth_token": "6dasni721fe640ad2384nakdndakadnf"},
"inventory_group": {
"backend": "zentral.contrib.inventory.actions.add_machine_to_group"
},
"ticket": {
"backend": "zentral.contrib.zendesk.actions.ticket",
"subdomain": "example-helpdesk",
"email": "name@example.org",
"token": "safh38234adsnsfknegswt430mfsafatwboi3a",
"tags": ["Zentral"]
},
"trello": {
"backend": "zentral.core.actions.backends.trello",
"application_key": "1311308sfsaf11952793423dbadi",
"token": "sfsfkfs6sqj319rnaldjwirh294uonoefon34ot5oasci12gub",
"default_board": "zentral_events",
"default_list": "new issues"
},
"debug": {
"local_dir": "/tmp/zentral_notifications/",
"backend": "zentral.core.actions.backends.json_file"
}
},
"processor_workers": {
"prometheus_server_base_port": "8100",
"number": 1
},
"stores": {
"elasticsearch": {
"kibana_base_url": "https://zentral.example.org/kibana/",
"index": "zentral-events",
"servers": [
"http://elastic:9200"
],
"backend": "zentral.core.stores.backends.elasticsearch",
"frontend": true
}
},
"queues": {
"backend": "zentral.core.queues.backends.kombu",
"backend_url": "amqp://guest:pass@rabbitmq:5672//"
},
"django": {
"ALLOWED_HOSTS": [
"zentral.example.org"
],
"DEFAULT_EMAIL": "default@example.org",
"SERVER_EMAIL": "server@example.org",
"MEDIA_ROOT": "/var/zentral",
"ADMINS": [
[
"John Doe",
"john.doe@example.org"
]
],
"DEBUG": true,
"SECRET_KEY": "ashidsaihfsaihfz236423zrasdkalwhfqiot3hi23ihotiwetbiesfboisebiovib9248h23h98th8924t89wfbasfoifbi239rt894t89383r2tnowenfewegg"
},
"api": {
"secret": "TWGdbdwi2w8rHSHI2zszs2942uSJJDoqd5355nSzHWNQOIihdbwoSwiqE939u2undond03j2nsoapaNSIOWNsjajdow3723u4dsndo2eh2929bnSkqlIsnand9wr099923b",
"tls_hostname": "https://zentral.example.org",
"tls_server_certs": "/zentral/conf/tls/zentral.example.org.crt"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment