Unsolved
This post is more than 5 years old
2 Posts
0
471
December 15th, 2009 17:00
Generate SMARTS Discovery Report
Hi
I would like to generate a health report on the Smarts Discovery to identify
1. What is the current status of the domain?
2. When was the last discovery completed?
3. What are the devices in the Pending Discovery?
5. What is the status of Availability and Performance polling?
6. Is discovery enabled and running on a domain or not?
In our environment we have them on the UNIX platform. Where do we need to define them and how to we do it ?
Thanks,
Justin
No Events found!
kelvinn1
8 Posts
0
December 20th, 2009 16:00
Lam:
I'll try to answer your questions as to what I might do, and with the answers I know off the top of my head. I'd setup a small bash script that appends various commands to a temp txt file, then maybe email that to the respective parties.
1. What is the current status of the domain?
You could use a "brcontrol" and "sm_service show"
2. When was the last discovery completed?
You could try something like this:
dmctl> attach INCHARGE-SA
dmctl> get InChargeDomain::InChargeDomain_INCHARGE-ACM::LastTopoSyncEndedAt
3. What are the devices in the Pending Discovery?
5. What is the status of Availability and Performance polling?\opt\InCharge7\IP\smarts\bin\sm_tpmgr --server=INCHARGE-AM-PM --status
Note: --status will also give what's on the pending list.
6. Is discovery enabled and running on a domain or not?