
78
2.2.
esmsysrep command
F u n c t i o n s
By esmsysrep command, it can set the following.
1) Adding of Syslog Monitoring Event.
2) Setting of Syslog Monitoring Event.
3) Deleting of Syslog Monitoring Event.
S e t t i n g s
The usage of esmsysrep command is as follows.
It is necessary restart of NEC ESMPRO Agent service to reflect the setting that you executed by esmsysrep
command in working NEC ESMPRO Agent.
# cd /opt/nec/esmpro_sa/tools/
# ./esmsysrep [ACTION] [SOURCE] [EVENT] [OPTION]
:
# /opt/nec/esmpro_sa/bin/ESMRestart
Usage:
esmsysrep --add -S <sourcename> -E <eventid> -K <keyword1> [OPTION]...
esmsysrep --mod -S <sourcename> -E <eventid> [-K <keyword1>] [OPTION]...
esmsysrep --del -S <sourcename> -E <eventid>
esmsysrep --list
esmsysrep --help
Action-selection option and specification:
--help Show this help message
--list List all event id's information
--add Add an event id
--mod Change the configuration of event id
--del Delete an event id
Common option and specification:
-S <sourcename> Specify the source name
-E <eventid> Specify the event id
-K,-1 <keyword1> Specify the first keyword, and the argument of
-K will be used if -1 and -K are both specified.
It can't be omitted when --add is specified.
Other options(defaults in [ ] will be used if the options are not specified in
--add):
-2 <keyword2> Specify the second keyword. [""]
-3 <keyword3> Specify the third keyword. [""]
-s <ON|OFF> Set ON/OFF of the SNMP report method. [ON]
-i <ON|OFF> Set ON/OFF of the TCP/IP IN-BAND report method. [OFF]
Comentarios a estos manuales