Re: SIGHUP for changing SNMP agent Port
Vivek Aditya <[email protected]> Tue, 9 Jan 2024 14:34:55 +0530
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAEpPruoRZSgy69FgE6uQz8LTj4C5kjjre6wS8is8uGQPnPxDiA@mail.gmail.com> |
--===============8417290120509681218== Content-Type: multipart/alternative; boundary="00000000000063cfc3060e7f9c02" --00000000000063cfc3060e7f9c02 Content-Type: text/plain; charset="UTF-8" Thanks for quick response I am working on this feature and able to achieve partial success. There is one use case where it does not work. It's a pretty small code change. Please take a look at the commit message for the logic and to understand the exact use-case where it isn't working. Any help or suggestion is appreciated. review link - https://github.com/net-snmp/net-snmp/pull/769 On Mon, 8 Jan 2024 at 22:52, Wes Hardaker <[email protected]> wrote: > Vivek Aditya <[email protected]> writes: > > > I want the SNMP to start listening on a new agent port without restart. > > Just sending SIGHUP to snmpd does not work. > > > > Is there a way to do it or has this issue already been fixed? Any help > > would be appreciated. > > That's a good feature request, but I don't think we handle that now > you're right. > -- > Wes Hardaker > Please mail all replies to [email protected] > -- Warm Regards, Vivek Aditya --00000000000063cfc3060e7f9c02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thanks for quick response<div><br></div><div>I am working = on this feature and able to achieve partial success. There is one use case = where it does not work. It's a pretty small code change.=C2=A0Please ta= ke a=C2=A0look at the commit message for the logic and to understand the ex= act use-case where it isn't working. Any help or suggestion is apprecia= ted.<br><br>review link - <a href=3D"https://github.com/net-snmp/net-snmp/p= ull/769">https://github.com/net-snmp/net-snmp/pull/769</a><br><br></div></d= iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On = Mon, 8 Jan 2024 at 22:52, Wes Hardaker <<a href=3D"mailto:hardaker@users= .sourceforge.net">[email protected]</a>> wrote:<br></div><b= lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft:1px solid rgb(204,204,204);padding-left:1ex">Vivek Aditya <<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a= >> writes:<br> <br> > I want the SNMP to start listening on a new agent port without restart= .<br> > Just sending SIGHUP to snmpd does not work.=C2=A0<br> > <br> > Is there a way to do it or has this issue already=C2=A0been=C2=A0fixed= ? Any help<br> > would be appreciated.<br> <br> That's a good feature request, but I don't think we handle that now= <br> you're right.<br> -- <br> Wes Hardaker<br> Please mail all replies to <a href=3D"mailto:[email protected]= rge.net" target=3D"_blank">[email protected]</a><br> </blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr">Warm Regards,<div>Vivek Aditya</div></div></div> --00000000000063cfc3060e7f9c02-- --===============8417290120509681218== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8417290120509681218== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders --===============8417290120509681218==--