snmpget oid limit?

2025-03-31 Thread Wilhelm Greiner via Net-snmp-users
Hello, Do you have an idea why the error below occours? If we remove any OIDs the command it is working… Not Working because too long / to much OIDs: /usr/bin/snmpget -OQne -v 3 -u username -A PASSWORD -l authNoPriv -a MD5 -t 10 172.20.1.23 1.3.6.1.4.1.6574.1.5.1.0 1.3.6.1.4.1.6574.1.5.2.0

snmpget and dtlsudp/dtls domain issue

2024-02-01 Thread Vincent Gilson via Net-snmp-users
Hi ! I've trouble to make work snmpget (running on Linux Mint) to initiate DTLS connection with an agent. Hostname "tboxvincent" is correctly set in 'hosts' file, and it's working fine when I ping it. It seems snmpget has trouble with dtlsudp or dtls transport d

Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-06-02 Thread Wes Hardaker via Net-snmp-users
Webtest writes: > I can understand your frustration as well ... it sounds like a good > question for Linus. Well, every application developer does their own thing. Linus only has control over the kernel, not the applications that run within it. (nor does he want control over what's inside) --

Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-05-28 Thread Webtest
rnet TV. OK - Blessings in abundance, all the best, & Stay Well! Art in Carlisle PA USA On 05/25/2021 07:02 PM, Wes Hardaker wrote: Webtest writes: The reason is that "snmpget -V" returns the VERSION, but it returns it on STDERR ... NOT STDOUT as it is supposed to ??? Well, &

Re: ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-05-25 Thread Wes Hardaker via Net-snmp-users
Webtest writes: > The reason is that "snmpget -V" returns the VERSION, but it returns it > on STDERR ... NOT STDOUT as it is supposed to ??? Well, "supposed to" is an interesting statement. I wonder how many packages do stdout vs stderr. I know I have a lot of frustr

ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-05-22 Thread Webtest
lse I proceed. I have discovered that my normal test for a package loaded: if snmpget -V | grep -q 'NET-SNMP' is **FALSE** even if the package IS LOADED! The reason is that "snmpget -V" returns the VERSION, but it returns it on STDERR ... NOT STDOUT as it is supposed to ???

ANOMALY: NET-SNMP version: 5.7.3: snmpget/set return -V on STDERR !!!

2021-05-22 Thread Webtest
lse I proceed. I have discovered that my normal test for a package loaded: if snmpget -V | grep -q 'NET-SNMP' is **FALSE** even if the package IS LOADED! The reason is that "snmpget -V" returns the VERSION, but it returns it on STDERR ... NOT STDOUT as it is supposed to ???

snmpget and snmpbulkget return different OIDs

2019-10-28 Thread Michael W. Lucas
Am I holding this wrong, or is it worth a bug report? Verified on FreeBSD and CentOS. $ snmpget localhost sysUpTimeInstance DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (320554) 0:53:25.54 $ snmpbulkget -Cn1 localhost sysUpTimeInstance SNMPv2-MIB::sysContact.0 = STRING: nobody

Delayed Instance - snmpget does not get it?

2018-03-27 Thread Dave C
ted = 1; Then setting up the delay (snmp_alarm_register) passing it the delegated cashe. Finally returning SNMP_ERR_NOERROR; back to snmpd On the remote side I am calling snmpget to fetch the OID in question. I can see from a pcap that my agent responds ( I presume with some kind of defer

Re: snmpget on a broadcast address

2017-06-27 Thread Bill Fenner
On Wed, Jun 21, 2017 at 6:28 AM, Guru Prasad wrote: > Hi All, > > Using netsnmp-5.7.3 in a debian machine. > I am trying to run snmpget on the network's broadcast address so as to get > all > the snmp agents in my network. But i could not get the response of the > snm

Re: snmpget on a broadcast address

2017-06-22 Thread Guru Prasad
10 192.168.1.15 But it prints the value "sysdescr" only for 192.168.1.16. Please let me know what i am missing here. Thanks Guruprasad On Wed, Jun 21, 2017 at 3:58 PM, Guru Prasad wrote: > Hi All, > > Using netsnmp-5.7.3 in a debian machine. > I am trying to run snmpget o

snmpget on a broadcast address

2017-06-22 Thread Guru Prasad
Hi All, Using netsnmp-5.7.3 in a debian machine. I am trying to run snmpget on the network's broadcast address so as to get all the snmp agents in my network. But i could not get the response of the snmp agents at once. It gives the information of one snmp agent at a time snmpget -v2c -c p

Re: snmpd - snmpget and snmpwalk inconsistent

2017-05-23 Thread Ryan Goodfellow
> > > > ry@stem$ service snmpd restart > > > > ry@stem$ pgrep -lfa snmpd > > 1298 /usr/sbin/snmpd -y -LF d /var/log/snmp -DALL -u snmp -g snmp -I > -smux > > -p /run/snmpd.pid -f > > > > > > ### CLIENT ### > > > > ## init

Antw: snmpd - snmpget and snmpwalk inconsistent

2017-04-23 Thread Ulrich Windl
; > > ### CLIENT ### > > ## initial request for ifNumber using GET returns 0 (wrong) > ry$ date && snmpget -c public -v2c stem .1.3.6.1.2.1.2.1.0 > Fri Apr 21 18:20:15 UTC 2017 > iso.3.6.1.2.1.2.1.0 = INTEGER: 0 > > ## initial request for ifNumber using WALK returns 1

snmpd - snmpget and snmpwalk inconsistent

2017-04-21 Thread Ryan Goodfellow
@stem$ pgrep -lfa snmpd 1298 /usr/sbin/snmpd -y -LF d /var/log/snmp -DALL -u snmp -g snmp -I -smux -p /run/snmpd.pid -f ### CLIENT ### ## initial request for ifNumber using GET returns 0 (wrong) ry$ date && snmpget -c public -v2c stem .1.3.6.1.2.1.2.1.0 Fri Apr 21 18:20:15 UTC

Re: snmpget won't return correct value of string, tcpdump show correct

2017-02-27 Thread Fulko Hew
On Mon, Feb 27, 2017 at 9:53 AM, Streuli Arno wrote: > I have a strange things with snmpget, I’m doing the following request: > (it’s request to have the ip address on Cisco switch of CDP neighbor ) > > [root@lslcact01:~] # snmpget -v2c -cX se-sve-225 > .1.3.6.1.4.1.9.9.23.1.

snmpget won't return correct value of string, tcpdump show correct

2017-02-27 Thread Streuli Arno
I have a strange things with snmpget, I'm doing the following request: (it's request to have the ip address on Cisco switch of CDP neighbor ) [root@lslcact01:~] # snmpget -v2c -cX se-sve-225 .1.3.6.1.4.1.9.9.23.1.2.1.1.4.10108.3 SNMPv2-SMI::enterprises.9.9.23.1.2.1.1.4.10108.

"extendfix" script still gets triggered by snmpwalk and snmpget

2016-02-09 Thread Florian Mader
s "run-command (3)" in "nsExtendRunType" like in the command below: snmpset -v2c -c writesecret localhost 'NET-SNMP-EXTEND-MIB::nsExtendRunType."testFix"' i 3 This works as expected. My problem is that the snmpwalk command used above also triggers the scri

How does DisplayString SIZE in MIB files affect the output of snmpget?

2015-10-30 Thread Martin T
Hi, I have a Cisco switch which SNMP agent returns up to 256 characters long interface descriptions(ifAlias). For example here I receive an 100 characters long interface description: $ snmpget -m ./IF-MIB_tmp -M /usr/share/snmp/mibs/ -M /usr/local/share/snmp/mibs/ -Ov -v 2c -c public switch IF

Re: snmpwalk on table works but snmpget on the same fails

2015-09-24 Thread Pushpa Thimmaiah
Hi, The issue was , newtable has two index and I was not adding only one index to pdu(oid). I used function netsnmp_table_helper_add_index() add them and snmpget to each element works properly. Thanks and Regards, Pushpa.T On Mon, Sep 21, 2015 at 10:01 PM, Pushpa Thimmaiah < pushpa.thi

Re: snmpwalk on table works but snmpget on the same fails

2015-09-21 Thread Pushpa Thimmaiah
pwalk -m ALL -M ~/mibs -v 2c -c pushpa 192.168.107.26 >> MIBMODULE::newTable >> MIBMODULE::newtableElement1.339787776.1 = INTEGER: 24 >> MIBMODULE::newtableElement2.339787776.1 = INTEGER: 1 >> MIBMODULE::newtableElement3.339787776.1 = INTEGER: 36 >> >> >>

Re: snmpwalk on table works but snmpget on the same fails

2015-09-21 Thread Pranesh Kulkarni
le to walk on the newly created mib table > > test$ snmpwalk -m ALL -M ~/mibs -v 2c -c pushpa 192.168.107.26 > MIBMODULE::newTable > MIBMODULE::newtableElement1.339787776.1 = INTEGER: 24 > MIBMODULE::newtableElement2.339787776.1 = INTEGER: 1 > MIBMODULE::newtableElement3.339787776

snmpwalk on table works but snmpget on the same fails

2015-09-21 Thread Pushpa Thimmaiah
MIBMODULE::newtableElement2.339787776.1 = INTEGER: 1 MIBMODULE::newtableElement3.339787776.1 = INTEGER: 36 $ snmpget -m ALL -M ~/mibs -v 2c -c pushpa 192.168.107.26 MIBMODULE::newtableElement1.339787776.1 MIBMODULE::newtableElement1.339787776.1= No Such Instance currently exists at this OID Kin

Re: SNMPv3 TSM snmpget doubt

2014-11-19 Thread sandhya reddy
*snmp_client.c::snmp_sess_synch_response(*) code is erroneous. snmpget request must sent a query for discovering snmpEngineID which the following code is sending. After this it is supposed to send the actual SNMP get request for a MIB variable say sysContact.0 When it does context probing it

SNMPv3 TSM snmpget doubt

2014-11-18 Thread sandhya reddy
I have installed net-snmp 5.6.2.1 and sent out snmp get request using snmpget command. This is a SNMPv3 request over TLS that i'm sending. snmpget request sends out two get request 1) Read operation for snmpEngineID.0 2) Actual get request querying for a MIB variable say sysContact.0 >

Re: snmpget timeout when being run from a script

2014-10-21 Thread Bill Fenner
ctice I've never used it. Bill On Tue, Oct 21, 2014 at 11:51 AM, Krzysztof Szarlej wrote: > Hi all! > > I have a strange problem. I want to monitor my Synology NAS Device. I > created in snmpd.conf an exec statement for my sample script that has to > run one snmpget and multi

snmpget timeout when being run from a script

2014-10-21 Thread Krzysztof Szarlej
Hi all! I have a strange problem. I want to monitor my Synology NAS Device. I created in snmpd.conf an exec statement for my sample script that has to run one snmpget and multiply the result by 4 to give me the correct value: exec synology_disk_usage /opt/bin/bash /usr/bin/diskusage.sh And the

Re: SNMP TLS snmpget error

2014-08-11 Thread sandhya reddy
I have one basic doubt. Why do we mention the their_identity in snmpget TLS request as the peers certificate info will be unknown?? our_identity will be sufficient right ? I'm trying to setup agent also locally. Using the DTLS turtorial i have done the following 1) *In Server(Agent)* i

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
t; For USM, the command which you quoted will work not for TLS. > > Thanks > Sandhya > > > On Thu, Aug 7, 2014 at 2:46 PM, Ilya Etingof wrote: > >> >> Yes, try, for example: >> >> snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1

Re: SNMPv2 snmpget error

2014-08-07 Thread Ilya Etingof
o:i...@glas.net>> wrote: Yes, try, for example: snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1demo.snmplabs.com <http://demo.snmplabs.com> 1.3.6.1.2.1.1.1.0 More working SNMPv3 usernames and keys are on the web page: http://snmpsim.

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
Ilya, I want to try SNMPv3 with *TLS *which is* TSM *model *not USM.* For USM, the command which you quoted will work not for TLS. Thanks Sandhya On Thu, Aug 7, 2014 at 2:46 PM, Ilya Etingof wrote: > > Yes, try, for example: > > snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A

Re: SNMPv2 snmpget error

2014-08-07 Thread Ilya Etingof
Yes, try, for example: snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1 demo.snmplabs.com 1.3.6.1.2.1.1.1.0 More working SNMPv3 usernames and keys are on the web page: http://snmpsim.sourceforge.net/public-snmp-simulator.html On 08/07/2014 12:43 PM, sandhya

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
Thanks a lot Ilya. I'm able to get response for snmpget from my local manager to agent demo.snmplabs.com Does this agent simulator at demo.snmplabs.com support SNMPv3 with TLS. If so what is the command to be given for SNMPv3 TLS snpget request from Windows machine. Thanks, Sandhya On Thu

Re: SNMPv2 snmpget error

2014-08-06 Thread Ilya Etingof
There is another public snmp agent out there in case test.net-snmp.org is down: http://snmpsim.sourceforge.net/public-snmp-simulator.html > On Aug 7, 2014, at 9:36, sandhya reddy wrote: > > I'm trying to work with a simple SNMPv2 snmpget request from windows machine > to

SNMPv2 snmpget error

2014-08-06 Thread sandhya reddy
I'm trying to work with a simple SNMPv2 snmpget request from* windows* machine to *test.net-snmp.org <http://test.net-snmp.org>* agent. I can see the request going out but no response is received. What could be the reason for it? Following is the command that i have given. snmpg

Re: SNMP TLS snmpget error

2014-08-05 Thread sandhya reddy
c, 533: >> sslctx_client: using private key: tutorial-joecool.key >> cert:find:params: looking for remote_peer(2) in MULTIPLE(0x200), hint >> 161503528 >> cert:find:params: looking for remote_peer(2) in FINGERPRINT(0x2), hint >> 161503528 >> cert:find:params: hint

Re: SNMP TLS snmpget error

2014-08-01 Thread sandhya reddy
) in FILE(0x1), hint 161503528 > cert:find:params: hint = Agent-83 > 9:cert:subset:found: 0 matches > trace: netsnmp_tlstcp_open(): transports/snmpTLSTCPDomain.c, 709: > tlstcp: connecting to tlstcp 10.253.6.83:10161 > tlstcp: failed to ssl_connect > trace: netsnmp_sess_config_a

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
10161 tlstcp: failed to ssl_connect trace: netsnmp_sess_config_and_open_transport(): snmp_api.c, 1540: *snmp_sess: couldn't interpret peername* snmpget: Unknown host (tlstcp:10.253.6.83) Thanks sandhya On Fri, Aug 1, 2014 at 10:01 AM, sandhya reddy wrote: > Is there any way that we set the

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
etup one PC as Net-SNMP Agent and other as manager. > 2) On the PC which is an Agent i have started snmpd service on port 10161 > using snmpd tlstcp:10161 command. > This port is in LISTEN state. > 3) I have generated certificate in Agent using net-snmp-cert command with > name as

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
ISTEN state. 3) I have generated certificate in Agent using net-snmp-cert command with name as Agent-89. I give this name in snmpget request their_identity parameter. Do i have to give the agent certificate name also when sending snmpget request from manager? If so why? Command: snmpget -T our_ide

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
certificate for agent. 4) I have tried giving the command you gave. I get an error. $ snmpget -T our_identity=tutorial-joecool -T their_identity=tutorial-agent \ > -t 10 tls:test.net-snmp.org sysUpTime.0 *Error: * *No log handling enabled - using stderr loggingtlstcp: fa

Re: SNMP TLS snmpget error

2014-07-25 Thread Bill Fenner
I followed the step by step directions from http://www.net-snmp.org/wiki/index.php/TUT:Using_TLS and got: $ snmpget -T our_identity=tutorial-joecool \ > -T their_identity=tutorial-agent \ > -t 10 tls:test.net-snmp.org sysUpTime.0 DISMAN-EVENT-MIB::sysUpTimeIn

Re: SNMP TLS snmpget error

2014-07-25 Thread sandhya reddy
Hi Bill, Glad to see your response. I have retrieved the entire certificate tar-ball http://www.net-snmp.org/tutorial/tutorial-5/certificates/tutorial-.snmp.tar.gz and uncompressed it. Initially, i tried to send the snmpget request to test.net-snmp.org using the certificates from the tutorial

Re: SNMP TLS snmpget error

2014-07-24 Thread Bill Fenner
lished set of keys. Bill On Wed, Jul 23, 2014 at 7:08 AM, sandhya reddy wrote: > > > Hi Coders and Users, > > I've setup NET-SNMP 5.6.2.1 and configured tsm model. > I've done this setup on two Ubuntu 14.04 PCs > I'm trying to send out snmpget request ov

Re: SNMP TLS snmpget error

2014-07-24 Thread sandhya reddy
I've done this setup on two Ubuntu 14.04 PCs > I'm trying to send out snmpget request over tlstcp:10161 The folowing are > the steps i follow > 1) Start snmpd using the command : snmpd tlstcp:10161 > 2) snmpget -T > our_identity=CD:74:45:C9:A3:A3:55:0A:6C:37:03:B2:49:38:B1:01

