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 -o option (max message size) in check_snmp_win #69

Merged
merged 1 commit into from
Jun 18, 2020

Conversation

Mvedrines
Copy link

@Mvedrines Mvedrines commented Feb 24, 2020

Hi,

The check_snmp_win plugin frequently runs into "ERROR: Process name table : The message size exceeded the buffer maxMsgSize of 5000.".

I thought I'd just implement the -o option allowing to override maxMsgSize through the command line, as already done in other plugins, for example check_snmp_process.pl.

(successfully tested against a Windows 10 machine with system SNMP service)

Here is the patch for the plugin.
Then what is the process to get the associated config for Icinga2 command "snmp-service" updated upstream?

Mathias

@SteScho
Copy link
Owner

SteScho commented Jun 18, 2020

Merged. Thank you.

@SteScho SteScho merged commit 1db9693 into SteScho:master Jun 18, 2020
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