★ IMC V9 syslog upgrade alarm

2023-04-03 18:57:05 Published
  • 0 Followed
  • 0Collected ,1004Browsed

Network Topology

Syslog source----IMC



Problem Description

IMC V9 syslog upgrade alarm



Process Analysis

IMC V9 syslog upgrade alarm.

IMC can convert syslog to trap and then generate alarm



Solution

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.


Please rate this case:   
0 Comments

No Comments

Add Comments: