Hi,<br><br>I am getting the following error when running the collector on a Juniper SSG550 that I used the cfgmaker to make:<br><br>[svalencia@web ~]$ /usr/local/mrtg-2/bin/mrtg /usr/local/mrtg-2/cfgs/mrtg.cfg<br>2009-02-24 11:19:59: ERROR: Target[172.16.0.68_1][_IN_] ' $target->[0]{$mode} c' (warn): (Missing operator before c?)<br>
2009-02-24 11:19:59: ERROR: Target[172.16.0.68_1][_OUT_] ' $target->[0]{$mode} c' (warn): (Missing operator before c?)<br clear="all"><br>Here is my mrtg.cfg:<br><br># Created by <br># ./cfgmaker --snmp-options=:::::2c <a href="mailto:astreya@172.16.0.68">astreya@172.16.0.68</a><br>
<br><br>### Global Config Options<br><br># for UNIX<br>WorkDir: /var/www/XXXXXX.com/html/hiding/mrtg<br><br># or for NT<br># WorkDir: c:\mrtgdata<br><br>### Global Defaults<br><br># to get bits instead of bytes and graphs growing to the right<br>
Options[_]: growright, bits<br><br>EnableIPv6: no<br><br>######################################################################<br># System: SSG550<br># Description: SSG-550 version 5.4.0r2.0 (SN: JN10A2C38ADB, Firewall+VPN)<br>
# Contact: <br># Location: <br>######################################################################<br><br><br>### Interface 1 >> Descr: 'ethernet0/0' | Name: 'ethernet0/0' | Ip: '172.16.0.68' | Eth: '00-10-db-dc-86-80' ###<br>
<br>Target[172.16.0.68_1]: 1:XXXXXX@172.16.0.68:::::2c<br>SetEnv[172.16.0.68_1]: MRTG_INT_IP="172.16.0.68" MRTG_INT_DESCR="ethernet0"<br>MaxBytes[172.16.0.68_1]: 12500000<br>Title[172.16.0.68_1]: Traffic Analysis for 1 -- SSG550<br>
PageTop[172.16.0.68_1]: <h1>Traffic Analysis for 1 -- SSG550</h1><br> <div id="sysdetails"><br> <table><br> <tr><br> <td>System:</td><br>
<td>SSG550 in </td><br> </tr><br> <tr><br> <td>Maintainer:</td><br> <td></td><br> </tr><br>
<tr><br> <td>Description:</td><br> <td>ethernet0 </td><br> </tr><br> <tr><br> <td>ifType:</td><br>
<td>ethernetCsmacd (6)</td><br> </tr><br> <tr><br> <td>ifName:</td><br> <td>ethernet0/0</td><br>
</tr><br> <tr><br> <td>Max Speed:</td><br> <td>12.5 MBytes/s</td><br> </tr><br> <tr><br>
<td>Ip:</td><br> <td>172.16.0.68 ()</td><br> </tr><br> </table><br> </div><br><br><br>Not sure if you care about my perl version info:<br>
<br>Summary of my perl5 (revision 5 version 8 subversion 8) configuration:<br> Platform:<br> osname=linux, osvers=2.6.9-42.0.3.elsmp, archname=i386-linux-thread-multi<br> uname='linux <a href="http://builder6.centos.org">builder6.centos.org</a> 2.6.9-42.0.3.elsmp #1 smp fri oct 6 06:28:26 cdt 2006 i686 athlon i386 gnulinux '<br>
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin'<br>
hint=recommended, useposix=true, d_sigaction=define<br> usethreads=define use5005threads=undef useithreads=define usemultiplicity=define<br> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef<br> use64bitint=undef use64bitall=undef uselongdouble=undef<br>
usemymalloc=n, bincompat5005=undef<br> Compiler:<br> cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',<br>
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables',<br> cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'<br>
ccversion='', gccversion='4.1.1 20070105 (Red Hat 4.1.1-52)', gccosandvers=''<br> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234<br> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12<br>
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8<br> alignbytes=4, prototype=define<br> Linker and Libraries:<br> ld='gcc', ldflags =' -L/usr/local/lib'<br>
libpth=/usr/local/lib /lib /usr/lib<br> libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc<br> perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc<br> libc=/lib/<a href="http://libc-2.5.so">libc-2.5.so</a>, so=so, useshrplib=true, libperl=libperl.so<br>
gnulibc_version='2.5'<br> Dynamic Linking:<br> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'<br> cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib'<br>
<br><br>Characteristics of this binary (from libperl): <br> Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT<br> PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES<br> USE_PERLIO USE_REENTRANT_API<br>
Built under linux<br> Compiled at Nov 8 2007 06:49:16<br> @INC:<br> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi<br> /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi<br> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi<br>
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi<br> /usr/lib/perl5/site_perl/5.8.8<br> /usr/lib/perl5/site_perl/5.8.7<br> /usr/lib/perl5/site_perl/5.8.6<br> /usr/lib/perl5/site_perl/5.8.5<br> /usr/lib/perl5/site_perl<br>
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi<br> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi<br> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi<br> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi<br>
/usr/lib/perl5/vendor_perl/5.8.8<br> /usr/lib/perl5/vendor_perl/5.8.7<br> /usr/lib/perl5/vendor_perl/5.8.6<br> /usr/lib/perl5/vendor_perl/5.8.5<br> /usr/lib/perl5/vendor_perl<br> /usr/lib/perl5/5.8.8/i386-linux-thread-multi<br>
/usr/lib/perl5/5.8.8<br> .<br><br><br>-- <br>-Scott<br>