nxsnmpwalk vs snmpwalk
-
Всем доброго вечера
Есть домашний Zyxel ULTRA II. Есть туннель на работу. Появилась потребность посмотреть за этим роутером с работы. И получен отлуп. Совершенно странная ситуация опрос по SNMP одного и того же агрегата с одними и теми же параметрами:
rtadmin@netxms4:~$ snmpwalk -v 2c -c public 10.10.15.1 .1.3.6 iso.3.6.1.2.1.1.1.0 = STRING: "ZyXEL Keenetic Ultra II (NDMS 3.05.C.10.0-0): ku_rd" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1 iso.3.6.1.2.1.1.3.0 = Timeticks: (403880) 1:07:18.80 << SNIP >> iso.3.6.1.4.1.2021.11.51.0 = Counter32: 0 iso.3.6.1.4.1.2021.11.52.0 = Counter32: 19209 iso.3.6.1.4.1.2021.11.53.0 = Counter32: 1574503 iso.3.6.1.4.1.2021.11.59.0 = Counter32: 19092 iso.3.6.1.4.1.2021.11.60.0 = Counter32: 48 iso.3.6.1.4.1.2021.11.60.0 = No more variables left in this MIB View (It is past the end of the MIB tree) rtadmin@netxms4:~$ nxsnmpwalk -v 2c -c public 10.10.15.1 .1.3.6 SNMP Error: Request timed out rtadmin@netxms4:~$[23.04.2022 01:03:26] **** Poll request sent to server **** [23.04.2022 01:03:26] Poll request accepted, waiting for outstanding polling requests to complete... [23.04.2022 01:03:26] Starting configuration poll for node 10.10.15.1 [23.04.2022 01:03:26] Capability reset [23.04.2022 01:03:26] Checking node's capabilities... [23.04.2022 01:03:26] NetXMS agent polling is disabled [23.04.2022 01:03:26] Checking SNMP... [23.04.2022 01:04:46] No response from SNMP agent [23.04.2022 01:04:46] EtherNet/IP polling is disabled [23.04.2022 01:04:46] Capability check finished [23.04.2022 01:04:46] Checking interface configuration... [23.04.2022 01:04:46] Unable to get interface list from node [23.04.2022 01:04:46] Interface "unknown" is no longer exist [23.04.2022 01:04:46] Interface configuration check finished [23.04.2022 01:04:46] Checking node name [23.04.2022 01:04:46] Node name is an IP address and need to be resolved [23.04.2022 01:04:46] Node name cannot be resolved [23.04.2022 01:04:46] Updating general system hardware information [23.04.2022 01:04:46] Processing template autoapply rules [23.04.2022 01:04:46] Processing container autobind rules [23.04.2022 01:04:46] Processing cluster autobind rules [23.04.2022 01:04:46] Finished configuration poll for node 10.10.15.1 [23.04.2022 01:04:46] Node configuration was not changed after poll [23.04.2022 01:04:46] **** Poll completed successfully ****Самое неприятное что так себя ведут два разных сервера с версиями 3.9 и 4.0. Опрос ноды из сервера дает тот же самый результат - тайм-аута и до свидания
Проверялось все возможное - порты, community, правила МСЭб кастомные таймауты.Если бы не ответил на snmpwalk запросы тоже - я бы еще понял. Но на них то он отвечает!!!
Куда копать?
-
Я бы начал с дампа пакетов с помощью tcpdump или wireshark чтоб понять чем отличаются пакеты snmpwalk и nxsnmpwalk
-
-
Ну если на машине, откуда посылаются запросы, несколько интерфейсов, то может с разных адресов запросы идут. IPv6 тут не должно быть - указан IPv4 адрес.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login