Code Monkey home page Code Monkey logo

Comments (10)

eworm-de avatar eworm-de commented on August 25, 2024 1

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.

tspinoso avatar tspinoso commented on August 25, 2024

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.

eworm-de avatar eworm-de commented on August 25, 2024

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.

eworm-de avatar eworm-de commented on August 25, 2024

Why did you post the link to Mikrotik RouterOS automatic backup and update script?
I have similar scripts in my repository.

from routeros-scripts.

tspinoso avatar tspinoso commented on August 25, 2024

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.

I will - thank you!

from routeros-scripts.

tspinoso avatar tspinoso commented on August 25, 2024

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.

eworm-de avatar eworm-de commented on August 25, 2024

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.

tspinoso avatar tspinoso commented on August 25, 2024

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.

eworm-de avatar eworm-de commented on August 25, 2024

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.

tspinoso avatar tspinoso commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.