Comments (10)
Again - thank you for all of this - I am leaning much about how scripting works and I sincerely thank you.
You are welcome. ;)
If this is not the best way to ask questions, as these are not code issues necessarily, please let me know.
This is open for whatever kind of discussion. Github decided to call it "issues". :-p
Questions - I am looking through this and trying to understand the "several" checks aspect of this script. If I understand correctly the default if =>5? So if the time out is 5s then it would roughly check for a period of 25 seconds before initiating the email?
Correct.
Also - if I was going to turn an interface on/off or enable/disable a firewall rule would I add them as I have below in my example as SET CUSTOM ACTIONS HERE?
Yes.
Wondering if adding support for hooks makes sense... Something like up-hook=/ interface disable ..., down-hook=...
. This would work exactly like netwatch's up-script
and down-script
, but with the state machine (several checks) on top.
from routeros-scripts.
Wondering` if adding support for hooks makes sense... Something like up-hook=/ interface disable ..., down-hook=.... This would work exactly like netwatch's up-script and down-script, but with the state machine (several checks) on top.
I think that would be very helpful and a much welcomed enhancement.
Also - to anyone else looking this tool, I highly recommend watching eworm's MUM presentation. It is fantastic and you will learn a great deal. Well done and congrats!
p.s. Sorry about the open/closed thing. Still trying to get the hang of this. 170th star left :-)
from routeros-scripts.
Please have a look at 1c10044 (or update and try it...).
Only down-hook
is available, as up-hook
would do the same as netwatch's up-script
.
from routeros-scripts.
Why did you post the link to Mikrotik RouterOS automatic backup and update script?
I have similar scripts in my repository.
from routeros-scripts.
Please have a look at 1c10044 (or update and try it...).
Only
down-hook
is available, asup-hook
would do the same as netwatch'sup-script
.
I will - thank you!
from routeros-scripts.
Why did you post the link to Mikrotik RouterOS automatic backup and update script?
I have similar scripts in my repository.
I am not sure what you mean? I posted it in here? I apologize and did not mean to please remove it.
from routeros-scripts.
It's gone, so I guess you removed it yourself.
If my change suits your needs feel free to close, else complain. ;)
from routeros-scripts.
Ah - now I get it. You saw it in-between the time I mistakenly posted it and removed it. Embarrassingly, I was trying to figure out how to quote your post and tried to copy and paste. That link was in my clipboard so it pasted instead and posted the comment.... then I hit close and comment and it went downhill from there :-(. All fixed now I hope and I apologize.
All that said - I have some unique thoughts in general about how these "general backup and update" scripts work. None seem to fit what I am looking for in my use case. If you are interested let me know and I would be happy to share, perhaps my intentions would have some value for what you have. To be clear, I am not 100% certain your script does not already accomplish what I am after, but I will do my due diligence soon. Perhaps a conversation better had offline?
Certainly no complaints from me! This is perfect. I will reply back if I have issues. Thanks for all of your hard work. I owe you a donation for your work. you can count on it when I can.
Closing now....
from routeros-scripts.
All that said - I have some unique thoughts in general about how these "general backup and update" scripts work. [...]
Feel free to open a new issue or contact me via mail, Telegram or whatever.
from routeros-scripts.
Thank you sir - I will post an email to you later after I have given yours solution careful consideration. I welcome your thoughts on my update/backup needs.
from routeros-scripts.
Related Issues (20)
- 64k limit problem for "tool fetch url" HOT 1
- $ScriptInstallUpdate: Policies differ for script 'global-functions' and its scheduler 'global-scripts'! HOT 1
- netwatch + sendNotification HOT 2
- Add html support to notification telegram HOT 1
- log-forwarding: non expected messages are still forwarded HOT 2
- check-routeros-update and other similar scripts suggested scheduler time HOT 12
- ADD username/password auth for ntfy HOT 7
- Failed Telegram Notification HOT 9
- notification doesn't stat from netwatch HOT 3
- Feature request - optional backup-upload notification HOT 2
- backup-email / backup-upload HOT 7
- How to write a script to obtain WiFi signals and snr? HOT 1
- Self-hosted ntfy.sh certificate issue HOT 3
- Restore LogPrintExit2 for backward compatibility HOT 4
- [Observation] lte/firmware-upgrade: Using once causes the command to not wait for version check to complete before returning a result HOT 1
- Set Email with TLS, Starttls HOT 1
- version 7.15.2 - crash and error HOT 2
- Keep Crash on HeX ROS 7.15.2 HOT 2
- RoutesOS 6 Branch HOT 2
- Backup Upload via SFTP not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routeros-scripts.