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
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
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)
--
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, &
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
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 ???
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 ???
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
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
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
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
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
> >
> > 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
;
>
> ### 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
@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
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.
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.
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
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
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
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
>>
>>
>>
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
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
*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
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
>
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
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
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
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
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.
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
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
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
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
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
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
) 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
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
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
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
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
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
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
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
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
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
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
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,
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'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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,
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
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:
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
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.
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
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
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
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
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
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.
&
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
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
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
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
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
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
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
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
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:
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
> 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
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
> 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
&
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
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
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
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
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 - 100 of 492 matches
Mail list logo