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

Alias argument failed SNMP Query #54

Open
HAlover99 opened this issue Mar 16, 2020 · 3 comments
Open

Alias argument failed SNMP Query #54

HAlover99 opened this issue Mar 16, 2020 · 3 comments
Assignees

Comments

@HAlover99
Copy link

HI

I have a problem with "alias" option, when i use it the plugin return the follow error

nagios:/usr/local/nagios/libexec$ ./check_interface_table_v3t.pl -H x.x.x.x -l xxxxxxxxx -x xxxxxxx -X xxxxxxxxxx -L sha,aes --64bits --exclude ALL -r --include Eth-Trunk,XGigabitEthernet,Vlanif --alias --tp='ifOperStatus' -wp 1
UNKNOWN - SNMP error: Received tooBig(1) error-status at error-index 0 <a href=http://x.x.x.x/interfacetable_v3t/tables/172Q2E16Q2E149Q2E2-Interfacetable.html target=_self>[details]</a>

while I tried the same command without "alias" argument works fine

nagios:/usr/local/nagios/libexec$ ./check_interface_table_v3t.pl -H 172.16.149.2 -l xxxxxxxx -x xxxxxxx -X xxxxxxxxx -L sha,aes --64bits --exclude ALL -r --include Eth-Trunk,XGigabitEthernet,Vlanif --tp='ifOperStatus' -wp 1
OK - 59 port(s), 10 free, 5 AdminUp and free <a href=http://x.x.x.x/interfacetable_v3t/tables/172Q2E16Q2E149Q2E2-Interfacetable.html target=_self>[details]</a>

in below the plugin version:

nagios:/usr/local/nagios/libexec$ ./check_interface_table_v3t.pl -V
./check_interface_table_v3t.pl (1.00)
This nagios plugin comes with ABSOLUTELY NO WARRANTY. You may redistribute
copies of this plugin under the terms of the GNU General Public License version 3 (GPLv3).

Could you help me to understand the issue?
Best Regards

@Tontonitch
Copy link
Owner

Hello,
According to the error it seems due to too many OIDs retrieved in a single snmp request... don't understand why this could be related to the alias argument.
The easiest way to troubleshoot this issue would be to provide me the full debug output of the command (which includes snmp calls and results, cache access, ...). Redirect the output in a file. Could you provide me the output with and without the alias argument? Please send that to my mailbox [email protected]
BR,
Yannick

@Tontonitch
Copy link
Owner

To have a debug, run the command with -vvvvv

@Tontonitch Tontonitch self-assigned this Mar 17, 2020
@HAlover99
Copy link
Author

I sent you the output files.
thanks for the support

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

2 participants