Fwd: SNMP TLS snmpget error

2014-07-23 Thread sandhya reddy
Hi Coders and Users, I've setup NET-SNMP 5.6.2.1 and configured tsm model. I've done this setup on two Ubuntu 14.04 PCs I'm trying to send out snmpget request over tlstcp:10161 The folowing are the steps i follow 1) Start snmpd using the command : snmpd tlstcp:10161 2) snmpget -T

RE: SNMPGet and Log to file

2014-04-06 Thread Daniel Wilkes
and am pleased to report I have now created a pesky script that seems to be working for me quite well. Thanks for all your help! Daniel Wilkes -Original Message- From: Fredrik Björk [mailto:f...@skulle.se] Sent: Friday, 4 April 2014 7:10 p.m. To: net-snmp-users@lists.sourceforge.net Sub

Re: SNMPGet and Log to file

2014-04-03 Thread Fredrik Björk
onal extra that I will have to pay for an additional > licence for. Since I am just experimenting at this stage I can't really > justify that! > > Thanks Again > > Daniel. > > -Original Message- > From: Fredrik Björk [mailto:f...@skulle.se] > Sent: Friday,

RE: SNMPGet and Log to file

2014-04-03 Thread Daniel Wilkes
niel. -Original Message- From: Fredrik Björk [mailto:f...@skulle.se] Sent: Friday, 4 April 2014 8:57 a.m. To: net-snmp-users@lists.sourceforge.net Subject: Re: SNMPGet and Log to file Hi! The obvious solution would be to stop using Windows and start using a real OS, but I guess that'

Re: SNMPGet and Log to file

2014-04-03 Thread Fredrik Björk
or logging of warning and error messages can be controlled by passing various parameters to the -L flag. -LeLog messages to the standard error stream. -Lf FILE Log messages to the specified file." You have no errors, and hence, no lines in the log f

RE: SNMPGet and Log to file

2014-04-03 Thread Daniel Wilkes
users@lists.sourceforge.net Subject: SNMPGet and Log to file Hi All, I'm new to the world of SNMP and am trying to get snmpget to log the result to a file so I can then parse the result into our SCADA system. The command I am using is: snmpget -v 2c -Lf "c:\Net SNMP\Output.txt" -c 1.3.6.1.4.1.14817

SNMPGet and Log to file

2014-03-19 Thread Daniel Wilkes
Hi All, I'm new to the world of SNMP and am trying to get snmpget to log the result to a file so I can then parse the result into our SCADA system. The command I am using is: snmpget -v 2c -Lf "c:\Net SNMP\Output.txt" -c 1.3.6.1.4.1.14817.3.3.2.20.1.5.2 And the result

Re: snmpget vs snmpwalk

2014-03-17 Thread Fredrik Björk
Hi! I see no reason why this shouldn't work: snmpget -v2c -c public 10.10.70.40 PowerNet-MIB::iemStatusProbeCurrentTemp.2 but this: snmpget -v2c -c public 10.10.70.40 .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4 <--- should have .2 added to it! snmptranslate -IR -On Powe

snmpget vs snmpwalk

2014-03-14 Thread Franz Baumgartner
INTEGER: 0 PowerNet-MIB::iemStatusProbeHighTempViolation.2 = INTEGER: disabled(3) PowerNet-MIB::iemStatusProbeLowTempViolation.2 = INTEGER: disabled(3) but if I do an: snmpget -v2c -c public 10.10.70.40 PowerNet-MIB::iemStatusProbeCurrentTemp.2 PowerNet-MIB::iemStatusProbeCurrentTemp.2 = No Suc

SnmpGet fails when I create a trapsess with the same user

2013-11-26 Thread Hammond, Steven
When I configure a snmp agent as V3 with usmUser billy, if I have a trapsess line with the same user billy, After that, all requests to snmpget to that server get "authentication failed" This seemed wrong, so I opened a ticket, https://sourceforge.net/p/net-snmp/bugs/2510/ B

Re: SNMPget issue

2013-10-16 Thread pal
Guariglia Date: Fri, 11 Oct 2013 12:22:35 +0100 To: Subject: SNMPget issue Hi, I have been using snmpget to get some reply bits from a controller and usually it returns something like: SNMPv2-SMI::enterprises...xx.xx = Hex-STRING: 03 (when the bits are 0011) but I have noticed that

SNMPget issue

2013-10-16 Thread Francesco Guariglia
Hi, I have been using snmpget to get some reply bits from a controller and usually it returns something like: SNMPv2-SMI::enterprises...xx.xx = Hex-STRING: 03 (when the bits are 0011) but I have noticed that when the bits are 1011 i.e. the snmpget SHOULD reply with: SNMPv2-SMI

Binding snmpget/snmpwalk to specific interface

2013-06-13 Thread luc.bellevi...@bell.ca
Hi, Is there an option to do a snmpget/snmpwalk request thru a specific VIP. In the Perl API the option -localaddr that permit to do this but I do not see the option in command line. Thanks [cid:image001.gif@01CE684E.DCEA8D60] Luc Belleville Analyste principal - gestion de système Bell

snmpget with multiple oid query fails for table structures

2013-05-14 Thread Samitha Wijedasa
Hi, I'm trying to get multiple oid query responses in a single snmpget as follows from a table structure that is designed to facilitate two wifi modules. The last digit identify the particular wifi module I'm querying at the moment. In this case the module 1. snmpget -v 2c -t

Re: snmpget and snmpset don't work HELP PLEASE!

2012-08-20 Thread luiscc1989
Hi Dave, Thanks for your responds, the MIB was created by Mod-Apache-SNMP project that is an open source solution and extension of Apache project for SNMP protocol since 2006. http://mod-apache-snmp.sourceforge.net/english/index.htm http://sourceforge.net/projects/mod-apache-snmp/files/ I downl

snmpget and snmpset don't works HELP PLEASE!

2012-08-20 Thread luiscc1989
MAX-ACCESSread-write STATUScurrent DESCRIPTION "Status 0 - Down 1 - Up 2 - Starting 3 - Shutting down 4 - not responding" ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) 19786 1 apache2-mib(1) apa

Re: snmpget and snmpset don't work HELP PLEASE!

2012-08-20 Thread Dave Shield
On 20 August 2012 14:27, luiscc1989 wrote: > I'm trying to install a new MIB (APACHE2-MIB) in my host and I think that it > recognizes. I copied the MIB into the default mibdirs, however it doesn't > get any data. Have you written any code for the agent to implement this MIB? Please see the FAQ

Fwd: snmpget and snmpset don't work HELP PLEASE!

2012-08-20 Thread luiscc1989
MAX-ACCESSread-write STATUScurrent DESCRIPTION "Status 0 - Down 1 - Up 2 - Starting 3 - Shutting down 4 - not responding" ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) 19786 1 apache2-mib(1) apa

Re: How to send snmpget request from the same source port

2012-03-02 Thread GotaGota Engineer
Hello Dave, I have checked the behavior of snmpget with "-Dall" option: Here's the result of the snmpget ------ # snmpget --version NET-SNMP version: 5.7.1 ... ("clientAddr :4455" in my snmp.conf) ... # snm

Re: How to send snmpget request from the same source port

2012-03-02 Thread GotaGota Engineer
4455". But, it doesn't work. If the clientaddr doesn't work, do you think there's other way to specify the source port of snmpget? Best regards, Shigeru -- Virtualization & Cloud Management Using Capacit

Re: How to send snmpget request from the same source port

2012-03-01 Thread Dave Shield
On 1 March 2012 10:12, GotaGota Engineer wrote: > I have checked both "clientaddr 127.0.0.1:4455" and "clientaddr > udp:127.0.0.1:4455". > But, it doesn't work. > > If the clientaddr doesn't work, > do you think there's other way to specify

Re: How to send snmpget request from the same source port

2012-03-01 Thread Dave Shield
On 1 March 2012 04:36, GotaGota Engineer wrote: > I added clientaddr in snmp.conf like this: >   -- >   ... >   clientaddr :4455 >   ... >   -- > But, it didn't work. What happens if you specify the IP

Re: SNMPget cmd fails with Timeout from CentOS but works fine from windows

2011-11-27 Thread Bill Fenner
I don't expect it has a OS as such > > No - 'snmp.conf' controls the configuration of the *client* side, not the > agent. > ("snmpget" in this case). > > Please try the command > snmpget --16bitIDs=yes -v1 -c public 10.3.9.11 1.3.6.1.4.1.29711.77

Re: SNMPget cmd fails with Timeout from CentOS but works fine from windows

2011-11-25 Thread Dave Shield
, I am not sure if it has a snmp.conf, it may be > ASM, I don't expect it has a OS as such No - 'snmp.conf' controls the configuration of the *client* side, not the agent. ("snmpget" in this case). Please try the command snmpget --16

Re: SNMPget cmd fails with Timeout from CentOS but works fine from windows

2011-11-25 Thread Dave Shield
On 23 November 2011 17:07, Nathan Harris wrote: > Working on monitoring our datacentre power meters using Zenoss I am getting > a very strange issue > [root@nlc1~]# snmpget -v1 -c public 10.3.9.11 1.3.6.1.4.1.29711.7709 > Timeout: No Response from 10.3.9.11. > C:\usr\bin>snmp

SNMPget cmd fails with Timeout from CentOS but works fine from windows

2011-11-25 Thread Nathan Harris
Dear all Working on monitoring our datacentre power meters using Zenoss I am getting a very strange issue running snmpget on the meter from the Zenoss system (Linux nlc1 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:32:29 EDT 2011 i686 i686 i386 GNU/Linux) [root@nlc1~]# snmpget -v1 -c public 10.3.9.11

Re: snmpget: Cannot find module

2011-10-02 Thread Joe Lorenz
I think this is the same thing I've been hitting too. I'll try 5.7.1 - thanks for posting this. -Joe On Sun, Oct 2, 2011 at 3:21 PM, Dave Shield wrote: > On 24 September 2011 05:29, Zvi Vered wrote: >> I'm using net-snmp 5.7 installed on Centos 6.0 > > Can you please try with the 5.7.1 code,

Re: snmpget: Cannot find module

2011-10-02 Thread Dave Shield
On 24 September 2011 05:29, Zvi Vered wrote: > I'm using net-snmp 5.7 installed on Centos 6.0 Can you please try with the 5.7.1 code, which is available (possibly as a pre-release version) from the project website. > What is the reason for all the "Cannot find module" messages ? There is a bug

snmpget: Cannot find module

2011-09-23 Thread Zvi Vered
Hello, I apologize for asking this question again but I did not understand the answers to similar questions. I'm using net-snmp 5.7 installed on Centos 6.0 When I ran: snmpget -v 2c -c public 10.0.0.138 SNMPv2-MIB:SNMPv2-MIB::sysDescr.0 I got the following output: MIB search path:

Re: snmpwalk and snmpget give different result for same object

2011-08-30 Thread Dave Shield
tected and private wireless system. > No un-authorized access allowed.You must have proper rights to access and > manage this system from the authorized personnel. > > * SNMP QUERY FINISHED ***** > When I do the snmpget  to “wsAceessBanner” I get the following result : > &g

snmpwalk and snmpget give different result for same object

2011-08-26 Thread Kumar Sanjay-XJD784
zed access allowed.You must have proper rights to access and manage this system from the authorized personnel. * SNMP QUERY FINISHED * When I do the snmpget to "wsAceessBanner" I get the following result : 1: wsAceessBanner(7).0 (OCTET STRING) 54.68.69.73.20.44.65.76.69.63.65.

RE: running SNMPGET to poll from a port other than 161

2011-05-16 Thread Ujjval Karihaloo
That worked Thx a lot *From:* Fulko Hew [mailto:fulko@gmail.com] *Sent:* Friday, May 13, 2011 12:08 PM *To:* Ujjval Karihaloo *Cc:* net-snmp-users@lists.sourceforge.net *Subject:* Re: running SNMPGET to poll from a port other than 161 On Fri, May 13, 2011 at 1:14 PM, Ujjval

Re: running SNMPGET to poll from a port other than 161

2011-05-13 Thread Fulko Hew
On Fri, May 13, 2011 at 1:14 PM, Ujjval Karihaloo wrote: > Looks like snmpget polls only on port 161, any way to set the port number > when using snmpget. I don’t see any option in the help..any hidden commands > there? > snmpget ... hostname:port ... see: man snmpcmd under the se

running SNMPGET to poll from a port other than 161

2011-05-13 Thread Ujjval Karihaloo
Looks like snmpget polls only on port 161, any way to set the port number when using snmpget. I don’t see any option in the help..any hidden commands there? -- Achieve unprecedented app performance and reliability What

Snmpget succeeds but snmpwalk and snmpgetnext fail

2011-05-11 Thread Patrick Baker
module appears to load correctly and mostly functions; we can query individual leaf nodes of the database such as: [root@imgsvr bin]# ./snmp_agent & [2] 13508 [root@imgsvr bin]# snmpget -c localCom -v2c localhost .1.3.6.1.4.1.36383.1.1.1.0 SNMPv2-SMI::enterprises.36383.1.1.1.0 = STRING: "1

Snmpget error

2011-04-07 Thread Tanisha Kashyap
Hi, I am getting the following error when I issue snmpget command: Error in packet Reason: (genError) A general failure occured Failed object: TEST-MIB::TestVar.0 Snmpget command: snmpget -v 2c -c public -m "TEST-MIB" xxx.xxx.xxx.xxx TestVar.0 What could possibly be the reason for

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-24 Thread Dave Shield
On 23 March 2011 21:20, sunaina mangla wrote: > You mean to say if I have any > default user created in snmpd.conf . > then can't I just use username and passphrase in snmpget command and I > am good to go. Yes - of course you can. &

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-23 Thread sunaina mangla
just use username and passphrase in snmpget command and I am good to go. What initial set up you are talking about ? Apart from above , I have couple of more related ques : 1. Suppose user create another user on run time then whether this new user would be persistent on next reboot ? if yes ho

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-22 Thread Dave Shield
On 23 March 2011 01:50, sunaina mangla wrote: > What about default user? In this case, we don't create the user? Then you can't use SNMPv3 SNMPv3 (strictly SNMPv3/USM) *requires* that some set of initial user(s) are set up in advance. (Wes will no doubt correct me if I'm wrong here) Dav

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-22 Thread sunaina mangla
Hi Dave, What about default user? In this case, we don't create the user? then how that certificate exchange ? regards, sunaina On Tue, Mar 22, 2011 at 1:22 AM, Dave Shield wrote: > On 22 March 2011 01:47, sunaina mangla wrote: >> In Net-Snmp, When the default user fire snmp

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-22 Thread Dave Shield
On 22 March 2011 01:47, sunaina mangla wrote: > In Net-Snmp, When the default user fire snmpget or snmpset (v3) > command , the command is encrypted and encrypted message is sent to > the Snmp Agent. > > SnmpAgent decrypts this message and prcocess it.  So there has to be > exch

How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-21 Thread sunaina mangla
Hi, In Net-Snmp, When the default user fire snmpget or snmpset (v3) command , the command is encrypted and encrypted message is sent to the Snmp Agent. SnmpAgent decrypts this message and prcocess it. So there has to be exchange of encryption-decryption keys between SNMP and and that user

Re: multiple snmpget on tables

2011-03-21 Thread Dave Shield
On 21 March 2011 13:43, wrote: > Thanks for your fast answer. > > I attach all source files and the whole MIB-file. OK - I've spotted two significant problems with the module_param_table code: - several of the objects attempt to set 'requests->requestvb' (i.e. the first varbind in

Re: multiple snmpget on tables

2011-03-21 Thread normanraedke
x.de > CC: net-snmp-users@lists.sourceforge.net > Betreff: Re: multiple snmpget on tables > On 18 March 2011 15:39, wrote: > > I update to NET-SNMP version 5.6.1 but i get the same  behavior. > > OK - so it's probably related to the module code, > rather than the ag

Re: multiple snmpget on tables

2011-03-19 Thread Dave Shield
On 18 March 2011 15:39, wrote: > I update to NET-SNMP version 5.6.1 but i get the same  behavior. OK - so it's probably related to the module code, rather than the agent framework. That's not really a great surprise. > I use the generated code from with mib2c tool and i use > the table handle

Re: multiple snmpget on tables

2011-03-18 Thread normanraedke
the MIB - file and the associated code. Norman Original-Nachricht > Datum: Thu, 17 Mar 2011 14:15:52 + > Von: Dave Shield > An: normanrae...@gmx.de > CC: net-snmp-users@lists.sourceforge.net > Betreff: Re: multiple snmpget on tables > On 16 March 2011 15:

Re: multiple snmpget on tables

2011-03-18 Thread Dave Shield
On 17 March 2011 14:15, Dave Shield wrote: > If the problem is confined to this one table, then I'd suspect that it's a bug > in the code that implements this particular table.   We'd really have to see > this code in order to make any suggestions. I've just spotted the previous messages you pos

RE: snmpwalk works, but snmpget doesn't?

2011-03-17 Thread Ron Rader
> How can snmpwalk find the data, but if I snmpget it directly it doesn't > work? For instance: snmpwalk -c public -v 2c 192.168.1.208 SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysDescr.0 = STRING: Linux pep 2.6.21.7 #1 SMP PREEMPT Thu Mar 17 11:29:27 EDT 2011 mips snmpwalk -c p

Re: snmpwalk works, but snmpget doesn't?

2011-03-17 Thread Scott Baker
On 03/17/2011 01:59 PM, Fulko Hew wrote: >> work? > Because your snmpget did not specify the full OID, its missing the > index value of '0'. > You should have used (just like the snmpwalk returned): > > snmpget -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27

RE: snmpwalk works, but snmpget doesn't?

2011-03-17 Thread Ron Rader
> snmpwalk -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 > SNMPv2-SMI::enterprises.9.10.27.1.2.1.1.0 = INTEGER: 0 > > :snmpget -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 > SNMPv2-SMI::enterprises.9.10.27.1.2.1.1 = No Such Instance currently &

Re: snmpwalk works, but snmpget doesn't?

2011-03-17 Thread Fulko Hew
On Thu, Mar 17, 2011 at 4:51 PM, Scott Baker wrote: > Am I missing something here, or is this totally broken? > > snmpwalk -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 > SNMPv2-SMI::enterprises.9.10.27.1.2.1.1.0 = INTEGER: 0 > > :snmpget -c my_comm -v 2

snmpwalk works, but snmpget doesn't?

2011-03-17 Thread Scott Baker
Am I missing something here, or is this totally broken? snmpwalk -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 SNMPv2-SMI::enterprises.9.10.27.1.2.1.1.0 = INTEGER: 0 :snmpget -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 SNMPv2-SMI::enterprises.9.10.27.1.2.1.1

Re: multiple snmpget on tables

2011-03-17 Thread Dave Shield
requests on same entries > within the table. Hmmm... that definitely sounds wrong. > When I send the following > snmpget -c public 192.168.10.146 inspektor.3.3.1.1.0x8801   > inspektor.3.3.1.2.0x8801 > inspektor.3.3.1.3.0x8801 inspektor.3.3.1.4.0x8801 > inspektor.3

Re: multiple snmpget on tables

2011-03-16 Thread normanraedke
send the following snmpget -c public 192.168.10.146 inspektor.3.3.1.1.0x8801 inspektor.3.3.1.2.0x8801 inspektor.3.3.1.3.0x8801 inspektor.3.3.1.4.0x8801 inspektor.3.3.1.5.0x8801 inspektor.3.3.1.6.0x8801 inspektor.3.3.1.7.0x8801 inspektor.3.3.1.8.0x8801 I receive the following. INDUSOL-MODULAR

Re: multiple snmpget on tables

2011-03-16 Thread Dave Shield
On 16 March 2011 12:13, wrote: > i have some problems with multiple snmpget requests on a table. What exactly do you mean by "multiple snmpget requests"? Do you mean issuing a series of individual GET requests for entries within a single table? Or issuing a single GET requests lis

  1   2   3   4   5   >