Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring snmpget not working on AIX shared wpar Post 302327571 by avazeer on Monday 22nd of June 2009 07:02:18 AM
Old 06-22-2009
snmpget not working on AIX shared wpar

Hi,

I have a shared AIX wpar configured.
I have started snmpd process on shared AIX wpar.


But when i tried to query a MIB id using the following command

/opt/OV/bin/snmpget -d -v 1 -c public -p <hostname> .1.3.6.1.2.1.1.7.0

i get the following error message

# /opt/OV/bin/snmpget -d -v 1 -c public -p 161 share_wpar_27 .1.3.6.1.2.1.1.7.0
Transmitted 41 bytes to <hostname> (IP address) port 161:
Initial Timeout: 0.80 seconds
0: 30 27 02 01 00 04 06 70 75 62 6c 69 63 a0 1a 02 0'.....public...
16: 02 62 6d 02 01 00 02 01 00 30 0e 30 0c 06 08 2b .bm......0.0...+
32: 06 01 02 01 01 07 00 05 00 -- -- -- -- -- -- -- ................
0: SNMP MESSAGE (0x30): 39 bytes
2: INTEGER VERSION (0x2) 1 bytes: 0 (SNMPv1)
5: OCTET-STR COMMUNITY (0x4) 6 bytes: "public"
13: GET-REQUEST-PDU (0xa0): 26 bytes
15: INTEGER REQUEST-ID (0x2) 2 bytes: 25197
19: INTEGER ERROR-STATUS (0x2) 1 bytes: noError(0)
22: INTEGER ERROR-INDEX (0x2) 1 bytes: 0
25: SEQUENCE VARBIND-LIST (0x30): 14 bytes
27: SEQUENCE VARBIND (0x30): 12 bytes
29: OBJ-ID (0x6) 8 bytes: .1.3.6.1.2.1.1.7.0
39: NULL (0x5) 0 bytes

Received 41 bytes from <hostname> (IP address) port 161:
0: 30 27 02 01 00 04 06 70 75 62 6c 69 63 a2 1a 02 0'.....public...
16: 02 62 6d 02 01 02 02 01 01 30 0e 30 0c 06 08 2b .bm......0.0...+
32: 06 01 02 01 01 07 00 05 00 -- -- -- -- -- -- -- ................
0: SNMP MESSAGE (0x30): 39 bytes
2: INTEGER VERSION (0x2) 1 bytes: 0 (SNMPv1)
5: OCTET-STR COMMUNITY (0x4) 6 bytes: "public"
13: RESPONSE-PDU (0xa2): 26 bytes
15: INTEGER REQUEST-ID (0x2) 2 bytes: 25197
19: INTEGER ERROR-STATUS (0x2) 1 bytes: noSuchName(2)
22: INTEGER ERROR-INDEX (0x2) 1 bytes: 1
25: SEQUENCE VARBIND-LIST (0x30): 14 bytes
27: SEQUENCE VARBIND (0x30): 12 bytes
29: OBJ-ID (0x6) 8 bytes: .1.3.6.1.2.1.1.7.0
39: NULL (0x5) 0 bytes

snmpget: Agent reported error with variable #1.
.iso.org.dod.internet.mgmt.mib-2.system.sysServices.0: SNMP: Variable does not exist or access is denied.
#


Same thing is workign fine on Host and non shared wpar.


Am i missing any configuration on shared wpar?

Thanks in Advance
avazeer
 

10 More Discussions You Might Find Interesting

1. AIX

How to debug a shared library(.so file) on AIX?

How to debug a shared library(.so file) on AIX? (1 Reply)
Discussion started by: AlbertGao
1 Replies

2. UNIX for Advanced & Expert Users

Issue with shared object in AIX

Hi All, I have a problem with the shared objects setup in AIX. We have a customized shell written by the developers over here. When i issue a MQ Series command (mqsilist) it is giving the error as . All the commands making use of this libImbCmdLib.a.so is failing. But when executed in normal... (1 Reply)
Discussion started by: dhanamurthy
1 Replies

3. UNIX for Advanced & Expert Users

snmpget command not working

HI to all Unix gurus and Lovers, I am having one snmpd problem somewhat strange. When I execute 'snmpget -v2c -c public <local_ip> system.sysDescr.0' initially 4-5 times it executes properly,But after that it gives a message of 'Timeout: No Response from... (0 Replies)
Discussion started by: jagdish.machhi@
0 Replies

4. HP-UX

need help in working with shared libraries on hpux

hi, i am having problem loading multiple shared libraries. if i load, make call to exposed method and then unload them, everything workds fine, but i have to keep the loaded images in memory, i am uploading the prog. as loader.zip, it contains loader - loader.c which loads c++ shared... (2 Replies)
Discussion started by: p.premkumarr
2 Replies

5. UNIX for Advanced & Expert Users

snmpget/snmpwalk for dskPercent not working.

snmpwalk -v1 -c myname {ip address} dskPercent. Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::dskPercentNode snmpget -v1 -c myname {ip address} dskPercent.1 Error in packet Reason: (noSuchName) There is no such variable... (0 Replies)
Discussion started by: ynilesh
0 Replies

6. AIX

CD Rom shared for many AIX servers.

Guy's I have more than 20 servers available in different locations and I want to configure CD Rom as NFS between these servers to be sharedCan any one explain the configuration how can NFS or share CD rom between more than 20 servers available in different locationsto be used in one time from all... (5 Replies)
Discussion started by: Mr.AIX
5 Replies

7. AIX

AIX 5.2 C++ shared object issue

Hi all, I am developing an application with two components. One "c" binary and one "C++" shared object. While execution, the shared object crashes out and core dump is created whenever "new" is executed. But if i use malloc this will work perfectly. I tried to use dbx. Below given was... (1 Reply)
Discussion started by: itssujith
1 Replies

8. AIX

Loading a shared library in AIX

Hi, I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well. Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies

9. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

10. AIX

No iscsi available in newly created AIX wpar

AIX 7.1 New to WPAR, hopefully just missing something simple here. Creating the WPAR like this..... (The box where the WPAR is hosted does have an iscsi protocol device) mkwpar -h wpar08 -l -n wpar08 -N interface=en0 address=xxx.xx.xx.xxx netmask=255.255.255.0 -D devname=/dev/iscsi0 -D... (0 Replies)
Discussion started by: TomR
0 Replies
SNMPGET(1)							     Net-SNMP								SNMPGET(1)

NAME
snmpget - communicates with a network entity using SNMP GET requests SYNOPSIS
snmpget [COMMON OPTIONS] [-Cf] OID [OID]... DESCRIPTION
snmpget is an SNMP application that uses the SNMP GET request to query for information on a network entity. One or more object identifiers (OIDs) may be given as arguments on the command line. Each variable name is given in the format specified in variables(5). OPTIONS
-Cf If -Cf is not specified, some applications (snmpdelta, snmpget, snmpgetnext and snmpstatus) will try to fix errors returned by the agent that you were talking to and resend the request. The only time this is really useful is if you specified a OID that didn't exist in your request and you're using SNMPv1 which requires "all or nothing" kinds of requests. In addition to this option, snmpget REQUIRES options and agent arguments, as described in the snmpcmd(1) manual page. EXAMPLES
The command: snmpget -c public zeus system.sysDescr.0 will retrieve the variable system.sysDescr.0 from the host zeus using the community string public : system.sysDescr.0 = "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m" If the network entity has an error processing the request packet, an error packet will be returned and a message will be shown, helping to pinpoint in what way the request was malformed. If there were other variables in the request, the request will be resent without the bad variable. Here is another example. The -c and -v options are defined in the snmpcmd(1) manual page. (Note that system.sysUpTime is an incomplete OID, as it needs the .0 index appended to it): snmpget -v1 -Cf -c public localhost system.sysUpTime system.sysContact.0 This example will return the following: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. This name doesn't exist: system.sysUpTime Similarly, the command: snmpget -v1 -c public localhost system.sysUpTime system.sysContact.0 Will return: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. This name doesn't exist: system.sysUpTime system.sysContact.0 = STRING: root@localhost With the -Cf flag specified the application will not try to fix the PDU for you. SEE ALSO
snmpcmd(1), snmpwalk(1), variables(5). 4th Berkeley Distribution 08 Feb 2002 SNMPGET(1)
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy