interfacetable_v3t icon indicating copy to clipboard operation
interfacetable_v3t copied to clipboard

Alias argument failed SNMP Query

Open HAlover99 opened this issue 4 years ago • 3 comments

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

HAlover99 avatar Mar 16 '20 23:03 HAlover99

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 avatar Mar 17 '20 08:03 Tontonitch

To have a debug, run the command with -vvvvv

Tontonitch avatar Mar 17 '20 08:03 Tontonitch

I sent you the output files. thanks for the support

HAlover99 avatar Mar 17 '20 13:03 HAlover99