New in version 2014.7.0.
Server Density Is a hosted monitoring service.
Warning
This state module is beta. It might be changed later to include more or less automation.
Note
This state module requires a pillar for authentication with Server Density To install a v1 agent:
serverdensity: api_token: "b97da80a41c4f61bff05975ee51eb1aa" account_url: "https://your-account.serverdensity.io"
To install a v2 agent:
serverdensity:
api_token: "b97da80a41c4f61bff05975ee51eb1aa"
account_name: "your-account"
Note
Although Server Density allows duplicate device names in its database, this module will raise an exception if you try monitoring devices with the same name.
Example:
'server_name': serverdensity_device.monitored
Device is monitored with Server Density.
True (default), takes the name from the id grain. If False, the provided name is used.True (default), needed config parameters will be sourced from grains and from status.all_status.Usage example:
'server_name': serverdensity_device.monitored
'server_name':
serverdensity_device.monitored:
- group: web-servers 'my_special_server':
serverdensity_device.monitored:
- salt_name: False
- group: web-servers
- cpuCores: 2
- os: '{"code": "linux", "name": "Linux"}'
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.serverdensity_device.html