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

Add GoSNMP logger #1157

Merged
merged 1 commit into from
May 5, 2024
Merged

Add GoSNMP logger #1157

merged 1 commit into from
May 5, 2024

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Apr 12, 2024

Add a debug logging to calls to GoSNMP.

  • Requires --log.level=debug.
  • Enable with --snmp.debug-packets or snmp_debug_packets=true URL param.

@SuperQ SuperQ force-pushed the superq/retry_debug branch 4 times, most recently from b66b560 to b995d1a Compare April 14, 2024 09:56
@SuperQ
Copy link
Member Author

SuperQ commented Apr 16, 2024

CC @candlerb

@SuperQ SuperQ requested a review from RichiH April 18, 2024 08:02
@SuperQ SuperQ force-pushed the superq/retry_debug branch from b995d1a to 168b11e Compare May 5, 2024 06:49
@SuperQ
Copy link
Member Author

SuperQ commented May 5, 2024

CC @bastischubert

Add a debug logging to calls to GoSNMP.
* Requires `--log.level=debug`.
* Enable with `--snmp.debug-packets` or `snmp_debug_packets=true` URL
  param.

Signed-off-by: SuperQ <[email protected]>
@SuperQ SuperQ force-pushed the superq/retry_debug branch from 168b11e to dc38fc6 Compare May 5, 2024 06:52
@SuperQ SuperQ mentioned this pull request May 5, 2024
@bastischubert
Copy link
Member

Looks good to me 8-)

@SuperQ SuperQ merged commit c35a87e into main May 5, 2024
7 checks passed
@SuperQ SuperQ deleted the superq/retry_debug branch May 5, 2024 10:52
@SuperQ SuperQ mentioned this pull request May 10, 2024
SuperQ pushed a commit that referenced this pull request May 11, 2024
* [CHANGE] Improve generator parse error handling #1167
* [ENHANCEMENT] generator: Add generator HELP override #1106
* [ENHANCEMENT] Refactoring of Scrape process, fixing multiple module issues #1111
* [ENHANCEMENT] Skip using an interactive terminal in "make docker-generate". #1113
* [ENHANCEMENT] Add SNMPInflight metric #1119
* [FEATURE] Support for passing username, password & priv_password as env vars #1074
* [FEATURE] Add GoSNMP logger #1157
* [FEATURE] Add a "snmp_context" parameter to the URL #1163
* [BUGFIX] generator: curl failed #1094
* [BUGFIX] Fix SNMPv3 password configuration #1122
* [BUGFIX] generator: Update generator User-Agent #1133
* [BUGFIX] generator: fix mibs directory specification for parse_errors command #1135
* [BUGFIX] generator: remove extra character from dell iDrac-SMIv1 MIB #1141
* [BUGFIX] Fix do not expand envvars for empty config fields #1148

snmp.yml changes:
* Updated Cisco MIBs #1180
* Updated Cyberpower MIBs #1124
* Updated servertech_sentry3 #1090
* Added support for Dell iDrac  #1125
---------

Signed-off-by: Sebastian Schubert <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants