mrtg

notas: cfgmaker --global "WorkDir: /srv/www/htdocs/mrtg" --global "Options[_]: bits,growright" --output /etc/mrtg.cfg san-mex-pub@10.0.1.7 esm-mex-public@10.0.1.4 cata-public@10.0.2.140 cata-public@10.0.2.141 cata-public@10.0.2.142 cata-public@10.0.2.143 cata-public@10.0.2.144 cata-public@10.0.2.145 cata-public@10.0.2.146 cata-public@10.0.2.147 cata-public@10.0.2.148 noone@10.0.2.15 public@localhost samba@10.0.2.5 public@10.0.2.13 public@10.0.2.9 public@10.0.2.10 indexmaker --output /srv/www/htdocs/mrtg/index.html /etc/mrtg.cfg /etc/add.mrtg.cfg 0-59/5 * * * * env LANG=C /usr/bin/mrtg /etc/add.mrtg.cfg --logging /var/log/mrtg.log # # File: /etc/mrtg/server-info.cfg # # Configuration file for non bandwidth server statistics # # # Define global options # LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/TCP-MIB.txt workdir: /srv/www/htdocs/mrtg/ #localhost # CPU Monitoring localhost # (Scaled so that the sum of all three values doesn't exceed 100) # Target[localhost.cpu]:1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:public@localhost + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:public@localhost + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:public@localhost Title[localhost.cpu]: Server CPU Load PageTop[localhost.cpu]:

localhost CPU Load - System, User and Nice Processes

MaxBytes[localhost.cpu]: 100 ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Current CPU percentage load LegendI[localhost.cpu]: Used LegendO[localhost.cpu]: Options[localhost.cpu]: growright,nopercent Unscaled[localhost.cpu]: ymwd # # Memory Monitoring (Total Versus Available Memory) # #Target[localhost.memory]: memAvailReal.0&memTotalReal.0:public@localhost Target[localhost.memory]: 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.5.0:public@localhost Title[localhost.memory]: Free Memory PageTop[localhost.memory]:

localhost Free Memory

MaxBytes[localhost.memory]: 100000000000 ShortLegend[localhost.memory]: B YLegend[localhost.memory]: Bytes LegendI[localhost.memory]: Free LegendO[localhost.memory]: Total Legend1[localhost.memory]: Free memory, not including swap, in bytes Legend2[localhost.memory]: Total memory Options[localhost.memory]: gauge,growright,nopercent kMG[localhost.memory]: k,M,G,T,P,X # # Memory Monitoring (Percentage usage) # Title[localhost.mempercent]: Percentage Free Memory PageTop[localhost.mempercent]:

localhost Percentage Free Memory

#Target[localhost.mempercent]: ( memAvailReal&memAvailReal:public@localhost ) * 100 / ( memTotalReal&memTotalReal:public@localhost ) Target[localhost.mempercent]: ( 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.6.0:public@localhost ) * 100 / ( 1.3.6.1.4.1.2021.4.5.0&1.3.6.1.4.1.2021.4.5.0:public@localhost ) options[localhost.mempercent]: growright,gauge,transparent,nopercent Unscaled[localhost.mempercent]: ymwd MaxBytes[localhost.mempercent]: 100 YLegend[localhost.mempercent]: Memory % ShortLegend[localhost.mempercent]: Percent LegendI[localhost.mempercent]: Free LegendO[localhost.mempercent]: Free Legend1[localhost.mempercent]: Percentage Free Memory Legend2[localhost.mempercent]: Percentage Free Memory # # New TCP Connection Monitoring (per minute) # Target[localhost.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:public@localhost Title[localhost.newconns]: Newly Created TCP Connections PageTop[localhost.newconns]:

localhost New TCP Connections

MaxBytes[localhost.newconns]: 10000000000 ShortLegend[localhost.newconns]: c/s YLegend[localhost.newconns]: Conns / Min LegendI[localhost.newconns]: In LegendO[localhost.newconns]: Out Legend1[localhost.newconns]: New inbound connections Legend2[localhost.newconns]: New outbound connections Options[localhost.newconns]: growright,nopercent,perminute # # Established TCP Connections # Target[localhost.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:public@localhost Title[localhost.estabcons]: Currently Established TCP Connections PageTop[localhost.estabcons]:

localhost Established TCP Connections

