#๐ Tried Building a Router Monitoring Script . Would Love Your Thoughts.
21 messages ยท Page 1 of 1 (latest)
@fiery chasm
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.
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.
how much of that code did you write yourself?
as in you did not use chatbot to write it
used it for all of async code and database code plus complex scenarios
I have mentioned that I have heavily used chatGPT
so which parts did you write yourself?
are you telling me that you don't know any python at all?
validation and logging part
I know but not alot.
i think you should keep learning python then
and don't use chatbot as a crutch
I totally agree
meaning don't rely on chatbot for everything
but out of curiosity I try to create this small helpful projects
you gotta understand the code if you use chatbot
I understand
what kind of router is this?
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.