Forum Discussion

banjoooooooooo_'s avatar
banjoooooooooo_
Icon for Nimbostratus rankNimbostratus
Feb 28, 2008

does anyone have a working mrtg monitoring config?

Any mrtg would be nice. I notice in my quest for OID's there's quite a few people looking on how to do it. It would be nice if we compile them to save time.

 

 

4 Replies

  • Oh I have to use :::::2 I'm using a very old version of mrtg. If I don't specifiy the version, it will shoot out some errors.
  • How about Cacti, which uses Tobi Oetiker's RRDTOOL and generates MRTG-like graphs?

     

     

    http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=136

     

     

    Click here
  • I have those configuration files working for monitoring LTM 8800 systems with MRTG (old MRTG version). For Virtual Server Usage I use a simple perl script to build the configuration file using snmp queries.
  • milo's avatar
    milo
    Icon for Nimbostratus rankNimbostratus
    Your sample mrtg config for monitoring VIPs almost works for me. The config file looks fine.

     

    WorkDir: c:\mrtg\bin

     

    Bytes/Min for Virtual Sever xnet.cs.zionsbank.com

     

    Target[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]:1.3.6.1.4.1.3375.2.2.10.2.3.1.7.SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.1.21.120.110.101.116.46.99.115.46.122.105.111.110.115.98.97.110.107.46.99.111.109&1.3.6.1.4.1.3375.2.2.10.2.3.1.9.SNMPv2-SMI::enterprises.3375.2.2.10.1.2.1.1.21.120.110.101.116.46.99.115.46.122.105.111.110.115.98.97.110.107.46.99.111.109:n3t3ngZ1paqu1ra@lb-hopsinte02:::::2

     

    Maxbytes[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: 12500000

     

    XSize[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: 600

     

    YSize[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: 200

     

    ShortLegend[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: Bytes/Min

     

    YLegend[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: Bytes/Min

     

    Options[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: growright,perminute

     

    Title[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: Bytes/Min, xnet.cs.zionsbank.com, lb-hopsinte02,

     

    PageTop[lb-hopsinte02_xnet.cs.zionsbank.com_Bytes]: Bytes/Min, xnet.cs.zionsbank.com, lb-hopsinte02,

     

     

     

    However, when I run the file, it errors out.

     

    Bareword "SMI::enterprises" not allowed while "strict subs" in use at (eval 17)

     

    line 1.

     

    Bareword "SNMPv2" not allowed while "strict subs" in use at (eval 17) line 1.

     

    Bareword "SMI::enterprises" not allowed while "strict subs" in use at (eval 17)

     

    line 1.

     

     

     

    If I try replacing SNMPv2-SMI::enterprises with the F5 numerical values, I still get an error.

     

    2009-05-21 18:40:38: ERROR: Target[lb-hopsinte02_xnet.cs.zionsbank.com_bytes][_I

     

    N_] '1.3.6.1.4.1.3375.2.2.10.2.3.1.7..1.3.6.1.4.1.3375.2.2.10.1.2.1.1.21.120.110

     

    .101.116.46.99.115.46.122.105.111.110.115.98.97.110.107.46.99.111.109&1.3.6.1.4.

     

    1.3375.2.2.10.2.3.1.9..1.3.6.1.4.1.3375.2.2.10.1.2.1.1.21.120.110.101.116.46.99.

     

    115.46.122.105.111.110.115.98.97.110.107.46.99.111. $target->[0]{$mode} ' (eval)

     

    : syntax error at (eval 16) line 1, near "1.3.6.1.4.1.3375.2.2.10.2.3.1.9.."

     

     

     

    Can someone out there give me a hand?