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.

Add option to enable webhooks

See original GitHub issue

Webhooks are not enabled by default with netbox install so additional packages and configuration is required (as per https://netbox.readthedocs.io/en/latest/installation/2-netbox/#webhooks-configuration)

install redis install django-rq via pip

addition configuration required

WEBHOOKS_ENABLED = True
REDIS = {
    'HOST': 'localhost',
    'PORT': 6379,
    'PASSWORD': '',
    'DATABASE': 0,
    'DEFAULT_TIMEOUT': 300,
}

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
laecommented, Nov 13, 2018

Looks like setting up the rq-worker service is missing per https://netbox.readthedocs.io/en/stable/installation/3-http-daemon/#supervisord-installation

@madeinoz67 do you want to punch this one out? Would need a new systemd unit (see netbox.service.j2) only (and no socket since it’s not a web service or w/e), from the brief reading I did.

More documentation (probably not relevant though): https://github.com/rq/django-rq#running-workers

1reaction
laecommented, Nov 8, 2018

I wasn’t actually sure if you wanted to work on this so I had started some work (not much though) - but since you opened a PR, I’ve gone ahead and assigned it to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating webhooks - GitHub Docs
To set up a webhook, go to the settings page of your repository or organization. From there, click Webhooks, then Add webhook. Alternatively,...
Read more >
How to Set Up and Configure Webhooks for Automated ...
Some plans will only be able to select the upload option. Click the Create Webhook button to save all your settings. You'll now...
Read more >
Configuring webhooks in GitHub Enterprise - IBM
Go to the GitHub repository page in the web browser. Click the Settings tab. In the navigation pane, click Hooks. Click Add Webhook....
Read more >
Create an Incoming Webhook - Teams | Microsoft Learn
Open the channel in which you want to add the webhook and select ••• from the top navigation bar. · Select Connectors from...
Read more >
Web Push Webhooks - OneSignal Documentation
How do I enable webhooks? · cors : Defaults to · false . Enable this setting only if your server has CORS enabled...
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