Re: Urgent plz help me......

Jaime Lozano <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello:

The general form is:
   snmpget -v <version> -c <community string> <Host> <Object-identifier>
This could work for you:
   snmpget -v 1 -c public 192.168.0.50 .1.3.6.1.2.1.7.1.0

See RFC1213;
.1.3.6.1.2.1.7.1 is udpInDatagrams
.1.3.6.1.2.1.7.2 is udpNoPorts
.1.3.6.1.2.1.7.3 is udpInErrors
etc.

2011/3/29 Sri Vani <[email protected]>

>
> Hi,
>
>     I want the procedure how it fetches the udp stats using snmpget
> request.
>
> My requirement is
>
> 1) Adding new variable Ex: my_variable
> 2) By giving snmpget localhost my_variable, it should respond with the
> value store in sample test file.
>      Note : Value in the sample test file changes from time to time. Need
> to fetch the current value.
>
> Please help me to do this.
>
>
> Regards,
> Vani
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.