MaxBytes[localhost.estabcons]: 10000000000 ShortLegend[localhost.estabcons]: YLegend[localhost.estabcons]: Connections LegendI[localhost.estabcons]: In LegendO[localhost.estabcons]: Legend1[localhost.estabcons]: Established connections Legend2[localhost.estabcons]: Options[localhost.estabcons]: growright,nopercent,gauge #fin localhost # # CPU Monitoring esanmarcos # (Scaled so that the sum of all three values doesn't exceed 100) # #Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:noone@10.0.2.15 + ssCpuRawSystem.0&ssCpuRawSystem.0:noone@10.0.2.15 + ssCpuRawNice.0&ssCpuRawNice.0:noone@10.0.2.15 #Target[server.cpu]:1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:noone@10.0.2.15 + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:noone@10.0.2.15 + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:noone@10.0.2.15 Target[server.cpu]:1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:noone@10.0.2.15 + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:noone@10.0.2.15 + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:noone@10.0.2.15 Title[server.cpu]: Server CPU Load PageTop[server.cpu]:

esanmarcos CPU Load - System, User and Nice Processes

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 # # Memory Monitoring (Total Versus Available Memory) # #Target[server.memory]: memAvailReal.0&memTotalReal.0:noone@10.0.2.15 Target[server.memory]: 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.5.0:noone@10.0.2.15 Title[server.memory]: Free Memory PageTop[server.memory]:

MailServer Free Memory

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 # # Memory Monitoring (Percentage usage) # Title[server.mempercent]: Percentage Free Memory PageTop[server.mempercent]:

MailServer Percentage Free Memory

#Target[server.mempercent]: ( memAvailReal&memAvailReal:noone@10.0.2.15 ) * 100 / ( memTotalReal&memTotalReal:noone@10.0.2.15 ) Target[server.mempercent]: ( 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.6.0:noone@10.0.2.15 ) * 100 / ( 1.3.6.1.4.1.2021.4.5.0&1.3.6.1.4.1.2021.4.5.0:noone@10.0.2.15 ) 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 # # New TCP Connection Monitoring (per minute) # Target[server.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:noone@10.0.2.15 Title[server.newconns]: Newly Created TCP Connections PageTop[server.newconns]:

MailServer New TCP Connections

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 # # Established TCP Connections # Target[server.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:noone@10.0.2.15 Title[server.estabcons]: Currently Established TCP Connections PageTop[server.estabcons]:

Mailserver Established TCP Connections

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 ## ## Samba server ## # # CPU Monitoring # (Scaled so that the sum of all three values doesn't exceed 100) # Target[server.samba.cpu]:1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:samba@10.0.2.5 + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:samba@10.0.2.5 + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:samba@10.0.2.5 Title[server.samba.cpu]: Server CPU Load PageTop[server.samba.cpu]:

SAMBA CPU Load - System, User and Nice Processes

MaxBytes[server.samba.cpu]: 100 ShortLegend[server.samba.cpu]: % YLegend[server.samba.cpu]: CPU Utilization Legend1[server.samba.cpu]: Current CPU percentage load LegendI[server.samba.cpu]: Used LegendO[server.samba.cpu]: Options[server.samba.cpu]: growright,nopercent Unscaled[server.samba.cpu]: ymwd # # Memory Monitoring (Total Versus Available Memory) # Target[server.samba.memory]: 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.5.0:samba@10.0.2.5 Title[server.samba.memory]: Free Memory PageTop[server.samba.memory]:

SAMBA Free Memory

MaxBytes[server.samba.memory]: 100000000000 ShortLegend[server.samba.memory]: B YLegend[server.samba.memory]: Bytes LegendI[server.samba.memory]: Free LegendO[server.samba.memory]: Total Legend1[server.samba.memory]: Free memory, not including swap, in bytes Legend2[server.samba.memory]: Total memory Options[server.samba.memory]: gauge,growright,nopercent kMG[server.samba.memory]: k,M,G,T,P,X # # Memory Monitoring (Percentage usage) # Title[server.samba.mempercent]: Percentage Free Memory PageTop[server.samba.mempercent]:

SAMBA Percentage Free Memory

Target[server.samba.mempercent]: ( 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.6.0:samba@10.0.2.5 ) * 100 / ( 1.3.6.1.4.1.2021.4.5.0&1.3.6.1.4.1.2021.4.5.0:samba@10.0.2.5 ) options[server.samba.mempercent]: growright,gauge,transparent,nopercent Unscaled[server.samba.mempercent]: ymwd MaxBytes[server.samba.mempercent]: 100 YLegend[server.samba.mempercent]: Memory % ShortLegend[server.samba.mempercent]: Percent LegendI[server.samba.mempercent]: Free LegendO[server.samba.mempercent]: Free Legend1[server.samba.mempercent]: Percentage Free Memory Legend2[server.samba.mempercent]: Percentage Free Memory # # New TCP Connection Monitoring (per minute) # Target[server.samba.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:samba@10.0.2.5 Title[server.samba.newconns]: Newly Created TCP Connections PageTop[server.samba.newconns]:

