question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Post and Pre commands

See original GitHub issue

It would be really awesome, if you can run some additional arbitrary shell command-line when a route is enabled or disabled.

The idea is to have some options like this per check definition:

pre_disabled_cmd post_disabled_cmd pre_enabled_cmd post_enabled_cmd

I think this would be a very useful addition.

My use case currently is, I would like to be able to actually down the interface as well as withdraw the route for some check and hosts, and of course up the interface then before the relevant route is advertised again.

I would be happy to look at it at some point and submit a merge request, but I’m short on time for it right now. If it magically appeared in the next release, it would be most awesome! 😃

Thanks for a very useful utility.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:37 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
unixsurfercommented, Feb 7, 2019

0.9.0 version is out!

1reaction
jocadocommented, Jan 31, 2019

@unixsurfer Yes you’re correct, and I will be 👍 this was just a quick script for testing.

I look forward to the new release 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: per-command pre/post workflow hooks ...
Atlantis allows the definition of pre/post workflow hooks that apply to all the commands being executed. Sometimes these hooks are only meant to ......
Read more >
and post-commands of a sync-job - FreeFileSync Forum
Hi everybody. I saw freefilesync has the possibility to configure a executable file after a job has been completed, for example 'on ...
Read more >
Pre/Post deployment commands for CodeDeploy?
Pre /Post deployment commands for CodeDeploy? Feature Requests · circle-yml · nathanielks ...
Read more >
How to create a Feature Request - THWACK Documentation
Each product has its own section for Feature Requests. In the Feature Request space click the green "CREATE" button in the top right...
Read more >
452 Send settings per pre-defined command - SourceForge
#452 Send settings per pre-defined command · Command1 is used to probe whether a device is alive. Having the terminal freeze whenever no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found