Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identify and report all BackupExec servers

Status
Not open for further replies.

skar

MIS
Mar 21, 2001
37
GB
Hi all,

I've been tasked to write a script that will check servers (Microsoft) and report back the following if it IS running Backup Exec. If its not then just skip it.

Platform NT, 2000 etc...
Version of Backup Exec
If its running RemoteAgent or has its own Tape Drive

90% of this I'm quite happy with. But I'm a bit stuck with getting information back about the tape drive. Can anyone help with the logic for this? Or even a snippit of code? Point me in the right way.

TIA
 
I'm no Microsoft expert but if you shared the drives on the servers you could list all shares on each with smbclient and check for a recognised name. It would, however, require the share to be set up in a standard way and I guess if you could mandate that then you wouldn't need to be querying capabilities remotely.

just a thought...

f

"As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilkes
 
Hmmmm... snmp... I'll have a look and let you know. Cheers!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top