To: | Tivoli NetView Discussions <nv-l@lists.ca.ibm.com> |
---|---|
Subject: | Re: [NV-L] NV 7.1.4 AIX--advice on ksh nmdemandpoll script--coprocessing |
From: | Leslie Clark <lclark@us.ibm.com> |
Date: | Thu, 19 Oct 2006 09:15:39 -0400 |
Delivery-date: | Thu, 19 Oct 2006 14:19:08 +0100 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
In-reply-to: | <714EFC7999B7A640A33F0A9E5D889512028141A4@uscnt0495.us.deloitte.com> |
List-help: | <mailto:nv-l-request@lists.ca.ibm.com?subject=help> |
List-id: | Tivoli NetView Discussions <nv-l.lists.ca.ibm.com> |
List-post: | <mailto:nv-l@lists.ca.ibm.com> |
List-subscribe: | <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe> |
List-unsubscribe: | <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe> |
Reply-to: | Tivoli NetView Discussions <nv-l@lists.ca.ibm.com> |
Sender: | nv-l-bounces@lists.ca.ibm.com |
I think one of the netmon action commands (netmon -a xx ) might produce that list in netmon.trace. Check the man page for netmon. Cordially, Leslie A. Clark IT Services Specialist, Network Mgmt Information Technology Services Americas IBM Global Services (248) 552-4968 Voicemail, Fax, Pager
Hi all, Our DNOC needs a report that shows what IP addresses are managed via SNMP query versus ping. I searched the archives and it appears one can't get this report using nvdbformat--isSNMPSupported is not an accurate indicator. So, I'm getting the list of IP's that match isSNMPSupported=TRUE from nvdbformat, then feeding the list into `ndmdemandpoll $hostname |grep "Get SNMP status"`. This will do the job, but we all know nmdemandpoll kills CPU if it takes any time at all to run. I have 1500 addresses to cycle through. So, I figure I can kill nmdemandpoll if it's going to take longer than 15 seconds to finish, log the IP address that needed to be killed, then go back to the loop. No problem, except I'm a novice ksh scripter, and having trouble with co-processes (required to watch the nmdemandpoll PID because nothing will occur until nmdemandpoll finishes, right?). If someone can help me with the logic, I'll post the whole smash for everyone to use when it's finished. This works fine, just takes forever, and sends uptime values skyward. It sets off NetIQ alerts for CPU utilization. # Read in IP address list from
NVout.report while read ipAddress
Many thanks in advance to anyone with advice on how to finish this one off. --Drew
Drew Van Order
_______________________________________________ NV-L mailing list NV-L@lists.ca.ibm.com Unsubscribe:NV-L-leave@lists.ca.ibm.com http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to internal IBM'ers only) |
Previous by Date: | Fw: [NV-L] NV 7.1.4 AIX--advice on ksh nmdemandpoll script--coprocessing, Francois Le Hir |
---|---|
Next by Date: | [NV-L] Loading Mibs, mikemillion2000 |
Previous by Thread: | Re: [NV-L] NV 7.1.4 AIX--advice on ksh nmdemandpoll script--coprocessing, Francois Le Hir |
Next by Thread: | RE: [NV-L] NV 7.1.4 AIX--advice on ksh nmdemandpollscript--coprocessing, Van Order, Drew \(US - Hermitage\) |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web