ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    SaltStack - Viewing output

    IT Discussion
    saltstack
    6
    10
    887
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AdamFA
      AdamF
      last edited by

      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?

      ObsolesceO Emad RE 2 Replies Last reply Reply Quote 3
      • black3dynamiteB
        black3dynamite
        last edited by

        Once a while I use this command for space usage on Windows machines.

        sudo salt -G os:Windows disk.usage > windows_disk_usage.txt

        AdamFA 1 Reply Last reply Reply Quote 3
        • ObsolesceO
          Obsolesce @AdamF
          last edited by

          @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.

          AdamFA 1 Reply Last reply Reply Quote 2
          • AdamFA
            AdamF @black3dynamite
            last edited by

            @black3dynamite That's simple enough and almost the same as what I was doing. I was using the --out-file option.

            1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF @Obsolesce
              last edited by

              @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?

              ObsolesceO 1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @AdamF
                last edited by Obsolesce

                @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.

                1 Reply Last reply Reply Quote 0
                • Emad RE
                  Emad R @AdamF
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 1
                  • F
                    flaxking
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • NerdyDadN
                      NerdyDad
                      last edited by

                      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.

                      AdamFA 1 Reply Last reply Reply Quote 1
                      • AdamFA
                        AdamF @NerdyDad
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post