Skip to content

ArRosid/nms-python-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nms-python-telegram

Network Monitoring System using Python and Telegram

This repository contain python script to doing Network Monitoring System using Python and send the notification to the Telegram

Requirement

To run this repository, you need some python library installed on your computer.
  • Python 2.7
  • pyping
  • telepot

Setup

  1. Create Telegram bot, this telegram bot will used to notify us about the status of server. You can follow tutorial on https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-telegram?view=azure-bot-service-4.0
  2. Clone this repository
  3. Install requirement library
    • virtualenv -p python2 venv
    • source venv/bin/activate
    • pip install -r requirement
  4. Edit script.py. Fill the 'your_token', 'your_chat_id', and your_server
  5. Run the python script and wait for the telegram notification
    • sudo python2 script.py
  6. If you want to run this script automaticcally, you can check crontab and run.sh file

About

Network Monitoring System using Python and Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published