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

CheckSNMP does not report the problem for server warnings/errors #42

Open
sjthespian opened this issue Dec 7, 2022 · 0 comments
Open

Comments

@sjthespian
Copy link

When the server load exceeds the limits it the snmpd config, CheckSNMP reports a warning or critical error with no information about what the error actually is. For example, the notification reads CheckSNMP WARNING: Warning state detected with no other information.

Running with debug shows the full information, for example:

/opt/sensu-plugins-ruby/embedded/bin/check-snmp.rb -t 10 -C xxxxxxxx --debug
DEBUG OUTPUT:
#<SNMP::VarBind:0x00005570c77ffac0 @name=[1.3.6.1.4.1.2021.10.1.3.1], @value="14.77">
CheckSNMP WARNING: Warning state detected

Shouldn't this report something like: CheckSNMP WARNING: Warning state detected - 1.3.6.1.4.1.2021.10.1.3.1=14.77 (or even better, laLoad=14.77 if mibs are available)?

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

No branches or pull requests

1 participant