Проблема мониторинга squid
-
Коллеги,
Очередная проблема. Пытаюсь мониторить squid. NetXMS-агента на сервер не ставил. Squid скомпилирован с поддержкой SNMP. Слушает на порту 3401.
Командаsnmpwalk -v 2c -c NetXMS 10.1.10.10:3401 .1.3.6.1.4.1.3495.1.1выдает вот такой ответ:SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 1136 SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 92720 SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (2436) 0:00:24.36Однако NetXMS отказывается опознавать хост как имеющий SNMP-агента. При этом, запрос SNMP к сквиду приходит, но некорректный. Сквид выдает вот это:
Failed SNMP agent query from : 10.1.10.23.Может, сталкивался кто?
Update: еще интереснее:
$ nxsnmpwalk -c NetXMS -p 3401 -v 2c 10.1.10.10 .1.3.6.1.4.1.3495.1.1 .1.3.6.1.4.1.3495.1.1.1.0 [02]: 8224 .1.3.6.1.4.1.3495.1.1.2.0 [02]: 92460 .1.3.6.1.4.1.3495.1.1.3.0 [43]: 60621Еще udpate: если этой ноде добавить SNMPшный DCI, то он отрабатывает. Однако SNMP walk через SNMP browser не работает.
И опять update: SNMPшный DCI отрабатывает только если у DCI проставить значение Use custom SNMP port в значение 3401. Не смотря на то, что у хоста прописан этот SNMP-порт.
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