[mrtg] ifOperStatus and if-template problem

Jakub M burakozol at gmail.com
Thu Nov 13 17:37:23 CET 2008


ok, works, thanks!

with:

ifOperStatus.$if_ref&ifOperStatus.$if_ref ...


:)

2008/11/13 McDonald, Dan <Dan.McDonald at austinenergy.com>:
> On Thu, 2008-11-13 at 11:35 +0100, Jakub M wrote:
>> Hello,
>>
>> I have a small problem with generating proper cfg file. I want to
>> monitor a link status for my devices. I have made a template for
>> cfgmaker, but when I run mrtg with a generated cfg, I don't get any
>> results (no values on charts)
>
> You need to monitor two values, not just one, and you need a period, not
> a colon, for the $if_ref:
>
> - Target[$target_name]: ifOperStatus:$if_ref:$router_connect
> + Target[$target_name]: ifOperStatus.$if_ref&ifAdminStatus.$if_ref:$router_connect
>
> --
> Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
> Austin Energy
> http://www.austinenergy.com
>
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>



More information about the mrtg mailing list