RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2021-02-01 Thread Joan Landry
Try to call  update_config(); instead.

From: chandrasekharreddy chinnapareddygari 
Sent: Saturday, December 12, 2020 10:54 PM
To: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net
Subject: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf 
file

External email: [net-snmp-users-boun...@lists.sourceforge.net]

Hi team,
I'm using net-snmp 5.8 version .My requirement is conf files should updtae 
without restarting snmpd .

I'm sending SIGHUP signal to update SNMP data with out restarting snmpd . 
snmpv3 details are not updating .
Please help me how to proceed further.


Thanks,
Chandra.



Get Outlook for 
Android

Please see our privacy statement at 
https://www.adva.com/en/about-us/legal/privacy-statement for details of how 
ADVA processes personal information.
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


RE: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2021-01-05 Thread Joan Landry
Thanks – but my question was regarding actually being the master agent and 
internally updating the net-snmp library with data received via a CLI.
I believe the only way to do this is via the snmpd.conf file.
So any info on this would be greatly appreciated.
Thanks,


From: Larry Hayes 
Sent: Monday, December 14, 2020 10:48 AM
To: chandrasekharreddy chinnapareddygari 
Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net
Subject: Re: Snmpv3 users details are not deleting from 
/var/net-snmp/snmpd.conf file

External email: [net-snmp-users-boun...@lists.sourceforge.net]

I am no expert, but do deal with creating and deleting SNMP v3 users in my job.

You may have to use the tool, snmpuser to remove V3 users without restarting 
the snmpd daemon.

From the man page:
" snmpusm is an SNMP application that can be used to do simple maintenance on 
the users known to an SNMP agent, by manipulating the agent's User-based 
Security Module (USM) table. The user needs write access to the usmUserTable 
MIB table. This tool can be used to create, delete, clone, and change the 
passphrase of users configured on a running SNMP agent."




On Sat, Dec 12, 2020 at 9:55 PM chandrasekharreddy chinnapareddygari 
mailto:chandrasekhar...@hotmail.com>> wrote:
Hi team,
I'm using net-snmp 5.8 version .My requirement is conf files should updtae 
without restarting snmpd .

I'm sending SIGHUP signal to update SNMP data with out restarting snmpd . 
snmpv3 details are not updating .
Please help me how to proceed further.


Thanks,
Chandra.



Get Outlook for 
Android<https://urldefense.com/v3/__https:/aka.ms/ghei36__;!!PIqRGrUndTen!UrokTSk2NGdWBofBJMrtgwyJgDXs2KLNFXTPV2uqeTZbuPHnNln2NRUjUybRdg$>
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net<mailto:Net-snmp-coders@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders<https://urldefense.com/v3/__https:/lists.sourceforge.net/lists/listinfo/net-snmp-coders__;!!PIqRGrUndTen!UrokTSk2NGdWBofBJMrtgwyJgDXs2KLNFXTPV2uqeTZbuPHnNln2NRV5PZweqA$>

Please see our privacy statement at 
https://www.adva.com/en/about-us/legal/privacy-statement for details of how 
ADVA processes personal information.
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-15 Thread Wes Hardaker via Net-snmp-coders
chandrasekharreddy chinnapareddygari 
writes:

> I'm using net-snmp 5.8 version .My requirement is conf files should updtae
> without restarting snmpd .
> 
> I'm sending SIGHUP signal to update SNMP data with out restarting snmpd .
> snmpv3 details are not updating .
> Please help me how to proceed further.

I'm confused about how you're going about adding and deleting users?
Are you doing it by putting users into a configuration file?  If so,
which one?  Are you doing it using the snmpusm command to create new
users?  Once they're created, are you editing the files to remove the
user or using snmpusm to delete them?

-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net


___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-14 Thread chandrasekharreddy chinnapareddygari
Thanks Larry Hayes ,
I too have same question as Joan Landry  has


Thanks,
Chandra




Get Outlook for Android<https://aka.ms/ghei36>


From: Joan Landry 
Sent: Monday, 14 December, 2020, 21:26
To: Larry Hayes; chandrasekharreddy chinnapareddygari
Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net
Subject: RE: Snmpv3 users details are not deleting from 
/var/net-snmp/snmpd.conf file

Thanks – but my question was regarding actually being the master agent and 
internally updating the net-snmp library with data received via a CLI.
I believe the only way to do this is via the snmpd.conf file.
So any info on this would be greatly appreciated.
Thanks,


From: Larry Hayes 
Sent: Monday, December 14, 2020 10:48 AM
To: chandrasekharreddy chinnapareddygari 
Cc: net-snmp-coders@lists.sourceforge.net; net-snmp-us...@lists.sourceforge.net
Subject: Re: Snmpv3 users details are not deleting from 
/var/net-snmp/snmpd.conf file

External email: [net-snmp-users-boun...@lists.sourceforge.net]

I am no expert, but do deal with creating and deleting SNMP v3 users in my job.

You may have to use the tool, snmpuser to remove V3 users without restarting 
the snmpd daemon.

>From the man page:
" snmpusm is an SNMP application that can be used to do simple maintenance on 
the users known to an SNMP agent, by manipulating the agent's User-based 
Security Module (USM) table. The user needs write access to the usmUserTable 
MIB table. This tool can be used to create, delete, clone, and change the 
passphrase of users configured on a running SNMP agent."




On Sat, Dec 12, 2020 at 9:55 PM chandrasekharreddy chinnapareddygari 
mailto:chandrasekhar...@hotmail.com>> wrote:
Hi team,
I'm using net-snmp 5.8 version .My requirement is conf files should updtae 
without restarting snmpd .

I'm sending SIGHUP signal to update SNMP data with out restarting snmpd . 
snmpv3 details are not updating .
Please help me how to proceed further.


Thanks,
Chandra.



Get Outlook for 
Android<https://urldefense.com/v3/__https:/aka.ms/ghei36__;!!PIqRGrUndTen!UrokTSk2NGdWBofBJMrtgwyJgDXs2KLNFXTPV2uqeTZbuPHnNln2NRUjUybRdg$>
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net<mailto:Net-snmp-coders@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders<https://urldefense.com/v3/__https:/lists.sourceforge.net/lists/listinfo/net-snmp-coders__;!!PIqRGrUndTen!UrokTSk2NGdWBofBJMrtgwyJgDXs2KLNFXTPV2uqeTZbuPHnNln2NRV5PZweqA$>

Please see our privacy statement at 
https://www.adva.com/en/about-us/legal/privacy-statement for details of how 
ADVA processes personal information.

___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-14 Thread Larry Hayes
I am no expert, but do deal with creating and deleting SNMP v3 users in my
job.

You may have to use the tool, snmpuser to remove V3 users without
restarting the snmpd daemon.

>From the man page:
" *snmpusm* is an SNMP application that can be used to do simple
maintenance on the users known to an SNMP agent, by manipulating the
agent's User-based Security Module (USM) table. The user needs write access
to the usmUserTable MIB table. This tool can be used to create, delete,
clone, and change the passphrase of users configured on a running SNMP
agent."




On Sat, Dec 12, 2020 at 9:55 PM chandrasekharreddy chinnapareddygari <
chandrasekhar...@hotmail.com> wrote:

> Hi team,
> I'm using net-snmp 5.8 version .My requirement is conf files should updtae
> without restarting snmpd .
>
> I'm sending SIGHUP signal to update SNMP data with out restarting snmpd .
> snmpv3 details are not updating .
> Please help me how to proceed further.
>
>
> Thanks,
> Chandra.
>
>
>
> Get Outlook for Android 
> ___
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders