
79
-o <ON|OFF> Set ON/OFF of the TCP/IP OUT-OF-BAND report method. [OFF]
-t <trapname> Set the trap name. [""]
-d <dealmethod> Set the deal method. [""]
-w <watchtime> Set the watch time. ["0-24"]
-c <reportcount> Set the report count. [1]
-r <NONE|SHUTDOWN|REBOOT> Set the action after a report. [NONE]
* --list is supported by NEC ESMPRO Agent Ver.4.5.10-1 or later.
Command use example
# ./esmsysrep --add -S TESTSOURCE -E 80001234 -K test1234 -t "Report of TEST"
# /opt/nec/esmpro_sa/bin/ESMRestart
In the example above,
- It add event ID of "80001234" to source "TESTSOURCE" newly.
- When character string "test1234" is recorded, after NEC ESMPRO Agent service or the reboot of the system,
detect it in syslog (/var/log/messages) by Syslog Monitoring function; it report event ID:80001234 in
SNMP report.
- The trap name to display with AlertViewer becomes "Report of TEST".
[ACTION] Designation
It appoints the following options. It cannot omit it. In addition, it cannot appoint plural options at the same time.
Adding of Syslog Monitoring Event.
Setting of Syslog Monitoring Event.
Deleting of Syslog Monitoring Event.
Output Syslog Event List in CSV format (Comma Separated Value).
"Source","EventID","KeyWord1","KeyWord2","KeyWord3","Manager","ALIVE(A
LIVELevel)","TrapName","DealMethod","WatchTime","ReportCount","AfterRep
ort"
It displays "Source" in AlertViewer of NEC ESMPRO Manager.
It displays "Event ID" in AlertViewer of NEC ESMPRO Manager.
It displays "KeyWord1" which is targeted for a report of Syslog Monitoring
Event.
It displays "KeyWord2" which is targeted for a report of Syslog Monitoring
Event.
It displays "KeyWord3" which is targeted for a report of Syslog Monitoring
Event.
It displays Enable/Disable Manager (SNMP).
ON : Enable
OFF : Disable
It displays Enable/Disable Manager (Express Report).
ON : Enable
OFF : Disable
(It displays “ALIVELevel”.)
It displays "TrapName" in AlertViewer of NEC ESMPRO Manager.
It displays "DealMethod" in AlertViewer of NEC ESMPRO Manager.
It displays monitoring time.
Comentarios a estos manuales