/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Using kbox to find configurations

07/24/2015 1683 views
Is there an easy way to send a command to our servers to KACE and have the information reported back into the activity logs?  For example:

 cat /etc/yum.conf

I tried this command and it works, but of course the data I'm needing isn't in the activity logs.

-Thanks
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

2
Assuming the servers have an agent installed, you should be able to use a custom inventory rule for this.  Create a software inventory item for this and add this to the custom inventory field:

ShellCommandTextReturn(cat /etc/yum.conf)

Once the client system inventories, you should see the results under the Custom Inventory Field section.
Answered 07/25/2015 by: jknox
Red Belt

All Answers

0
You can also have KScripts upload files to the KBox. You could create a script that verifies the file exists and then uploads it to the server. The disadvantage here is that you can't report on the contents of the file.

Answered 07/27/2015 by: chucksteel
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