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

[network::ubiquiti::unifi::snmp::plugin] : mode virtual-access-points return UNKNOWN: SNMP Table Request: Cant get a single value. #5457

Open
PhilCANDIDO opened this issue Feb 20, 2025 · 1 comment
Labels

Comments

@PhilCANDIDO
Copy link

Hi all !

Quick description

I have a new Unifi Access Point U6-LR. On this device the supervision return the following result :

UNKNOWN: SNMP Table Request: Cant get a single value.

But on older devis like Unifi UAP-AC-Pro-Gen2, I haven't the issue.

How to reproduce

Centreon-engine command executed :

/usr/bin/perl /var/lib/centreon-plugins/src/centreon_plugins.pl --plugin=network::ubiquiti::unifi::snmp::plugin --mode=vi
rtual-access-points --hostname=192.168.3.172 --snmp-version='2c' --snmp-community='public'  --filter-name='' --filter-ssid='' --unknown-status='' --warning-status='' --critical-status='%{status} eq "down"' --warning-total='' --critical-total='' --warning-total-clients-connected='' --critical-total-cl
ients-connected='' --warning-clients-connected='' --critical-clients-connected='' --warning-traffic-in='' --critical-traffic-in='' --warning-traffic-out=
'' --critical-traffic-out='' --verbose --filter-counters='connected'

Environment:

Poller Server : Almalinux 9.5
Release of the plugin : plugins-20250114

This file content the result of command snmpwalk -ObentU -v 2c -c public 192.168.3.172 .1.3.6.1.4.1

unifi-lr-u6.txt

@lucie-dubrunfaut
Copy link
Contributor

Hello :)

When a plugin returns the Cant get a single value error, this doesn’t means that the plugin itself isn't working, this is explained as follows:

UNKNOWN: SNMP GET Request : Can't get a single value
SNMP Plugins request one or several OIDs from the target devices' MIBS. When it doesn't obtain a value for one of these OIDs, it returns an UNKNOWN state to warn the user.

Frequently, the device doesn't ship the MIB or one of the OIDs the Plugin utilizes. In other words, the Plugin used is not suitable for this device.

Ref: Troubleshooting Plugin errors

So in your case the new equipment isn't supported by the current plugin. If you want to ask a plugin enhancement for compatibility, please address it here to be take into account and vote on (you can link this github issue in your idea proposition).
Thank you for your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants