Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipmon

Usage is rather simple. Use cron to run this script periodically. Update the following with your own information. ALLOWLIST contains the interfaces which must be reported. You can get this information using ip a or ifconfig.

IPINFO_FILEPATH = "/home/user/.ipinformation"
ALLOWLIST = ["mynetiface1", "mynetiface2", "mynetiface3"]
ERROR_FILEPATH = "/home/user/.ipinformation.error"
SLACK_WEBHOOK = "https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYY/6c7e4003b173e3d0c062e850"

Refer the following guide from Slack for help on Webhooks.

https://api.slack.com/messaging/webhooks

About

Monitor your IP address and post a slack message on change.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages