[mrtg] Re: Ambiuous &

Takumi Yamane yamtak at b-session.com
Fri Sep 23 08:14:43 MEST 2005


On Fri, 23 Sep 2005 14:37:15 +0900, Takumi Yamane wrote 
in <112745383653516263.qmail-scanner at mailhub.b-session.com>:
>
>> The target line for that particular machine looks like this:
>> Target[server-disk_used]:
>> iso.org.dod.internet.private.enterprises.ucdavis.dskTable.dskEntry.
>> dskUsed.1&iso.org.dod.internet.private.enterprises.ucdavis.
>> dskTable.dskEntry.dskAvail.1:community at server
...
> I confirmed that your 'long target' does not work, dunno why.

I found that you can use 'long target' by modifing MRTG_lib.pm.
around line 1235, add '.' to $ifComplex regex:
  before: '([a-zA-Z0-9]*(?:\.\d+)*?)' .
  after : '([a-zA-Z0-9.]*(?:\.\d+)*?)' .

I believe there is no side-effect caused by this.

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

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



More information about the mrtg mailing list