ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Проблема с snmp+mrtg
@ 2004-07-01  9:14 Vladimir Cherednichenko
  2004-07-01  9:23 ` Vladimir Cherednichenko
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Cherednichenko @ 2004-07-01  9:14 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Не полчается создать конфиг cfgmaker-ом, вот такой строчкой:

cfgmaker --ifref=descr --output=/etc/mrtg/ькеп.cfg --interfaces --no-down \
 --global="WorkDir: /var/www/html/mrtg/" --global="Options[_]: growright,bits" 
--global="Language:russian" --global="Background[_]: #FFFF90" comm@my.host

вылетает вот такое сообщение:

--base: Get Device Info on comm@my.host:
SNMP Error:
no response received
SNMPv1_Session (remote host: "my.host" [xxx.xxx.xxx.xxx].161)
                  community: "comm"
                 request ID: -290311308
                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 comm@my.host::::::v4only
 at /usr/bin/cfgmaker line 827
WARNING: Skipping ztkv@: as no info could be retrieved

--base: Writing /etc/mrtg/mrtg.cfg

проблема с snmpd именно на этой машине, на другом серваке всё работает 
нормально, конфиги одинаковые. 
на snmpwalk демон не откликается - Timeout: No Response from my.host 
кто сталкивался с такой проблемой и как её лечить?
-- 
Best Regards, Vladimir Cherednichenko  
R.E.D Team | Admin
Ukraine | Kiev

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

* Re: [sisyphus] Проблема с snmp+mrtg
  2004-07-01  9:14 [sisyphus] Проблема с snmp+mrtg Vladimir Cherednichenko
@ 2004-07-01  9:23 ` Vladimir Cherednichenko
  2004-07-01  9:51   ` Andrei Bulava
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Cherednichenko @ 2004-07-01  9:23 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

в логах snmpd  вот такая картина:
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for 
this agent.
NET-SNMP version 5.1


-- 
Best Regards, Vladimir Cherednichenko  
R.E.D Team | Admin
Ukraine | Kiev


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

* Re: [sisyphus] Проблема с snmp+mrtg
  2004-07-01  9:23 ` Vladimir Cherednichenko
@ 2004-07-01  9:51   ` Andrei Bulava
  2004-07-01 10:22     ` Vladimir Cherednichenko
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Bulava @ 2004-07-01  9:51 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Thu, 1 Jul 2004, Vladimir Cherednichenko wrote:

> в логах snmpd  вот такая картина:
> Warning: no access control information configured.
>   It's unlikely this agent can serve any useful purpose in
> this state.
>   Run "snmpconf -g basic_setup" to help you configure the
> snmpd.conf file for
> this agent.
> NET-SNMP version 5.1

Приведите вывод

cat /etc/snmp/snmpd.conf|egrep "com2sec|group|access"|grep -v
"^#"

В конфигурации "из коробки" snmpd допускает только 127.0.0.1:

com2sec local     127.0.0.1       private
com2sec mynetwork 127.0.0.1/32       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

-- 
// AB1002-UANIC


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

* Re: [sisyphus] Проблема с snmp+mrtg
  2004-07-01  9:51   ` Andrei Bulava
@ 2004-07-01 10:22     ` Vladimir Cherednichenko
  0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Cherednichenko @ 2004-07-01 10:22 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

В сообщении от Четверг 01 Июль 2004 12:51 Andrei Bulava написал(a):
> On Thu, 1 Jul 2004, Vladimir Cherednichenko wrote:
> > в логах snmpd  вот такая картина:
> > Warning: no access control information configured.
> >   It's unlikely this agent can serve any useful purpose in
> > this state.
> >   Run "snmpconf -g basic_setup" to help you configure the
> > snmpd.conf file for
> > this agent.
> > NET-SNMP version 5.1
>
> Приведите вывод
>
> cat /etc/snmp/snmpd.conf|egrep "com2sec|group|access"|grep -v
> "^#"
>
> В конфигурации "из коробки" snmpd допускает только 127.0.0.1:
> com2sec local     127.0.0.1       private
> com2sec mynetwork 127.0.0.1/32       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

cat /etc/snmp/snmpd.conf|egrep "com2sec|group|access"|grep -v "^#"

com2sec local     127.0.0.1             private
com2sec mynetwork 192.168.168.0/24      comm
com2sec mynetwork 127.0.0.1             public
group MyROGroup v1         mynetwork
group MyROGroup v2c        mynetwork
group MyROGroup usm        mynetwork
access MyROGroup ""      any       noauth    exact  all    none   none

-- 
Best Regards, Vladimir Cherednichenko  
R.E.D Team | Admin
Ukraine | Kiev


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

end of thread, other threads:[~2004-07-01 10:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01  9:14 [sisyphus] Проблема с snmp+mrtg Vladimir Cherednichenko
2004-07-01  9:23 ` Vladimir Cherednichenko
2004-07-01  9:51   ` Andrei Bulava
2004-07-01 10:22     ` Vladimir Cherednichenko

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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