Syslog source----IMC
IMC V9 syslog upgrade alarm
IMC V9 syslog upgrade alarm.
IMC can convert syslog to trap and then generate alarm
1. Configure syslog server on the network device
[H3C]info-center enable
[H3C]info-center loghost 172.16.1.77
A syslog is generated on the device,for example, the log of the "info-center enable" command is executed on the device.
IMC Syslog Browse and receives the syslog sent by the device.
2. Firstly adding a syslog template to resolve syslog.
syslog containing "info-center" text will be matched by this template, "(.+)" is a regular expression, which means that it can match any content.
3. Copy the syslog content and test to see if it can be parsed by the syslog template.
4. Create a syslog upgrade alarm rule, set the syslog count to 1, select the created analysis template, and click OK.
5. Verify: Type the "command info-center enable"on the device, and then iMC receives the syslog.
6. Syslog will generate a trap.
7. Trap will convert to alarm
8. Tips: If there is no network device, we can also use the attached syslog generator to generate syslog and send syslog to iMC.