12-07-2009
look into using the snmpget command. snmpget may come with a manual page. I did find this.
TUT:snmpget - Net-SNMP Wiki However I am not sure if I am answering your question correctly.
8 More Discussions You Might Find Interesting
1. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
2. Infrastructure Monitoring
Hi,
I am new to snmp. I am using debian lenny in all my systems. I want to monitor the systems which are in network already. At begining i do not want to implement snmp in routers or in any switches. So i chose one system in my network and installed snmp,snmpd.
I didn't change any settings in... (1 Reply)
Discussion started by: vrpcse
1 Replies
3. Infrastructure Monitoring
Hi guys.
I'm new to the world of computers, and yet my boss asked me to learn on the operation of Unix SNMP Trap Handler and Generator. Can any kind soul enlighten me please? Help much appreciated. :)
Jolie. (3 Replies)
Discussion started by: jolie
3 Replies
4. IP Networking
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies
5. Red Hat
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies
6. IP Networking
I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem.
Description:
There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent.
I see where the... (0 Replies)
Discussion started by: broberts
0 Replies
7. Infrastructure Monitoring
Dear Champs,
I am new to unix, and need to configure linux server to send below traps to a SNMP server.
Monitoring TRAP Disk Space Low
Monitoring TRAP Memory Low
Monitoring TRAP CPU high
Monitoring TRAP Admin login/Logoff
Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies
8. UNIX for Dummies Questions & Answers
i am working with embedded system -Dell DCS management sub system. my question is as below:
currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 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)