How to change SNMP community name and move into protocol SNMPv3 [KSV Light Agent]
SNMP daemon on SVM should have the following default settings:
- protocol version: v2c
- rocommunity name: public
- listening address and port: 0.0.0.0:161
- access type: read only
- transport: UDP
- logging: syslog
The following statistics can be received from SVM:
# |
Description |
Name |
Identifier |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4.1 |
CPU Statistics | UCD-SNMP-MIB::systemStats | |||||||||||||
4.2 |
Memory Statistics | UCD-SNMP-MIB::memory | |||||||||||||
4.3 |
Load average statistics | UCD-SNMP-MIB::laTable | |||||||||||||
4.4 |
Disk statisitcs | HOST-RESOURCES-MIB::hrStorageTable | |||||||||||||
4.5 |
Network statistics | IF-MIB::ifTable | |||||||||||||
4.7 |
Amount of desktop VMs connected | KSVLA-MIB::ksvlaProtectedDesktopCount | 1.3.6.1.4.1.23668.1491.1539.1.1 | ||||||||||||
4.8 |
Amount of server VMs connected | KSVLA-MIB::ksvlaProtectedServerCount | 1.3.6.1.4.1.23668.1491.1539.1.0 | ||||||||||||
4.9 |
ODS running status: |
KSVLA-MIB::ksvlaODSStatus | 1.3.6.1.4.1.23668.1491.1539.0.0 | ||||||||||||
4.10 |
ODS queue lenght: amount of VMs awaiting ODS processing | KSVLA-MIB::ksvlaODSQueueLenght | 1.3.6.1.4.1.23668.1491.1539.0.1 | ||||||||||||
4.11 |
Amount of simualtaneously running ODS tasks | KSVLA-MIB::ksvlaODSTaskCount | 1.3.6.1.4.1.23668.1491.1539.0.2 | ||||||||||||
4.12 |
Current percent of an allowed physical memory consumption - In case of watchdog is on use WDSERVER_MAX_MEM const from ScanServerLaunch.sh as maximum - In case of watchdog is off use 100% as maximum |
KSVLA-MIB::ksvlaMemoryConsumption | 1.3.6.1.4.1.23668.1491.1539.3.0 | ||||||||||||
4.13 |
Current percent of an allowed swap consumption |
KSVLA-MIB::ksvlaSwapConsumption |
1.3.6.1.4.1.23668.1491.1539.3.1 |
||||||||||||
4.14 |
Main processes state (running/stopped):
|
Change SNMP community name
- Edit file /etc/snmnp/snmpd.conf
- Change public into the string recommunity on your own
- Save changes
- Restart SNMP daemon - systemctl restart snmpd
Move on SNMPv3
- Stop SNMP daemon - systemctl stop snmpd
- Launch the command - net-snmp-config --create-snmpv3-user -ro -a "authpass" -x "privpass" -X AES -A SHA "user"
- "authpass" is the private key/password for generating HMAC when connecting to snmpd, "privpass" is the private key/password for encrypting snmp traffic, "user" is the username for snmpd.
- "authpass" and "privpass" we can say passwords, which should be generated by you own
- "user" - user name for snmpd
This command will make mpdifications into two files - /etc/snmp/snmpd.conf and /var/lib/net-snmp/snmpd.conf
- Restart SVM
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now