Statistic for Lightsoft

Overview of all MRTG diagrams (includes mrts)

What is MRTG

Do you ask yourself what MRTG is? It is basicly for creating fancy diagrams that impress you marketing people at the company, or just give you some good overview of how you system works.

By using a Cron or runing it as daemon on Linux it is possible to fetch values from different types of applications running and get valuable information how it runs and acts.

Another page will describe how to use cfgmaker, to generate the configuration file from doing a snmpwalk, could be used for a unknown router.
Or if snmpwalk snmpget should be used to tuning it more here is some more info

Router and Server

What we can see over at the sub-menus is the router Netgear FCS356 that I must say works very well, and then we have the LightSoft server.

Code example of my mrtg.cfg

CPU Monitoring

# CPU Monitoring
# (Scaled so that the sum of all three values doesn't exceed 100)
Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@localhost +
ssCpuRawSystem.0&ssCpuRawSystem.0:public@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
Options[server.cpu]: growright
Unscaled[server.cpu]: ymwd

#Suppress[server.cpu]: my

Memory Monitoring

# Memory Monitoring (Total Versus Available Memory)
Target[server.memory]: memAvailReal.0&amp;amp;amp;amp;amp;amp;memTotalReal.0:public@localhost

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]: growright,gauge, noo
kMG[server.memory]: k,M,G,T,P,X

Suppress[server.memory]: my

Memory Monitoring (Percentage usage)

# Memory Monitoring (Percentage usage)
Title[server.mempercent]: Percentage Free Memory

PageTop[server.mempercent]: <H1>Percentage Free Memory</H1>
Target[server.mempercent]: (memAvailReal.0&amp;amp;amp;amp;amp;amp;memAvailReal.0:public@localhost ) * 100 /
(memTotalReal.0&amp;amp;amp;amp;amp;amp;memTotalReal.0:public@localhost )
options[server.mempercent]: growright,gauge, noo
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

New TCP Connection Monitoring (per minute)

# New TCP Connection Monitoring (per minute)
Target[server.newconns]: tcpPassiveOpens.0&amp;amp;amp;amp;amp;amp;tcpActiveOpens.0:public@localhost

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<br>
Options[server.newconns]: growright,nopercent,perminute<br>

GA AI Tetris with C# code

Using GA to learn a computer play Tetris with C# GA is a way to learn a population by generations, better understand a problem and working towards a goal. This by giving a small fragments of the both parents dna (information/mutation) into the childs “dna”. Read more


Is a application to view faults on your projects (app, programs e.g.), reported by use of service FaultReporter API Read More

Leave a Reply