nv-l
[Top] [All Lists]

[nv-l] SNMP on Solaris

To: <nv-l@lists.us.ibm.com>
Subject: [nv-l] SNMP on Solaris
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Mon, 10 Nov 2003 10:58:40 -0600
Delivery-date: Mon, 10 Nov 2003 17:08:41 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcOlPXZ637wkLmXzRZe6buU7uKBzgAAGQYogAABrg+AAlMjCsA==
Thread-topic: [nv-l] Inventory
I am having trouble walking the ibm mib on all my Solaris Netview machines. I 
have verified all known configuration issues. The /var/adm/messages shows this 
message:

Nov 10 23:12:03 ntv-denver02 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] 
session_send_loopback_request() failed
Nov 10 16:12:52 ntv-denver02 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] 
agent_process(): unauthorized manager (ntv-cambridge02.)
Nov 10 16:12:52 ntv-denver02 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] 
local pdu process error

When I walk the boxes, the MIB2 stuff and the Sun mibs respond but when I get 
to ibm mibs, I get "end of MIB". I also get an "end of MIB" response (which I 
should not - I should get a timeout) if I walk the IBM mib with the wrong 
community string.

xnmsnmpconf -res shows the correct strings - it just seems to be the sub-agent 
that broke. Any ideas?

- Scott

-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On
Behalf Of Erdey, Raymond M
Sent: Friday, November 07, 2003 11:55 AM
To: nv-l@lists.us.ibm.com
Subject: RE: [nv-l] Inventory



Try the following KSH script that list a wide range of Cisco devices.  Feel 
free to use just the OIDs that you are interested in...
====================Cut Here====================
#!/bin/ksh

if [ -x /usr/bin/awk ]
then
        typeset -rs AWK="/usr/bin/awk"
else
        typeset -rs AWK="awk"
fi

if [ -x /usr/OV/bin/nvUtil ]
then
        typeset -rs NVUTIL="/usr/OV/bin/nvUtil"
else
        typeset -rs NVUTIL="nvUtil"
fi


typeset -rs strNodeList=$( ${NVUTIL} e "((('SNMP 
sysObjectID'~'1\.3\.6\.1\.4\.1\.9\.1')
         || ('vendor'='cisco Systems')
         || ('SNMP sysObjectID'~'1\.3\.6\.1\.4\.1\.9\.5')
         || ('SNMP sysObjectID'~'1\.3\.6\.1\.4\.1\.2467\.4\.4'))
            && (('isNode'=True)
            && (!('IP Status'='Unmanaged'))))" "%Selection Name%" )

for strNode in ${strNodeList}
do
        print "\n\nDevice: ${strNode}"
        ${NVUTIL} e "(('Selection Name'~'${strNode}')
                 && ('isInterface'=True))" "%IP Address% %Selection Name%" \
                        | ${AWK} '{ printf("\t%s\n",$0) }'
done
====================Cut Here====================
Raymond Erdey
System Administrator
Network Management System Administration
Email: raymond.m.erdey@erac.com
web: http://www.geocities.com/rerdey/


-----Original Message-----
From: reamd@Nationwide.com [mailto:reamd@Nationwide.com]
Sent: Friday, November 07, 2003 8:43 AM
To: nv-l@lists.tivoli.com
Subject: [nv-l] Inventory


Hi All,
          Can someone give me a command that would list all cisco routers
and there interfaces that are on netview. Thanks, Dave

Netview 7.1.3
AIX 5.1



---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com

*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)




<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] SNMP on Solaris, Barr, Scott <=

Archive operated by Skills 1st Ltd

See also: The NetView Web