Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

salt-observer

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tim Fechner authored
    9b4be12a
    History

    salt-observer python version build status

    Web interface to visualize most of the data your installed SaltStack installation provides.

    Written in python, with the help of django.

    Primary source and issue tracking

    The source of this project is hosted on lab.it.hs-hannover.de.
    Issues and further documentation can be found there.

    Development

    A complete list of the Minion.data json structure can be found here in the wiki.

    # get output of 'w' command of all 'tgt' minions
    request('token', {'tgt': '*', 'fun': 'cmd.run', 'arg': 'w'})
    
    # get all grains of 'tgt' minions
    request('token', {'tgt': '*', 'fun': 'grains.items'})
    
    # execute some state and apply custom pillars to it
    request('token', {'tgt': '*', 'fun': 'state.sls', 'kwarg': {
        'mods': 'name_of_state', 'pillar': {'some': 'pillar_data'}
    }})