Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation_notifier - only run when internal server is reachable? #59

Open
miawri opened this issue Apr 28, 2016 · 4 comments
Open

deprecation_notifier - only run when internal server is reachable? #59

miawri opened this issue Apr 28, 2016 · 4 comments

Comments

@miawri
Copy link

miawri commented Apr 28, 2016

It would be great if we configure the notifier to launch our application management system (munki) off the back of the notifier using munki links. The problem with this is if the user is off LAN at the time, they wouldn't be able to do much about it.

Is it possible to configure the deprecation_notifier to only notify if a configurable url / ip address is reachable?

Thanks!

@russellhancox
Copy link
Contributor

The simplest way to add this would be to have a script (bash/Python) that the LaunchAgent starts and that script tries to contact your management server and runs deprecation_notifier itself if appropriate.

@miawri
Copy link
Author

miawri commented Apr 28, 2016

Thanks for the quick reply!
Once deprecation_notifier has been started by the LaunchAgent won't it continue to run (and notify) even if they move off LAN?

@russellhancox
Copy link
Contributor

Ah, good point, I need more coffee.

In that case changes to deprecation_notifier would be needed to add this. If you feel comfortable doing this, we'd happily accept a pull request. If not, we'll try and get to this when we can but it might be a while.

@miawri
Copy link
Author

miawri commented Apr 28, 2016

I'd be starting from scratch so definitely not comfortable. You may get there before me!

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants