Re: createUser not updated after snmpd stop and start in 5.8

2021-09-13 Thread Larry Hayes
I also create V3 users with the procedure you indicate. When you stop snmpd, it writes the persistence file. So you cannot edit that file while snmpd is running. The procedure that works for me: 1) Stop snmpd 2) Wait for PID of snmpd to go away, if you have a large number of V3 users, it lengthens

createUser not updated after snmpd stop and start in 5.8

2021-09-12 Thread Saleem
. stop the snmpd process with #kill 3.start snmpd After starting snmpd, the createUser entry is removed from /vare/net-snmp/snmpd.con file and also the corresponding usmUser entry with localized keysis not created. I see snmpd is not recognizing the added createUsert line in the persistent file

AIX 7.2 - syntax error and hard stop during make install

2021-07-21 Thread project722
ected make: The error code from the last command is 2. Stop. make: The error code from the last command is 2. Here is my compile command ./configure --prefix=/usr/local/net-snmp --with-mib-modules=if-mib --enable-mfd-rewrites --without-kmem-usage --enable-ipv6 --enable-embedded-perl --disable-sh

snmpd start/stop

2015-05-01 Thread Erik Steggall
Hi all, I'm having trouble adding snmpd to the services. I've cloned and make/make installed from the master branch of the sourceforge re > git clone git://git.code.sf.net/p/net-snmp/code snmp I initially tried running sudo service snmpd start, which returns nothing: > sudo service snmpd start s

NFS failure causing snmpd to stop responding on NET-SNMP version: 5.7.2

2014-07-23 Thread Kevin McDermott (kevinmc)
I am looking for some help in understanding if this is an issue with snmpd ? Running snmpd (NET-SNMP version: 5.7.2) on a centos 6.3 system where an nfs is mounted. Everything runs ok until the nfs is disconnected.. at which point snmpd continues to run but does not respond.. Is this an expecte

Informs stop retrying when the network goes down

2014-03-25 Thread christopher.wu
I have found that when I pull the WAN Ethernet cable from the device I'm running snmptrap on my inform retries will stop immediately. If I pull the cable before I run snmptrap it exits immediately when I launch it. If I wait until it has retried a few times and pull the cable it exits b

Snmpwalk does not stop

2012-12-12 Thread sverre
Executing the following snmpwalk gives me output of 36 scalars (the total amount for this group). snmpwalk -v2c -c public localhost 1.3.6.1.4.1.41450.2.1.9.1 When my handler is finished with 1.3.6.1.4.1.41450.2.1.9.1.36.0 it does not stop there. Some how my handler tries to process

Re: snmpwalk does not stop

2012-11-26 Thread Sverre Moe
uot;Stavros Tsolakos" Kopi: net-snmp-users@lists.sourceforge.net Sendt: 25. november 2012 22:50:06 Emne: Re: snmpwalk does not stop On 25 November 2012 18:24, Stavros Tsolakos wrote: > I am far from an SNMP expert, but shouldn't some function return > SNMP_ENDOFMIBVIEW? No.

Re: snmpwalk does not stop

2012-11-25 Thread Dave Shield
On 25 November 2012 18:24, Stavros Tsolakos wrote: > I am far from an SNMP expert, but shouldn't some function return > SNMP_ENDOFMIBVIEW? No. At least not from the perspective of the individual MIB handlers. Each MIB handler should simply return without setting a value. The agent driving code

Re: snmpwalk does not stop

2012-11-25 Thread Stavros Tsolakos
Hi. > Snmpwalk for OID: 1.3.6.1.4.1.49463.2.1.9.1 > After it is finished with all scalars under this OID it continues to the > next subtree, which is 1.3.6.1.4.1.49463.2.1.10 and beyond..to the end. I am far from an SNMP expert, but shouldn't some function return SNMP_ENDOFMIBVIEW? This would

snmpwalk does not stop

2012-11-19 Thread Sverre Moe
r a while it settles down and I can begin query the agent again. What am I missing from my code to make it stop the snmpwalk? int handle_snmp(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) { const oid

Re: Stop

2012-01-10 Thread Muruganand Karthikeyan
kill it On Tue, Jan 10, 2012 at 5:30 AM, John Davidson wrote: > How to I Stop the program from running? > > John > > > -- > Write once. Port to many. > Get the SDK and tools to simplify cross-

Re: Stop

2012-01-10 Thread Dave Shield
On 10 January 2012 00:00, John Davidson wrote: > How to I Stop the program from running? Which program? On what operating system? How did you start it? If you're talking about "snmpd" on a Unix-style box (including Mac OS X), then you can terminate it by running &q

Stop

2012-01-10 Thread John Davidson
How to I Stop the program from running? John -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell

Re: how to stop continuoulsy unauthorized access

2011-03-31 Thread Wes Hardaker
> On Tue, 29 Mar 2011 11:24:11 -0700, sunaina mangla > said: sm> Is there anyway by which SNMP agent can come to know about an sm> unauthorized access ? if yes, then probably I can send this info to sm> some other process which can block (using IPtables rules) this IP to sm> access the

how to stop continuoulsy unauthorized access

2011-03-29 Thread sunaina mangla
Hi, My system is running net-snmp-5.6.1. I am running SNMPv3. I want to block the IP address from which there is N (say 5) number of continously unauthoruzed access of the system. Is there anyway by which SNMP agent can come to know about an unauthorized access ? if yes, then probably I can sen

Re: How to stop deprecated table from responding

2010-10-06 Thread kavita raghunathan
Thank you! --- On Wed, 10/6/10, Ryota YUSHINA wrote: > From: Ryota YUSHINA > Subject: Re: How to stop deprecated table from responding > To: "kavita raghunathan" > Cc: net-snmp-users@lists.sourceforge.net > Date: Wednesday, October 6, 2010, 12:10 PM > Hi, > &

Re: How to stop deprecated table from responding

2010-10-06 Thread Ryota YUSHINA
yushina (2010/10/07 1:02), kavita raghunathan wrote: > Hello, I did not receive any response to this email. I appreciate if someone > knows the answer or can give me some ideas. > Thanks, > Kavita > > --- On Fri, 10/1/10, kavita raghunathan wrote: > >> From: kavita raghu

Re: How to stop deprecated table from responding

2010-10-06 Thread kavita raghunathan
Hello, I did not receive any response to this email. I appreciate if someone knows the answer or can give me some ideas. Thanks, Kavita --- On Fri, 10/1/10, kavita raghunathan wrote: > From: kavita raghunathan > Subject: How to stop deprecated table from responding > To: net-s

Re: How to stop deprecated table from responding

2010-10-01 Thread Tsolakos Stavros
Hi. > AT Table is deprecated in mibII, yet net-snmp responds. How can I get it to > not respond without removing any code ? Is this possible ? > Have a look at the -I option. Perhaps starting snmpd with '-I atTable' or something similar, could work. HTH, Stavros

How to stop deprecated table from responding

2010-10-01 Thread kavita raghunathan
Hello, AT Table is deprecated in mibII, yet net-snmp responds. How can I get it to not respond without removing any code ? Is this possible ? I'm using agent net-snmp 5.5 over linux. Thanks, Kavita -- Start unc

Stop

2010-07-06 Thread MICHAEL KOFKA
-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Net-snmp-users

Re: stop trapd serivce on windows timeout?

2010-06-04 Thread Bart Van Assche
Hello Huy, Please file a bug report or a patch for this issue such that it doesn't get forgotten. Bart. On Mon, May 24, 2010 at 6:31 AM, Snmp Nmcsnmp wrote: > On windows XP service pack 3 it does not seem to stop in a timely manner. > If I put in the call WSACancelBlockingCal

Re: stop trapd serivce on windows timeout?

2010-05-24 Thread Bart Van Assche
that is triggered e.g. once per second. This will limit the timeout argument of select(). See also the documentation of snmp_alarm_register() on http://www.net-snmp.org/dev/agent/group__snmp__alarm.html. * Or, more elegant, use a socket pair to let select() return when a service stop is requested

Re: stop trapd serivce on windows timeout?

2010-05-23 Thread Snmp Nmcsnmp
On windows XP service pack 3 it does not seem to stop in a timely manner. If I put in the call WSACancelBlockingCall() then it break out fine. I will test it on several version of windows and will broadcast what I learn from it. thanks, Huy From: Bart Van

Re: stop trapd serivce on windows timeout?

2010-05-22 Thread Bart Van Assche
Hello Huy, The Win32 snmptrapd calls closesocket() on the UDP socket(s) owned by snmptrapd to make select() stop. While this seems to work with some Windows versions (e.g. Windows XP), this is undocumented Winsock behavior. So whether or not this works may depend on the Windows version. On which

Re: stop trapd serivce on windows timeout?

2010-05-21 Thread Bart Van Assche
On Fri, May 21, 2010 at 7:38 PM, Snmp Nmcsnmp wrote: > Stop net-snmp trapd on windows timeout and it think it hang on the select. > Does anyone have run into the same issue? or have a solution to solve it? > I haven't seen this so far. With which version did this occur ? And

stop trapd serivce on windows timeout?

2010-05-21 Thread Snmp Nmcsnmp
Stop net-snmp trapd on windows timeout and it think it hang on the select. Does anyone have run into the same issue? or have a solution to solve it? thanks, Huy

Re:"snmpd restart" causes subagent to stop sending traps

2009-03-24 Thread Pavel Hrdina
answer. Paul > Original message > From: Pavel Hrdina > Subject: "snmpd restart" causes subagent to stop sending traps > Date: 19.3.2009 15:23:42 > > Is the Net-SNMP library designed in a way to "sur

"snmpd restart" causes subagent to stop sending traps

2009-03-19 Thread Pavel Hrdina
Is the Net-SNMP library designed in a way to "survive" a restart cycle of snmpd daemon? I am facing a problem when my AgentX subagent stops sending traps after the snmpd daemon has been restarted. The subagent is a part of other program (log server) so it is not desirable for it to require a re

Re: stop snmptrapd

2006-06-05 Thread Thomas Anders
Sherry Chen wrote: > It's Window version 5.3.0.1. Have you read the instructions in README.win32? There should be net start "Net-SNMP Trap Handler" net stop "Net-SNMP Trap Handler" and the like. +Thomas -- Thomas Anders (th

Re: stop snmptrapd

2006-06-05 Thread Thomas Anders
Sherry Chen wrote: > Is there a command to stop snmptrapd? > Trap is started using this command "snmptrapd -Lo -t -f >> test.txt".Is > there a way stop it without manaully enter "Ctr-C"? Only generic kill, pkill etc. > The "-Lf" log to text f

stop snmptrapd

2006-06-05 Thread Sherry Chen
Is there a command to stop snmptrapd? Trap is started using this command "snmptrapd -Lo -t -f >> test.txt".Is there a way stop it without manaully enter "Ctr-C"? The "-Lf" log to text file option isn't working. Can anyone adv