el log me da este resltado
1492891802 822804976 822804976
1492891802 0 0 0 0
1492891501 0 0 0 0
1492891500 0 0 0 0
1492891200 0 0 0 0
1492890900 0 0 0 0
1492890600 0 0 0 0
1492890300 0 0 0 0
1492890000 0 0 0 0
1492889700 0 0 0 0
1492889400 0 0 0 0
1492889100 0 0 0 0
1492888800 0 0 0 0
El 4/22/2017 a las 2:57 PM, Yuni escribió:
esta es mi conf del mrt.cfg
LoadMIBs:
/usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/TCP-MIB.txt,/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
# cpu utilization
Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:mycomm@ip-server +
ssCpuRawSystem.0&ssCpuRawSystem.0:mycomm@ip-server +
ssCpuRawNice.0&ssCpuRawNice.0:mycomm@ip-server
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
## free memory
Target[server.memory]: memAvailReal.0&memTotalReal.0:mycomm@ip-server
Title[server.memory]:Free Memory
PageTop[server.memory]:<h1> Free Memory</h1>
MaxBytes[server.memory]: 100000000000
ShortLegend[server.memory]: B
YLegend[server.memory]: Bytes
LegendI[server.memory]: Free
LegendO[server.memory]: Total
Legend1[server.memory]: Free memory, not including swap, in bytes
Legend2[server.memory]: Total memory
Options[server.memory]: gauge,growright,nopercent
kMG[server.memory]: k,M,G,T,P,X
## free memory in percentage
Title[server.mempercent]: Percentage Free Memory
PageTop[server.mempercent]: <h1>Percentage Free Memory</h1>
Target[server.mempercent]: (
memAvailReal.0&memAvailReal.0:mycomm@ip-server ) * 100 / (
memTotalReal.0&memTotalReal.0:mycomm@ip-server )
options[server.mempercent]: growright,gauge,transparent,nopercent
Unscaled[server.mempercent]: ymwd
MaxBytes[server.mempercent]: 100
YLegend[server.mempercent]: Memory %
ShortLegend[server.mempercent]: Percent
LegendI[server.mempercent]: Free
LegendO[server.mempercent]: Free
Legend1[server.mempercent]: Percentage Free Memory
Legend2[server.mempercent]: Percentage Free Memory
Target[server.newconns]:
tcpPassiveOpens.0&tcpActiveOpens.0:mycomm@ip-server
#
# Established TCP Connections
#
Target[server.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:mycomm@ip-server
Title[server.estabcons]: Currently Established TCP Connections
PageTop[server.estabcons]: <h1>Established TCP Connections</h1>
MaxBytes[server.estabcons]: 10000000000
ShortLegend[server.estabcons]:
YLegend[server.estabcons]: Connections
LegendI[server.estabcons]: In
LegendO[server.estabcons]:
Legend1[server.estabcons]: Established connections
Legend2[server.estabcons]:
Options[server.estabcons]: growright,nopercent,gauge
Title[server.newconns]: Newly Created TCP Connections
PageTop[server.newconns]: <h1>New TCP Connections</h1>
MaxBytes[server.newconns]: 10000000000
ShortLegend[server.newconns]: c/s
YLegend[server.newconns]: Conns / Min
LegendI[server.newconns]: In
LegendO[server.newconns]: Out
Legend1[server.newconns]: New inbound connections
Legend2[server.newconns]: New outbound connections
Options[server.newconns]: growright,nopercent,perminute
Target[server.disk]: dskPercent.1&dskPercent.2:mycomm@ip-server
Title[server.disk]: Disk Partition Usage
PageTop[server.disk]: <h1>Disk Partition Usage </h1>
MaxBytes[server.disk]: 100
ShortLegend[server.disk]: %
YLegend[server.disk]: Utilization
LegendI[server.disk]: /
Options[server.disk]: gauge,growright,nopercent
Unscaled[server.disk]: ymwd
todo grafica bien menos el Disk Usage que no arroja ningun resultado
El 4/22/2017 a las 6:29 AM, Ernesto Escobedo escribió:
Buenos dias,
para poderte ayudar necesitamo la configuracion que estas usuando?
en mrtg, en snmp o algo asip
pero yo opino que lo que tu necesitas el esl sysstat y ksar y que
sigas este tutorial. que creo te ayudara mucho con las graficas
https://www.cyberciti.biz/tips/identifying-linux-bottlenecks-sar-graphs-with-ksar.html
Saludos
El 22 de abril de 2017, 3:32, Yuni <y...@ymrits.us
<mailto:y...@ymrits.us>> escribió:
Saludos
Me gustaria graficar con mrtg el uso de mi hdd pero nada me funciona
he probado con snmp pero dice 0
he probado sin snmp con script pero sigue diciendo 0
PD: Uso Debian 8
Alguna ayuda Please!!