[go: up one dir, main page]

Skip to content

Simple bot for network monitoring and state changes publishing into Discord channel.

License

Notifications You must be signed in to change notification settings

T-Troll/DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordBot

Simple bot for host state monitoring and post state changes into Discord channel.
Support for Hanet Smart camera backend added into /camera folder

How to use

  • Copy all .sh files into /root, chmod +x to allow execution.
  • Generate Discord Webhook for the channel you plan to use for notifications (Channel properties (gear icon) - Integrations - Webhooks - New webhook - Copy webhook URL).
  • Put webhook URL into DURL variable.
  • Run /root/checkbot.sh <host or IP> "<host name>". You can add this command to the startup script for automatic execution.
  • For camera:
    • Edit DURL, IP and FPATH (path for store video) into camcheck.sh, camrec.sh, camrec2.sh
    • Edit recording script path into camcheck.sh - use camrec.sh in case you want to start recording after camera alarm, or camrec2.sh if you want continuous recording, but keep files after alarm (higher HDD usage, but more data).
    • Run /root/camcheck.sh or/and add to startup script.

About

Simple bot for network monitoring and state changes publishing into Discord channel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages