-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generator: Add a Dockerfile for local docker image * Generator : Add static filters for OID index * Collector - Add dynamic filter before scraping. Keep collector stateless --------- Signed-off-by: Sébastien Coavoux <[email protected]>
- Loading branch information
1 parent
87bf22c
commit 17510da
Showing
7 changed files
with
396 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM golang:latest | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y libsnmp-dev p7zip-full | ||
|
||
COPY ./generator /bin/generator | ||
|
||
WORKDIR "/opt" | ||
|
||
ENTRYPOINT ["/bin/generator"] | ||
|
||
ENV MIBDIRS mibs | ||
|
||
CMD ["generate"] |
Oops, something went wrong.