SaltStack - Viewing output
-
For those of you who use SaltStack, What is your preferred method of viewing the output from your minions.
A simple example:
Let's say I want to check the disk space quickly on 100 servers, and then view the output in a readable format. What method do you use to do this? Eventually, I would like to build a simple web interface to view information/results from minions. But for now, if I would just want to do this through the CLI on the Master, and then view the results in a file, what would be the best way to accomplish this?
-
Once a while I use this command for space usage on Windows machines.
sudo salt -G os:Windows disk.usage > windows_disk_usage.txt
-
@fuznutz04 said in SaltStack - Viewing output:
For those of you who use SaltStack, What is your preferred method of viewing the output from your minions.
A simple example:
Let's say I want to check the disk space quickly on 100 servers, and then view the output in a readable format. What method do you use to do this? Eventually, I would like to build a simple web interface to view information/results from minions. But for now, if I would just want to do this through the CLI on the Master, and then view the results in a file, what would be the best way to accomplish this?
I don't use SaltStack for that purpose. I would only involve that in a state for example if I want to do something to all minions with x size hdd or with x free space.
For fleet monitoring we use KACE. Config management and such, SaltStack.
-
@black3dynamite That's simple enough and almost the same as what I was doing. I was using the --out-file option.
-
@Obsolesce said in SaltStack - Viewing output:
@fuznutz04 said in SaltStack - Viewing output:
For those of you who use SaltStack, What is your preferred method of viewing the output from your minions.
A simple example:
Let's say I want to check the disk space quickly on 100 servers, and then view the output in a readable format. What method do you use to do this? Eventually, I would like to build a simple web interface to view information/results from minions. But for now, if I would just want to do this through the CLI on the Master, and then view the results in a file, what would be the best way to accomplish this?
I don't use SaltStack for that purpose. I would only involve that in a state for example if I want to do something to all minions with x size hdd or with x free space.
For fleet monitoring we use KACE. Config management and such, SaltStack.
KACE.... Are you referring to the Quest brand?
-
@fuznutz04 said in SaltStack - Viewing output:
@Obsolesce said in SaltStack - Viewing output:
@fuznutz04 said in SaltStack - Viewing output:
For those of you who use SaltStack, What is your preferred method of viewing the output from your minions.
A simple example:
Let's say I want to check the disk space quickly on 100 servers, and then view the output in a readable format. What method do you use to do this? Eventually, I would like to build a simple web interface to view information/results from minions. But for now, if I would just want to do this through the CLI on the Master, and then view the results in a file, what would be the best way to accomplish this?
I don't use SaltStack for that purpose. I would only involve that in a state for example if I want to do something to all minions with x size hdd or with x free space.
For fleet monitoring we use KACE. Config management and such, SaltStack.
KACE.... Are you referring to the Quest brand?
Yeah, but we also use it for other things, such as the Service Desk. IMO we could do without it because it does so much more than we are using it for. Basically service desk and a tool to see a highly detailed inventory of all PCs. Which really, ESET is doing now too... can SodiumSuite hurry up?
We have all Dells, which KACE works very well with. That's the main motivator at this point to keep using it.
-
@fuznutz04 said in SaltStack - Viewing output:
For those of you who use SaltStack, What is your preferred method of viewing the output from your minions.
A simple example:
Let's say I want to check the disk space quickly on 100 servers, and then view the output in a readable format. What method do you use to do this? Eventually, I would like to build a simple web interface to view information/results from minions. But for now, if I would just want to do this through the CLI on the Master, and then view the results in a file, what would be the best way to accomplish this?
Usually the commands can have output support outside of saltstack, like systeminfo and exporting to csv, simply save it somewhere and thats it. Keep up posted on the web interface progress. Sounds like a good idea
-
When I used Puppet, I used Foreman and it would store Facts for viewing. Supposedly Foreman can also be used with Salt, but I hadn't tried it. If I ever am able to run Salt in production again I will be looking into it.
-
Disclaimer: I've never implemented or used SaltStack at all.
But what I know of it, I would treat it similar to Group Policy. Not really meant to give information back. Just a state and configuration management system.
-
@NerdyDad said in SaltStack - Viewing output:
Disclaimer: I've never implemented or used SaltStack at all.
But what I know of it, I would treat it similar to Group Policy. Not really meant to give information back. Just a state and configuration management system.
Agreed. I'm not looking to use it for advanced monitoring, only basic disk usage, etc.