On Thu, 24 Feb 2005 08:12:38 -0500, Shane Presley wrote in <[EMAIL PROTECTED]>: >> >> --filter 'name=~^host$' >> >> 'man perlre' for more details. > > That's basically what I'm longer for...how to setup the regular > expression. But --filter 'name=~^host$' returns a page with no > hosts.
It works fine for me. I think you just specified wrong 'name'. For example, I have these target lines in my cfg: Target[th-ntpd]: procNumNTPd&procNumNTPd:[EMAIL PROTECTED]: Target[th-squid]: procNumSquid&procNumSquid:[EMAIL PROTECTED]: Target[th-httpd]: procNumHTTPd&procNumHTTPd:[EMAIL PROTECTED]: Then, this command generates index with exactly 1 entry(th-squid): indexmaker --output squid.html --filter 'name=~^th-squid$' cfg I believe it is supported since MRTG 2.9 series. -- Takumi Yamane <[EMAIL PROTECTED]> -- Unsubscribe mailto:[EMAIL PROTECTED] 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
