Discovery медленно работает
-
Наблюдение за
nxadm -c " sh po "
Показало что регулярно зависаетS 27/Mar/2014 14:41:51 poll: router [10169] - wait for lockДевайс:
System Description=Enterasys Networks, Inc. N3 Chassis Rev 07.62.07.0002 11/01/2013--17:00 ofc SNMP Object ID=.1.3.6.1.4.1.5624.2.1.53 Driver=GENERIC -
-
Сегодня обнаружил:
$ nxadm -c " sh po " | grep -v 'wait' T 27/Mar/2014 18:06:50 poll: Enterasys1 [11487] T 27/Mar/2014 18:07:00 poll: Enterasys2 [11722] T 27/Mar/2014 18:06:20 poll: Enterasys3 [10954] T 27/Mar/2014 16:44:04 poll: Enterasys4 [6578] T 27/Mar/2014 21:58:48 poll: Enterasys5 [12020] T 27/Mar/2014 18:06:10 poll: Enterasys6 [10629]Висим со вчера.

-
Можете подцепить gdb к процессу и сделать stack trace всех потоков?
-
Сделал следующее:
gdb attach NETXMSPID set logging on backtrace full thread apply all backtraceРезультат в аттаче.
Чуть не забыл:$ nxadm -c " sh po " | grep -v 'wait' PT TIME STATE S 31/Mar/2014 13:48:40 poll: Enterasys5 [10954] - cleanup C 31/Mar/2014 13:50:55 poll: other [3174] - interface check C 31/Mar/2014 13:48:59 poll: other [3166] - capability check C 31/Mar/2014 13:49:31 poll: other [3170] - capability check C 31/Mar/2014 13:48:43 poll: other [3139] - capability check C 31/Mar/2014 13:50:34 poll: other [3172] - capability check C 31/Mar/2014 13:49:06 poll: other [3168] - capability check C 31/Mar/2014 13:48:46 poll: other [3164] - capability check C 31/Mar/2014 13:48:36 poll: other [3114] - capability check C 31/Mar/2014 13:48:34 poll: other [3110] - capability check C 31/Mar/2014 13:48:35 poll: other [3112] - capability check T 31/Mar/2014 13:40:48 poll: Enterasys4 [10629] T 31/Mar/2014 13:40:53 poll: Enterasys3 [10954] T 31/Mar/2014 13:39:07 poll: Enterasys1 [10169] T 31/Mar/2014 13:40:43 poll: Enterasys2 [6578]Все ли правильно?
-
Что странно, все topology pollers сидят на ожидании ответа на SNMP запрос. Есть ли возможность посмотреть tcpdump'ом, как быстро приходят ответы на запросы, есть ли повторы?
-
-
Да, по SNMP. Можно с консоли запустить Poll -> Topology и посмотреть что там происходит.
-
-
-
Сделал topology pool
[2014-06-10 13:36:15] **** Poll request sent to server **** [2014-06-10 13:36:15] Poll request accepted [2014-06-10 13:36:15] Starting topology poll for node router_______________ [2014-06-10 13:38:15] POLL ERROR: Request timed out[2014-06-10 13:38:15] **** Poll failed ****Как можно проверить то же самое через snmpwalk?
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