Skip to content

30codeway/salt-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#salt dashboard

salt-dashboard is based on salt-client,and use mysql returner as result backend


#1:returner:

salt mysql returner

add time to salt_returns:

alter table salt_returns add time timestamp;

the auth sql like this:

grant all on salt.* to 'salt'@'localhost' identified by 'salt';

there is a bug when schedule use mysql return,fixed by this schedule return by mysql

#2:scheduler:

/srv/pillar/top.sls
base:
  "*":
    - schedule

/srv/pillar/schedule.sls

schedule:
  highstate:
    function: state.highstate
    minutes: 30
    returner: mysql

then waiting minions update scheduler info by himself or run this command:

salt '*' saltutil.refresh_pillar

#3:salt-dashboard this dashboard is based on django+bootstrap+amcharts

demo screen like this: here just on minion, so is seems very simple

index minions execute

About

dashboard for saltstack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published