SAMBA New TCP Connections

MaxBytes[server.samba.newconns]: 10000000000 ShortLegend[server.samba.newconns]: c/s YLegend[server.samba.newconns]: Conns / Min LegendI[server.samba.newconns]: In LegendO[server.samba.newconns]: Out Legend1[server.samba.newconns]: New inbound connections Legend2[server.samba.newconns]: New outbound connections Options[server.samba.newconns]: growright,nopercent,perminute # # Established TCP Connections # Target[server.samba.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:samba@10.0.2.5 Title[server.samba.estabcons]: Currently Established TCP Connections PageTop[server.samba.estabcons]:

SAMBA Established TCP Connections

MaxBytes[server.samba.estabcons]: 10000000000 ShortLegend[server.samba.estabcons]: YLegend[server.samba.estabcons]: Connections LegendI[server.samba.estabcons]: In LegendO[server.samba.estabcons]: Legend1[server.samba.estabcons]: Established connections Legend2[server.samba.estabcons]: Options[server.samba.estabcons]: growright,nopercent,gauge ## ## dns2 dns2 ## # # CPU Monitoring # (Scaled so that the sum of all three values doesn't exceed 100) # Target[dns2.cpu]:1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:public@10.0.2.13 + 1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:public@10.0.2.13 + 1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:public@10.0.2.13 Title[dns2.cpu]: dns2 CPU Load PageTop[dns2.cpu]:

dns2 CPU Load - System, User and Nice Processes

MaxBytes[dns2.cpu]: 100 ShortLegend[dns2.cpu]: % YLegend[dns2.cpu]: CPU Utilization Legend1[dns2.cpu]: Current CPU percentage load LegendI[dns2.cpu]: Used LegendO[dns2.cpu]: Options[dns2.cpu]: growright,nopercent Unscaled[dns2.cpu]: ymwd # # Memory Monitoring (Total Versus Available Memory) # Target[dns2.memory]: 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.5.0:public@10.0.2.13 Title[dns2.memory]: Free Memory PageTop[dns2.memory]:

dns2 Free Memory

MaxBytes[dns2.memory]: 100000000000 ShortLegend[dns2.memory]: B YLegend[dns2.memory]: Bytes LegendI[dns2.memory]: Free LegendO[dns2.memory]: Total Legend1[dns2.memory]: Free memory, not including swap, in bytes Legend2[dns2.memory]: Total memory Options[dns2.memory]: gauge,growright,nopercent kMG[dns2.memory]: k,M,G,T,P,X # # Memory Monitoring (Percentage usage) # Title[dns2.mempercent]: Percentage Free Memory PageTop[dns2.mempercent]:

dns2 Percentage Free Memory

Target[dns2.mempercent]: ( 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.6.0:public@10.0.2.13 ) * 100 / ( 1.3.6.1.4.1.2021.4.5.0&1.3.6.1.4.1.2021.4.5.0:public@10.0.2.13 ) options[dns2.mempercent]: growright,gauge,transparent,nopercent Unscaled[dns2.mempercent]: ymwd MaxBytes[dns2.mempercent]: 100 YLegend[dns2.mempercent]: Memory % ShortLegend[dns2.mempercent]: Percent LegendI[dns2.mempercent]: Free LegendO[dns2.mempercent]: Free Legend1[dns2.mempercent]: Percentage Free Memory Legend2[dns2.mempercent]: Percentage Free Memory # # New TCP Connection Monitoring (per minute) # Target[dns2.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:public@10.0.2.13 Title[dns2.newconns]: Newly Created TCP Connections PageTop[dns2.newconns]:

dns2 New TCP Connections

MaxBytes[dns2.newconns]: 10000000000 ShortLegend[dns2.newconns]: c/s YLegend[dns2.newconns]: Conns / Min LegendI[dns2.newconns]: In LegendO[dns2.newconns]: Out Legend1[dns2.newconns]: New inbound connections Legend2[dns2.newconns]: New outbound connections Options[dns2.newconns]: growright,nopercent,perminute # # Established TCP Connections # Target[dns2.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:public@10.0.2.13 Title[dns2.estabcons]: Currently Established TCP Connections PageTop[dns2.estabcons]:

dns2 Established TCP Connections

