ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: silver_fox <SilverFox@rgantd.ru>
To: community@altlinux.ru
Subject: [Comm] Проблема с snmp (c доступом с соседнего компа )
Date: Mon, 17 Jan 2005 18:23:17 +0300
Message-ID: <200501171823.17163.SilverFox@rgantd.ru> (raw)

Здравствуйте!
Такая беда.. 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) никак. 

             reply	other threads:[~2005-01-17 15:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 15:23 silver_fox [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501171823.17163.SilverFox@rgantd.ru \
    --to=silverfox@rgantd.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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