Can Solarwinds send out OS commands in batch & collect back the outputs in a single file?

sunhux
sunhux used Ask the Experts™
on
Appreciate step by step guide on how we can use Solarwinds to

a) issue commands in batch (ie to all the hundreds of servers & Cisco devices)
    & collect back the outputs all in one file   : I used to have one HP central management tool that could do this

b) the OS commands I plan to send out are:
   Windows are :  "hostname; wmic qfe list"
   Solaris are     :  "uname -a; showrev -p"
   Cisco are       :  "hostname; show ver"

Our MS SCCM is used for PCs only so can't use it
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Exchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1
Commented:
Which version of solarwinds are you planning to use?

Windows command is easy to send many options from scheduled tasks, to remote command execution, running logon script, startup script really endless options here.

Solaris not sure how to do this on Solaris although I know cron might be helpful on that

Cisco Have you thought about using PRTG for this? might work for all three, I prefer PRTG to Solarwinds too.

Author

Commented:
Our policy is not to use Opensource, so PRTG is out.

Stick with Solarwinds, we're on Solarwinds System Management Ver 10: so can we send OS commands to a list of hundreds of servers & then gather the output in one file?
If you have the SAM module, you can do this with a "script" component. The high-level process is
  1. write a script that does whatever you need it to do
  2. output 3 values:
    1. an "exit" value (0 for good, 1 for bad)
    2. "Value=" and the numeric statistic
    3. "Status=" and the label for that value
You can output those values in any order you want (well, the exit code should come last, obviously).

Once you have that concept down, then to do MULTIPLE outputs in a single script, you just number the value and status items:
value1=<number>
status1=<label>
value2=<number>
status2=<label>
value3=<number>
status3=<label>
...etc...

Let me know if that helps.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial