
74
2.1.
esmamset command
F u n c t i o n s
By esmamset command, it can set the following.
1) The rack name can be set when the server is a rack mount type.
2) Select SNMP community name.
3) Enable/Disable Manager Report (SNMP).
4) Add/Remove SNMP Trap Destination IP address.
5) Enable/Disable Manager (TCP_IP In-Band).
6) Add/Remove Manager (TCP_IP In-Band) IP address.
7) Port Number of Manager (TCP_IP In-Band).
8) Enable/Disable the shutdown function.
S e t t i n g s
The usage of esmamset command is as follows.
It is necessary restart of NEC ESMPRO Agent service to reflect the setting that you executed by esmamset
command in working NEC ESMPRO Agent.
# cd /opt/nec/esmpro_sa/tools/
# ./esmamset [OPTION]
:
# /opt/nec/esmpro_sa/bin/ESMRestart
Usage:
esmamset [-r <rackname>] [-c <community>]
[--mi <second>] [--cmo <filename>] [--fmo <filename>]
[-s ON|OFF] [-d <delip|ALLIP …>] [-a <addip …>]
[-t ON|OFF] [-i <ip>] [-p <port>]
[-o ON|OFF]
[-f <filename>]
[-P]
[-h]
* --mi, --cmo, --fmo and -P are supported by NEC ESMPRO Agent Ver.4.5.10-1 or later.
[OPTION] Designation
[OPTION] appoints the following. It can appoint plural options at the same time.
If a blank is included in a value to set, add " (double quotation mark) to front and back.
It set SNMP Community. It can appoint it to up to 33 bytes.
When it appointed the community name which is not set in snmpd.conf, the
setting revises snmpd.conf earlier because it is not changed.
Specify the monitoring interval of Syslog Monitoring. Range is 10 to 3600
seconds.
Set the monitoring object which does not include "/var/log/messages"
Komentáře k této Příručce