ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Проблема с snmp (c доступом с соседнего компа )
@ 2005-01-17 15:23 silver_fox
  2005-01-17 15:39 ` [Comm] " Michael Shigorin
  2005-01-19 11:05 ` [Comm] " Anatoliy Lisjutin
  0 siblings, 2 replies; 11+ messages in thread
From: silver_fox @ 2005-01-17 15:23 UTC (permalink / raw)
  To: community

Здравствуйте!
Такая беда.. Master 2.4 
Хочу с соседнего компа взять по snmp данные для mrtg. Так не отдает ..
На:
#cfgmaker --ifdesc=eth public@xxx.xx.xx.42
выдает:
--base: Get Device Info on public@xxx.xx.xx.42:
SNMP Error:
send_query: Operation not permitted
SNMPv1_Session (remote host: "xxx.xx.xx.42" [xxx.xx.xx.42].161)
                  community: "public"
                 request ID: -828000621
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@xxx.xx.xx.42::::::v4only
 at /usr/bin/cfgmaker line 827
WARNING: Skipping jnrhsdfq@212.34.41.42: as no info could be retrieved

На:
#snmpwalk -Os -c public -v 1  snmpd_comp
это:
#snmpwalk: Failure in sendto (Operation not permitted)

На том компе c snmpd:
# cat /etc/snmp/snmpd.conf|egrep "com2sec|group|access"|grep -v "^#"
com2sec local     127.0.0.1             private
com2sec mynetwork xxx.xx.xx.40/29       public
group MyRWGroup v1         local
group MyRWGroup v2c        local
group MyRWGroup usm        local
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
access MyROGroup ""      any       noauth    exact  all    none   none
access MyRWGroup ""      any       noauth    exact  all    all    none


Когда то давно это все работало :(
Искал по рассылка на эту тему в Сизифусе нашел аналогичный вопрос но без 
ответа :(
Изнутри компа все работает  (через lo) , а извне (через eth0) никак. 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-01-19 11:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17 15:23 [Comm] Проблема с snmp (c доступом с соседнего компа ) silver_fox
2005-01-17 15:39 ` [Comm] " Michael Shigorin
2005-01-17 15:47   ` silver_fox
2005-01-17 17:10     ` silver_fox
2005-01-18  6:44       ` Konstantin Klimchev
2005-01-18  9:14         ` sfox
2005-01-17 18:09     ` Michael Shigorin
2005-01-17 20:51       ` silver_fox
2005-01-17 21:10         ` silver_fox
2005-01-17 21:16           ` silver_fox
2005-01-19 11:05 ` [Comm] " Anatoliy Lisjutin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git