Command Scanning Profiles

Comments

4 comments

  • Brigg Angus

    Hi Mmuni,

    Would you provide a use-case particular to your environment, or one more general? The more specific the example, the better.

    0
    Comment actions Permalink
  • Michael Muni

    Lets say I wanted to scan for a computers hard drive S.M.A.R.T status. Right now I have it setup to run a script I created that checks the status and in order to get that status back into inventory, I have to output the status to a text file, but inventory scans cant read text file contents so I have to also make the script rename the text file so that I can then have a custom scan pick up the filename.

     

    It would be a much smoother process If I could have a custom scan execute a script and then store the returned value/error code/or string to a custom field. I could then just have a S.M.A.R.T field for each computer with the status. This would be sort of like what you already do with the command steps by returning a log. When ever a step fails I check the log thats returned, can't you do the same and use what's returned as the value for a custom field?

     

    This is just one example, but you could do pretty much anything with a command step and have your code return whatever you want stored.

     

     

    0
    Comment actions Permalink
  • Michael Muni

    just a little more details. Right now my S.M.A.R.T scan is a two step process. I first have to deploy the command step that does everything. And I then have to run a scan profile later to pick up the results. The results are also limited right now to just the filename where you could do more if the scan profile just ran the command and logged whatever was returned to it.

    0
    Comment actions Permalink
  • Brigg Angus

    To provide an update, Mmuni, this has been submitted as a feature request. No information on when (or if) it will be implemented is available yet. Feel free to check back and I'll provide any information available on the status of that request.

    0
    Comment actions Permalink

Please sign in to leave a comment.