Dell OpenManage Essentials Version 1.0 Instrukcja Użytkownika Strona 170

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 169
160 Troubleshooting
To enable and configure SNMP traps:
NOTE: Ensure that the SNMP protocol is open in the ESX firewall. For ESX 3.5, use
the Remote CLI. For ESX 4.x, use the vSphere CLI. The commands for both are same.
1
Run the
vicfg-snmp.pl
command to see if SNMP is enabled:
vicfg-snmp --show
NOTE: By default, vicfg-snmp.pl is located in the C:\Program
Files\VMware\VMware vSphere CLI\bin directory after the VMware vSphere
CLI installation. Run the vicfg-snmp --help command for a full list of options.
2
Specify the communities and trap targets using the following command:
vicfg-snmp.pl --server <hostname> --username
<username> --password <password> -t <target
hostname>@<port>/<community>
NOTE: In ESX 4.
x
, you may need to use the -c <community> flag.
For example, to send SNMP traps from the host host.example.com, to port
162 on target.example.com, using the public community, use the
following command:
vicfg-snmp.pl --server host.example.com --username
root --password password -t
target.example.com@162/public
NOTE: To prevent clear text display of the user password, remove the --
password portion. You are then prompted to enter the password, and the entry
is hidden.
3
To enable the SNMP service, run the following command:
vicfg-snmp.pl --server <hostname> --username
<username> --password <password> --enable
To verify SNMP settings, run the following command:
vicfg-snmp.pl --server <hostname> --username
<username> --password <password> --show
4
Optionally, send a test trap to verify that the agent is configured correctly
using the following command:
vicfg-snmp.pl --server <hostname> --username
<username> --password <password> --test
banderaUG.book Page 160 Friday, May 11, 2012 2:40 PM
Przeglądanie stron 169
1 2 ... 165 166 167 168 169 170 171 172 173 174 175 ... 195 196

Komentarze do niniejszej Instrukcji

Brak uwag