Skip to content

Instantly share code, notes, and snippets.

@Northwood128
Created April 19, 2016 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Northwood128/30a4bf56dfc32cafd056f6688551e1a3 to your computer and use it in GitHub Desktop.
Save Northwood128/30a4bf56dfc32cafd056f6688551e1a3 to your computer and use it in GitHub Desktop.
[ec2-user@salt ~]$ sudo salt 'sensuserver' state.apply sensu
sensuserver:
----------
ID: sensu-config
Function: file.managed
Name: /etc/sensu/config.json
Result: True
Comment: File /etc/sensu/config.json is in the correct state
Started: 17:11:39.588307
Duration: 13.765 ms
Changes:
----------
ID: sensu-conf-dir
Function: file.recurse
Name: /etc/sensu/conf.d
Result: True
Comment: The directory /etc/sensu/conf.d is in the correct state
Started: 17:11:39.602208
Duration: 28.197 ms
Changes:
----------
ID: sensu
Function: service.running
Result: False
Comment: The following requisites were not found:
watch:
file: /etc/sensu/conf.d/*
Started:
Duration:
Changes:
Summary for sensuserver
------------
Succeeded: 2
Failed: 1
------------
Total states run: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment