[mrtg] Re: cfgmaker problem-- errors from a non-responsive host in config for responsive host

Takumi Yamane yamtak at b-session.com
Fri Feb 11 21:37:33 MET 2005


On Fri, 11 Feb 2005 11:52:37 -0800, "Steve Bonds" wrote 
in <8232-18528 at sneakemail.com>:
> 
> I noticed in my code-diving that "snmpopen" called by "snmpget" looks
> like it always uses a hardcoded community of "public" (SNMP_util.pm
> version 1.04).  Is this intentional?

$community is updated properly with the code at line 380, just after 
the 'hardcoded' line:
  ($community, $host) = ($1, $2) if ($host =~ /^(.*)@([^@]+)$/);

-- 
Takumi Yamane <yamtak at b-session.com>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list