problem s mrtg

Damir ©poljarič admin na pcsvet.net
Neděle Březen 6 20:50:36 CET 2005


Jeste dodatek ze snmpwalk:

kloboucnicka:/etc/mrtg# snmpwalk -v1 -c czfree localhost ssCpuRawUser
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 2014856
kloboucnicka:/etc/mrtg# snmpwalk -v1 -c czfree localhost ssCpuRawSystem.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 15307151
kloboucnicka:/etc/mrtg# snmpwalk -v1 -c czfree localhost ssCpuRawNice.0
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 198989




Damir ©poljarič napsal(a):

> 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
>
>
>


-- 
------------------------------------------------
Damir  ©poljarič
ąéfredaktor PC Svět.net
www.pcsvet.net


admin na pcsvet.net
icq: 258080801
------------------------------------------------



Daląí informace o konferenci Linux