Request Poller Get Started Help #152
-
Hello, I come here to ask for a bit of help. Validity pollers have come to attention at work since we have an endpoint which serves us devices config. To explain more in detail, we have a sort of poller of our own, which when we access Now since we only have to do a GET request to the endpoint to get the config, I think what suits us the best are custom pollers. Am I right ? Also this issue : #151 might be linked to my idea. Also I read the doc for Custom Poller and there is no info on where the custom poller file should be located ? I am using Netbox Docker and as I am a beginner in Python/Django, could you help me locate a suitable location for my files to be stored at ? Thanks a lot for what you do ! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hey @aascedu, let's break it down:
In this example particular command URLs do no participate in the final URL expression, so you can leave any arbitrary value inside URL param of the command. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That’s where I don’t get what I should do,
I have used data sources with Validity, (both Git, Local sources) but I
thought that polymers where different in the way that they would get the
config and replace the file from the data sources or create one I guess ?
Am I wrong ?
Am I completely wrong ?
…On Tue 18 Feb 2025 at 16:08, Anton ***@***.***> wrote:
You should start with the info provided by the error: "no bound data
file". Does this file really exist inside a data source?
—
Reply to this email directly, view it on GitHub
<#152 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2DITZCEU2EVNX7D7JJWUVL2QNED5AVCNFSM6AAAAABXI4XSCOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRTHAYTMMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Your configs are the files (Data File instances) inside "Validity Polling" data source. You should go there (to Validity Polling data source page) and check out these files. If device_config_path is defined, it overrides device_command_path (in most cases you don't need device_config_path for Validity Polling) |
Beta Was this translation helpful? Give feedback.
Yep, in this case you have to proceed with custom poller (and wait till #151 is fixed)