Re: SIGHUP for changing SNMP agent Port
Feroz <[email protected]> Wed, 10 Jan 2024 11:47:52 +0530
| Newsgroups | gmane.network.net-snmp.devel,gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CA+ZN1cf1aSoiztLpJUd8=Cco7SsyfhrKbxJ4CyLQM9H4kWZTMg@mail.gmail.com> |
--===============6546350199802654870== Content-Type: multipart/alternative; boundary="000000000000c0c78c060e9164e2" --000000000000c0c78c060e9164e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable IMO we need to revert this patch, as it would cause issues in production. This is a partial fix. -Feroz On Tue, Jan 9, 2024 at 2:35=E2=80=AFPM Vivek Aditya <[email protected]= > wrote: > Thanks for quick response > > I am working on this feature and able to achieve partial success. There i= s > 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 > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > --=20 Regards, Feroz Ahmed --000000000000c0c78c060e9164e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">IMO we need to revert this patch, as it would cause issues= in production.<div>This is a partial fix.<br><div><br><div>-Feroz</div></d= iv></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma= il_attr">On Tue, Jan 9, 2024 at 2:35=E2=80=AFPM Vivek Aditya <<a href=3D= "mailto:[email protected]">[email protected]</a>> wrote:<br></= div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Than= ks for quick response<div><br></div><div>I am working on this feature and a= ble to achieve partial success. There is one use case where it does not wor= k. It's a pretty small code change.=C2=A0Please take a=C2=A0look 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.<br><br>review li= nk - <a href=3D"https://github.com/net-snmp/net-snmp/pull/769" target=3D"_b= lank">https://github.com/net-snmp/net-snmp/pull/769</a><br><br></div></div>= <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:[email protected]= urceforge.net" target=3D"_blank">[email protected]</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Vivek Aditya= <<a href=3D"mailto:[email protected]" target=3D"_blank">vivekadity= [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> _______________________________________________<br> Net-snmp-coders mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/net-snmp-coders" re= l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/list= info/net-snmp-coders</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">Re= gards,<br>Feroz Ahmed</div> --000000000000c0c78c060e9164e2-- --===============6546350199802654870== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6546350199802654870== 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 --===============6546350199802654870==--