#๐Ÿ”’ Tried Building a Router Monitoring Script . Would Love Your Thoughts.

21 messages ยท Page 1 of 1 (latest)

dusk pythonBOT
#

@fiery chasm

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

fiery chasm
#

I noticed that some routers have features to monitor uptime and other metrics. One of my recently failed routers had this functionality, which inspired me to replicate it by writing a script. The script is designed to ping multiple servers to detect internet outages or high latency and send alerts via Telegram. Additionally, it provides daily, weekly, and monthly status updates through Telegram and logs all activities.

I carefully planned the features, but due to my limited knowledge of programming and Python, I relied heavily on ChatGPT for assistance. I would be truly grateful if you could review the script and share your feedback, suggestions, or critique.

ornate parcel
#

as in you did not use chatbot to write it

fiery chasm
#

used it for all of async code and database code plus complex scenarios

#

I have mentioned that I have heavily used chatGPT

ornate parcel
#

are you telling me that you don't know any python at all?

fiery chasm
#

validation and logging part

fiery chasm
ornate parcel
#

and don't use chatbot as a crutch

fiery chasm
ornate parcel
#

meaning don't rely on chatbot for everything

fiery chasm
#

but out of curiosity I try to create this small helpful projects

ornate parcel
#

you gotta understand the code if you use chatbot

fiery chasm
plucky lark
#

what kind of router is this?

dusk pythonBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.