Sponsored Content
Full Discussion: Net-SNMP issues Solaris 10
Operating Systems Solaris Net-SNMP issues Solaris 10 Post 302263980 by geek_man on Tuesday 2nd of December 2008 11:01:56 PM
Old 12-03-2008
Hi!

Have you tried the following command?

# snmpget -v 2c -c public localhost sysDescr

I am trying to implement net-snmp in a solaris 10 server but I am having a lot of problems. It includes the UCD-SNMP mib but when I ask for a value like memAvailReal it returns
ERROR: Request timeout.

But when I ask for a value like sysDescr it returns the correct value.

Do you have any idea?

Thanks.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

net-snmp

Does anybody know where I can get net-snmp for compaq tru64 V4.0G? I am having a difficult time locating it. Can it run on tru64 V4.0G? (2 Replies)
Discussion started by: jalburger
2 Replies

2. Solaris

net-snmp-5.1.2 Solaris 9

All, I downloaded and installed the following net-snmp from the sourceforge.net website on a Solaris 9 server with the entire collection installed: net-snmp-5.1.2-SunOS_5.9_sun4u.tar.gz with no errors. I attempt to run snmpget and I get the following error: ld.so.1: snmpget: fatal:... (1 Reply)
Discussion started by: bubba112557
1 Replies

3. Solaris

net-snmp on solaris 8

hello I am running solaris 8 sparc. I installed net-snmp 5.4.1 (compiled it from tar file). When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...' another snmpwalk will directly timeouts. I compiled again the binaries... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

4. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

5. Solaris

Net-SNMP-5.4.2.1 issue on Sun Solaris

Hi, I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies

6. Solaris

Error occurred while making the net-snmp 5.4.4 on Solaris 5.10 version.

Hi all, Error occurred while making the net-snmp-5.4.4 on Solaris 5.10 version. Environment - Solaris 5.10-x86 - Net-SNMP-5.4.4.tar.gz - Path (/etc/profile) PATH=/usr/local/bin:$PATH export PATH LD_LIBRARY_PATHUSR=/usr/ccs/bin: export LD_LIBRARY_PATH Error01 - summary ***... (3 Replies)
Discussion started by: ziosnim
3 Replies

7. HP-UX

Net-snmp 5.7.2 on HP-UX 11.31

Hi All, I have an issue with net-snmp communication from a monitoring server to HP UX server. Following are the details HP - UX server : 172.16.184.34 Monitoring Server : 172.16.5.57 (Solarwinds Application)I'm running HP-UX's snmp on udp port 161 and net-snmp on udp 1161. ... (0 Replies)
Discussion started by: maverick_here
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 03:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy