Hi,
The snmptrap v3 authentication does not seem to be working.
I am using Version: 5.9.1
>From my agent, I issue:
snmptrap -v 3 -u Simon -a MD5 -A SimonPass -l authNoPriv 172.27.37.227
"" coldStart.0
I do receive the trap on my Trap Receiver even if I didn't specify a
Username and
::snmpEnableAuthenTraps.0 = INTEGER: disabled(2)
SNMPv2-MIB::snmpSilentDrops.0 = Counter32: 0
SNMPv2-MIB::snmpProxyDrops.0 = Counter32: 0
SNMPv2-SMI::enterprises.4464.2.3.1.1.1.2.0 = STRING: "NG-STM"
etc ... etc .. etc..
On Wed, Apr 13, 2022 at 10:05 AM Simon Chamlian
wrote:
> Hi,
>
> When
Hi,
When I use the snmpwalk command:
# snmpwalk -v 2c -c private localhost 0.1
ccitt.1 = No Such Object available on this agent at this OID
#
I got the error message above.
Am I missing a MIB?
Thanks,
S.
___
Net-snmp-users mailing list
Hi,
When using snmpinform, I get the messages:
SNMPInform failed: MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Where are these MIB search paths defined?
When I issue:
# net-snmp-config --default-mibdirs
/home/root/.snmp/mibs:/usr/share/snmp/mibs
So it should look for:
d on the error message, are you sure you have all MIBs needed,
> loaded? Try say the device description OID, or the System Up Time OID.
> Just as validation, a suggestion. The communication seems good, just the
> OID rejected?
>
> -DD
> On 03/17/2021 11:19, Simon Chamlian wrote:
&
Hi,
Seems like v1/v2 is blocked while v3 works fine.
*V3 works Fine*
# snmpget -v 3 -u Simon -a MD5 -A simon123 -l authNoPriv localhost
NEM-DCI-MIB::nemDCISnmpTrapPort.0
NEM-DCI-MIB::nemDCISnmpTrapPort.0 = INTEGER: 162
*V1/V2 does not work*
# snmpget -v 2c -c public localhost
#
# cat /etc/services | grep 161
snmp 161/tcp # Simple Net Mgmt Protocol
snmp 161/udp
#
On Fri, Mar 6, 2020 at 4:30 PM David Moriconi (dmoricon)
wrote:
> This error can also happen when port 161 is already in use. Make sure it
> is not the case.
>
>
>
> *From: *Simon Chamlian
pd_log.txt udp:0.0.0.0:161
>
> On Thu, Mar 5, 2020 at 11:53 AM Simon Chamlian
> wrote:
>
>> Hi,
>>
>> When I start snmpd agent, it exists with an error message:
>> Error opening specified endpoint ""
>>
>> I start
Hi,
When I start snmpd agent, it exists with an error message:
Error opening specified endpoint ""
I start as root with:
snmpd -c /home/user/my_snmpd.conf -Lf /tmp/snmpd_log.txt
The config file my_snmpd.conf is very simple:
createUser Simon MD5 "Simon-pass"
rwuser
yes netsnmp 5.7.1, does support v3 traps.
On Fri, Oct 26, 2018 at 3:30 PM LIU Chris (CA)
wrote:
> I am using netsnmp 5.7.1, does it support v3 trap?
>
> From wireshark, it seems sending v2 trap
>
>
>
>
>
> With Best Regards,
>
>
>
> Chris LIU
>
>
> Thales Canada, Transportation Solutions
>
LD_LIBRARY_PATH=/usr/local/lib >> ~/.bashrc
5) in net-snmp-5.7.3/perl$ do
sudo perl Makefile.PL
sudo make
sudo make install
On Wed, Aug 22, 2018 at 2:51 PM, Simon Chamlian
wrote:
> Hi,
>
> I downloaded net-snmp-5.7.3.zip and followed the instructions to install
> it on
Hi,
I downloaded net-snmp-5.7.3.zip and followed the instructions to install it
on my Ubuntu machine:
QUICK INSTRUCTIONS
==
1) Run ./configure
2) make
and I am getting the following error:
libtool: link: gcc -shared -fPIC -DPIC
Hi,
Using Ney-SNMP 5.7.1., I have an agent (v3) running.
The user of this agent is responsible for making the server and he is
complaining that when they change the server to a new server (same machine)
to communicate to agent:
a) They do a GET with empty with empty binding to get the
Hi,
With snmpd.conf creating a userusing *authProtocol* works fine.
For example:
createUser User1 MD5 HelloWorld
rwuser User1 auth
But creating a user with encryption does not work.
I tried:
=
createUser User2 MD5
.
On Fri, Jun 26, 2015 at 11:31 AM, Ajit Ambekar 007aji...@gmail.com wrote:
While compiling use should enable des encryption.
On Jun 26, 2015 8:34 PM, Simon Chamlian simon.chaml...@gmail.com
wrote:
Hi,
With snmpd.conf creating a userusing *authProtocol* works fine.
For example
Hi,
I installed net-snmp my Ubuntu machine. Works well.
simon@Subuntu-2:~/SNMP$ snmpget --version
NET-SNMP version: 5.7.2.1
simon@Subuntu-2:~/SNMP$ snmptranslate -m +MPBC-RMH-MIB -IR -On
mpbcRMHDateTime
.1.3.6.1.4.1.4464.2.1.4.2.3
Now I am trying the perl scripts but it fails:
SNMP_ERR_NOERROR;
}
Thanks,
S
On Tue, Mar 20, 2012 at 5:43 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 16 March 2012 19:39, Simon Chamlian simon.chaml...@gmail.com wrote:
In the request handler function:
How can we get the instance of the request
(i.e., the row number
Hi,
The Table handler functions I get using one of the scripts are:
int xxxTable_handler(
netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info*reqinfo,
netsnmp_request_info *requests)
{
Since there is no answer, I should presume there is no way to compile the
libraries into one application: snmpd?
On Wed, Jan 25, 2012 at 4:46 PM, Simon Chamlian simon.chaml...@gmail.comwrote:
Just a clarification. I am downloading the snmpd onto a board (embedded
Linux).
I realized
Hi,
The C file generated by *mib2c.iterate.conf* gives several errors when
compiled (option 1).
The errors are:
1) The line:
# Determine the first/last column names
2) The structure generated has undefined entries and is duplicated twice:
/* Typical data structure for a row entry */
Hi,
It is hard to decide which config file to use to generate code for a table.
Basically, when I do GetTable from a bowser, in the C code, I would like to:
- create rows
- populate the rows with values
- send response to the browser
- delete the rows (since next time, it will be
Hi,
- How do I activate the DEBUGMSGTL() messages? Where does the messages
go (in a file, console)?
- How do I activate the snmp_log() messages? Where does the messages go
(in a file, console)?
Thanks,
Simon
Hi,
I have the weirdest problem ever!
*I had a MIB (say MIB1) that I compiled. Works fine.*
*I made a new MIB (say MIB2). *
1. Created new C/h files
2. Changed the ./configure --with-mib-modules= ... to use the new
files
3. Deleted all the c and header files related to MIB1.
4.
mpbcRMHMonHpuState
*
Thanks,
S
On Wed, Jan 25, 2012 at 3:11 PM, Simon Chamlian simon.chaml...@gmail.comwrote:
Hi,
I have the weirdest problem ever!
*I had a MIB (say MIB1) that I compiled. Works fine.*
*I made a new MIB (say MIB2). *
1. Created new C/h files
2. Changed the ./configure
-TrapCritical
*
TIA,
S
On Wed, Jan 11, 2012 at 5:21 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 11 January 2012 21:31, Simon Chamlian simon.chaml...@gmail.com wrote:
I'm issuing the following snmptrap command:
snmptrap -v 3 -u testrwauth -a MD5 -A authentication test -l
authNoPriv
Hi,
I'm issuing the following snmptrap command:
snmptrap -v 3 -u testrwauth -a MD5 -A authentication test -l
authNoPriv 172.27.57.34 *42 *MPBC-RMH-MIB::mpbcRMH-Mon-HPU-State
1) This is returning the ObjectID in the summary of my trap window
(i.e, my trap log has 4 columns:
Hi,
snmpinform/snmptrap port number is set to 162 by default.
Is there any way we can change the port number through command line or it
is hard coded?
If not possible in the command line, is it possible to change it in the
code and re-compile (which file is it)?
Thanks,
Simon
Hi,
Is there any explanation on -r RETRIES and -t TIMEOUT options of snmpinform?
The timeout is for each request? In other words, if I have 3 retries, with
timeout of 2ses:
for each request, it waits 2 seconds (6 seconds total)?
Are there any limits on the # of retries (can I set a
Hi,
How do I send a trap on one of my own OID?
I tried:
[root@M54418TWR root]# snmptrap -v 3 -u testrwauth -a MD5 -A
authentication test -l authNoPriv 172.27.57.65 42 mpbcRMHMon-HPU-State
mpbcRMHMon-HPU-State: Unknown Object Identifier (Sub-id not found: (top) -
mpbcRMHMon-HPU-State)
?
Thanks,
Simon
On Thu, Dec 22, 2011 at 4:41 PM, Simon Chamlian simon.chaml...@gmail.comwrote:
Hi,
How do I send a trap on one of my own OID?
I tried:
[root@M54418TWR root]# snmptrap -v 3 -u testrwauth -a MD5 -A
authentication test -l authNoPriv 172.27.57.65 42 mpbcRMHMon-HPU-State
Hi,
I am still trying to compile my mib into the agent running in an embedded
Linux board. I have been told to create the c file/header on the PC, then
cross-compile in my embedded target agent.
So I installed net-snmp on Ubuntu. Seems to be working:
Shield d.t.shi...@liverpool.ac.ukwrote:
On 14 December 2011 17:00, Simon Chamlian simon.chaml...@gmail.com
wrote:
Now I copied my MIB file MPBC-RMH-MIB into same directory.
Into which directory? /usr/share/mibs/netsnmp ?
$ snmptranslate -m +MPBC-RMH-MIB -IR -On mpbcRMH-Mon-HPU-State
Any feedback on this? I am also interested in such a script.
Thanks,
Simon
On Wed, Nov 9, 2011 at 1:11 PM, Suresh kumar skjaiswa...@hotmail.comwrote:
Hello all
i want convert entire MIB object to c/h file using mib2c at once
can any once do this before please let me know .
if not what i
I think what he means (or what I mean) is to have one config file that
converts the whole MIB file (which contains any possible object) into C.
Simon
On Thu, Nov 10, 2011 at 10:30 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 9 November 2011 18:11, Suresh kumar skjaiswa...@hotmail.com
Hi,
After reading the tutorials for “Writing a MIB Module”, it seems that there
are 3 methods of adding our own MIB into the agent:
1) Directly compiled in code
2) Writing a subagent (AgentX), which is another daemon that talks to
snmpd via IPCs
3) Dynamically loaded shared
November 2011 22:24, Simon Chamlian simon.chaml...@gmail.com wrote:
1) In snmpd.conf, I added:
rwuser initial noauth
Have you got a 'createUser initial ... ' line anywhere?
Dave
--
RSA(R) Conference 2012
Save
Shield d.t.shi...@liverpool.ac.ukwrote:
On 8 November 2011 14:38, Simon Chamlian simon.chaml...@gmail.com wrote:
I tried the following:
# snmpusm -v3 172.27.42.191 create initial wes
snmpset: No securityName specified
# snmpusm -v3 -l authNoPriv -a MD5 172.27.42.191 create enzo1
Hi,
I am trying to go through the (
http://www.net-snmp.org/docs/man/snmpusm.html#lbAG) tutorial but without
success.
1) In snmpd.conf, I added:
rwuser initial noauth
2) Started the daemon:
snmpd -a -c snmpd.conf -d -Lf log1.txt
In log1.txt, I see (NET-SNMP version 5.7.1)
3) When I do
#
, Simon Chamlian simon.chaml...@gmail.comwrote:
I took your advice and tried to install net-snmp on my host (Ubuntu PC).
I followed the steps in the installation guide:
QUICK INSTRUCTIONS
==
1) Run ./configure
Done
2) Optionally edit include/net-snmp/net-snmp
://www.net-snmp.org/wiki/index.php/Agent_Architecture
gives the C code to do it but it is not clear.
Thanks,
Simon
On Thu, Nov 3, 2011 at 4:15 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 31 October 2011 18:51, Simon Chamlian simon.chaml...@gmail.com wrote:
I have an embedded board running
...@globaledgesoft.comwrote:
**
Hi Simon,
Please follow the following steps.
[root@venkatesh perl]# cd net-snmp-5.7.pre1/perl
[root@venkatesh perl]# make
[root@venkatesh perl]# make install
Please try this,
Regards,
Venki.
Simon Chamlian wrote:
Hi,
I have
(similar to open
socket) and listens to incoming Get/Set command and replies back? Is there
such test/template code on the network?
Thanks,
Simon
On Wed, Nov 2, 2011 at 5:02 PM, Simon Chamlian simon.chaml...@gmail.comwrote:
The problem is that the net-snmp is compiled in installed using *LTIB
with code 1
Basically, the snmpd does not recognize the tokens in snmpd.conf, which was
created using snmpconf.
Simon
On Mon, Oct 31, 2011 at 2:51 PM, Simon Chamlian simon.chaml
Hi,
I have an embedded board running Linux/net-snmp (TWR54418 from Freescale).
I am trying to get the agent going on the eval board and create an
application in C, to connect to the agent and return a value to a get/set
command from a mib bowser running on PC.
After reading several tutorials, I
I installed strawberryperl.
I tried:
D:\public\net-snmp-5.6.1\perlperl makehtml.pl -W mpbcRMH-MIB.mib m.html
No errors but creates a 'm.html' with size 0?!?
Any hints?
Thanks,
S.
- Original Message -
From: Brandon Wigfield
To: Dave Shield
Cc: Simon Chamlian ; net
Great.
Being new with PERL, what do I need to run it under WindowsXP.
Thanks a lot.
S.
- Original Message -
From: Dave Shield d.t.shi...@liverpool.ac.uk
To: Simon Chamlian simon.chaml...@mpbc.ca
Cc: net-snmp-users@lists.sourceforge.net
Sent: Friday, February 04, 2011 10:04 AM
Subject
46 matches
Mail list logo