iquerySecName and V3 User
"Martin SCHWARZBAUER" <[email protected]> Mon, 19 Apr 2021 08:39:24 +0200
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OFED3BA80A.64FA7D1B-ONC12586BC.0023E2A1-C12586BC.00249103@sprecher-automation.com> |
Hi all! I am using the disman module for linkUp/linkDown trap generation (net-snmp 5.9): notificationEvent linkUpTrap linkUp ifIndex ifAdminStatus ifOperStatus notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus monitor -r 5 -e linkUpTrap "Generate linkUp" ifOperStatus != 2 monitor -r 5 -e linkDownTrap "Generate linkDown" ifOperStatus == 2 authtrapenable 1 As i have seen in the man page, i need to specify a V3 user using ' iquerySecName' or 'agentSecName' to fetch the status and trap can be generated (disman internal)! Now i have one question and one problem: Question: When I only have local V1/V2c user i need to create a V3 user to use the disman stuff (monitor ...)? So no 'monitor' etc. is possible without a local V3 user? Problem: When I have a local V3 user with 'priv' it is not possible to use this user in the 'iquerySecName' because i get error "faile to run mteTrigger query" => When i use a V3 user with 'auth' instead of 'priv' this error message is gone! So it's not possible to use a V3 priv user in the 'iquerySecName'? Any hints? Thank you very much, Martin _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
smime.p7s
(application/pkcs7-signature, 5.2 KB) - not displayed