Skip to content

根据日志中的关键字触发报警短信和邮件,适用于交换机,路由器,防火墙,服务器的日志

License

Notifications You must be signed in to change notification settings

hongfeioo/LogScanWarning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

LogScanWarning

Periodical scan the log file , if find a row with a keyword, send email or message to you ,simple and easy to use

1 send message module , labroom

2 scan log program

{"switch_username":"sshagent","switch_password":"WVdSdGFXNDZZV0hCUVkwQTVSRzl3TG14d1FIQmhjM04zTUhKaw==","switch_Cmd_level":2, "switch_command": "ip route-static 10.201.88.0 255.255.255.0 10.10.88.129","switch_ipandport":"10.10.88.151:22","switch_timeout":10}

About

根据日志中的关键字触发报警短信和邮件,适用于交换机,路由器,防火墙,服务器的日志

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages