KACE SMA custom inventory rules.
Is there a place where people share their custom inventory rules? I am interested in playing with this feature but I don't want to reinvent the wheel yet. #lazy?
Answers (3)
Since you can do _ANYTHING_ with CIR (some are easy, some really complex containing a MI/FS and running a script regulary) it may not be a good idea.
If you have a pain point right now it may be more interesting how people solved it.
This can go from an easy CIR which checks the type of the device (I use it for labels for workstations, servers and domain controllers)
ShellCommandTextReturn(cmd /c net accounts|findstr Computer)
over slightly more complex ones like checking the install date by reviewing the date of the SDA deployment file (I use it for a label for newly installed machines to install initial software)
FileInfoReturn(C:\ProgramData\Dell\KACE\k2000_deployment_info.conf, CreatedDate, DATE) OR FileInfoReturn(C:\ProgramData\Quest\KACE\k2000_deployment_info.conf, CreatedDate, DATE)
to very complex stuff like (I don't post it here, since it contains too many stuff)
Install SmartCtl
Run a short run regulary using the scripting module
Query the results from the results db
(since this is different for any workstation/server, some have 1 hdd, some more, some raid controllers, different OS, most of my servers are Linux systems etc it would be a longer way to describe and why I chose which way)
You may want to attend a KACE Kontinuing Education (KKE) open session. There is one scheduled for 4/17 for which you can schedule yourself.