MaxBytes[dns2.estabcons]: 10000000000 ShortLegend[dns2.estabcons]: YLegend[dns2.estabcons]: Connections LegendI[dns2.estabcons]: In LegendO[dns2.estabcons]: Legend1[dns2.estabcons]: Established connections Legend2[dns2.estabcons]: Options[dns2.estabcons]: growright,nopercent,gauge ## ## AS400 Server ## # # New TCP Connection Monitoring (per minute) # Target[server.as400.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:public@10.0.2.9 Title[server.as400.newconns]: Newly Created TCP Connections PageTop[server.as400.newconns]:

New TCP Connections in AS400

MaxBytes[server.as400.newconns]: 10000000000 ShortLegend[server.as400.newconns]: c/s YLegend[server.as400.newconns]: Conns / Min LegendI[server.as400.newconns]: In LegendO[server.as400.newconns]: Out Legend1[server.as400.newconns]: New inbound connections Legend2[server.as400.newconns]: New outbound connections Options[server.as400.newconns]: growright,nopercent,perminute # # Established TCP Connections # Target[server.as400.estabcons]: 1.3.6.1.2.1.25.1.6.0&1.3.6.1.2.1.25.1.6.0:public@10.0.2.9 Title[server.as400.estabcons]: Procesos actuales de sistema PageTop[server.as400.estabcons]:

Procesos Actuales de sistema AS400

MaxBytes[server.as400.estabcons]: 10000000000 ShortLegend[server.as400.estabcons]: YLegend[server.as400.estabcons]: Procesos LegendI[server.as400.estabcons]: In LegendO[server.as400.estabcons]: Legend1[server.as400.estabcons]: Procesos Legend2[server.as400.estabcons]: Options[server.as400.estabcons]: growright,nopercent,gauge # # Numero de usuarios # Target[server.as400.NumUsers]: 1.3.6.1.2.1.25.1.5.0&1.3.6.1.2.1.25.1.5.0:public@10.0.2.9 Title[server.as400.NumUsers]: Usuarios actuales de sistema PageTop[server.as400.NumUsers]:

Usuarios Actuales de sistema AS400

MaxBytes[server.as400.NumUsers]: 10000000000 ShortLegend[server.as400.NumUsers]: YLegend[server.as400.NumUsers]: Usuarios LegendI[server.as400.NumUsers]: In LegendO[server.as400.NumUsers]: Legend1[server.as400.NumUsers]: Usuarios Legend2[server.as400.NumUsers]: Options[server.as400.NumUsers]: growright,nopercent,gauge ## ## Logia Server ## # # New TCP Connection Monitoring (per minute) # #Target[server.logica.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:public@10.0.2.10 #Title[server.logica.newconns]: Newly Created TCP Connections #PageTop[server.logica.newconns]:

New TCP Connections in Logica Server

#MaxBytes[server.logica.newconns]: 10000000000 #ShortLegend[server.logica.newconns]: c/s #YLegend[server.logica.newconns]: Conns / Min #LegendI[server.logica.newconns]: In #LegendO[server.logica.newconns]: Out #Legend1[server.logica.newconns]: New inbound connections #Legend2[server.logica.newconns]: New outbound connections #Options[server.logica.newconns]: growright,nopercent,perminute # # Established TCP Connections # #Target[server.logica.estabcons]: 1.3.6.1.2.1.25.1.6.0&1.3.6.1.2.1.25.1.6.0:public@10.0.2.10 #Title[server.logica.estabcons]: Procesos actuales de sistema #PageTop[server.logica.estabcons]:

Procesos Actuales de sistema Logica

#MaxBytes[server.logica.estabcons]: 10000000000 #ShortLegend[server.logica.estabcons]: #YLegend[server.logica.estabcons]: Procesos #LegendI[server.logica.estabcons]: In #LegendO[server.logica.estabcons]: #Legend1[server.logica.estabcons]: Procesos #Legend2[server.logica.estabcons]: #Options[server.logica.estabcons]: growright,nopercent,gauge # # Numero de usuarios # #Target[server.logica.NumUsers]: 1.3.6.1.2.1.25.1.5.0&1.3.6.1.2.1.25.1.5.0:public@10.0.2.10 #Title[server.logica.NumUsers]: Usuarios actuales de sistema #PageTop[server.logica.NumUsers]:

Usuarios Actuales de sistema Logica

#MaxBytes[server.logica.NumUsers]: 10000000000 #ShortLegend[server.logica.NumUsers]: #YLegend[server.logica.NumUsers]: Usuarios #LegendI[server.logica.NumUsers]: In #LegendO[server.logica.NumUsers]: #Legend1[server.logica.NumUsers]: Usuarios #Legend2[server.logica.NumUsers]: #Options[server.logica.NumUsers]: growright,nopercent,gauge

Comentarios