[mrtg] MRTG ERROR and WARNING mesages for some interfaces

Daniel McDonald dan.mcdonald at austinenergy.com
Mon May 17 17:42:10 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 5/17/10 10:13 AM, "Sankung Sawo" <sankungsawo at gmail.com> wrote:

> Hi Tobi,
>  
> I only see other files *.old and *.log in the device Working directory
> and I  wander wther this is what you refer to as *.ok  ?

No, there should also be an .ok file
 
>  
> Anyway, I noticed four of my monitored devices showing following Errors
> and  warnings for some of their interfaces :
>  .."     ERROR: Target[xx.xx.xx.xx_wireless_side][_OUT_] '
> $target->[85]   {$mode} ' did not eval into defined data ..."


>  
> When I looked at the ".old" file of the interfaces, they have entries
> similar  to the attached - notice "-1 -1" at the top. I deleted the
> device configs and  recreated them with even new Working directory, but
> the error returns.
>  
> I wonder where is the cache copy of the MRTG interface log files stored ?

Perhaps OID_cache.txt?

 I 
> want to delete cache so that the counter errors can be resolved. The
> device  are alive and responding to snmp.

Does .85 still correspond to the interface?  You may need to re-run
cfgmaker.

If your interfaces change instance number frequently, you may wish to use a
different index, via the --ifref qualifier, e.g.:

/usr/bin/cfgmaker --ifref=name --subdir=site1/HOSTNAME
- --output=/var/mrtg/cfg/site1/foo-router.cfg
'public'@foo-router.example.com::2:1:1:2

- -- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281

-----BEGIN PGP SIGNATURE-----
Version: 10.0.2.13

wsBVAwUBS/FjzOc7lrcbrfasAQje/gf/VI4D14hpyB6lNuSCNALbKM3NBDxeYh+q
X0/WDivoJXnL9Xsz5w3LTb6Rm3oN+lIjOrYro1iz9nqNVvjrR8Guk5W4rPL2AUsB
Trkr/AUKmFidc8S6zPbmpmAaFJdnaGtrotom48Oj5ZBn8LjgqPOddKHu+yUDXG7a
VqczaCWyW9tQW6PuxXVhGMCeN+Ah5HtmmD+qZUmpankb42WTkq0zFHe4GN9radPz
m4VboeiBOFxSckQGoXGd0wCWGR5+K+gdaHRG8oRv6Uos2DlPCEN9bxQx/LiPR9hx
8lj1DRS8uOfyfl4rNSJKnFC63VJp0xCY6wwN50GTZsuuM5GT7lHg3A==
=G47/
-----END PGP SIGNATURE-----



More information about the mrtg mailing list