problem s mrtg

Max Cerny maxim na czerny.cz
Neděle Březen 6 20:19:26 CET 2005


Třeba doplnit do mrtg.cfg řádek:

LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-IB.txt,/usr/share/snmp/mibs/TCP-
MIB.txt



On Sun, 2005-03-06 at 18:07 +0100, Damir Špoljarič wrote:
> Zdravim. Nevim jestli se sem tento dotaz hodi, ale budu rad kdyz mi 
> nekdo poradi. Informace o teto chybe jsem nikde nenasel a problem se 
> snazim resit uz tyden :(
> Z jednoho ceskeho navodu jsem pouzil toto:
> 
> 
> # CPU payload
> Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public na localhost + 
> ssCpuRawSystem.0&ssCpuRawSystem.0:public na localhost + 
> ssCpuRawNice.0&ssCpuRawNice.0:public na localhost
> 
> Title[server.cpu]: Server CPU Load
> PageTop[server.cpu]: <H1>CPU Load - System, User and Nice Processes</H1>
> MaxBytes[server.cpu]: 100
> ShortLegend[server.cpu]: %
> YLegend[server.cpu]: CPU Utilization
> Legend1[server.cpu]: Current CPU percentage load
> LegendI[server.cpu]: Used
> LegendO[server.cpu]:
> Options[server.cpu]: growright,nopercent
> Unscaled[server.cpu]: ymwd
> 
> 
> 
> A pri generovani grafu to vypisuje tuto chybu a grafy to generuje bez 
> hodnot :
> 
> Unknown SNMP var ssCpuRawUser.0
> 
>  at /usr/bin/mrtg line 1840
> 
> Unknown SNMP var ssCpuRawUser.0
> 
>  at /usr/bin/mrtg line 1840
> 
> at /usr/bin/mrtg line 1840
> 
> Unknown SNMP var ssCpuRawSystem.0
> 
>  at /usr/bin/mrtg line 1840
> 
> Unknown SNMP var ssCpuRawNice.0
> 
>  at /usr/bin/mrtg line 1840
> 
> Unknown SNMP var ssCpuRawNice.0
> 
>  at /usr/bin/mrtg line 1840
> 
> ERROR: Target[server.cpu][_IN_] ' $target->[3]{$mode}  +  
> $target->[4]{$mode}  +  $target->[5]{$mode} ' (warn): Use of 
> uninitialized value in addition (+) at (eval 12) line 1.
> 
> ERROR: Target[server.cpu][_OUT_] ' $target->[3]{$mode}  +  
> $target->[4]{$mode}  +  $target->[5]{$mode} ' (warn): Use of 
> uninitialized value in addition (+) at (eval 13) line 1.
> 
> 
> 
> Diky, DS
> 
> 
> 



Další informace o konferenci Linux