RE: Monitoring gnugk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cesar,

The mrtg configs I have created are more specific to monitoring the servers in which Gnugk is running on but contain very vital info.
Here they are:

#Author Freddy Parra
### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
Options[_]: nobanner, bits, noinfo
BodyTag[_]: <body style="text-align: center;">
PageFoot[_]: <TABLE align=center>
                <tr align=center>
                <td>
                #<A HREF="maintotaldiskusage.html">Back</A>
                </td>
                </tr>
              </TABLE>
EnableIPv6: no
WorkDir: /usr/local/apache2/htdocs/mrtg-2/

### MIBS
LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt



#1.) Active CPU utilization
#2.) Bandwidth Utilization
#3.) Total Calls(In progress + active)
#4.) Open Tcp Connections
#5.) Real Memory Usage
#6.) Real Cached Memory Usage
#7.) Swap Memory Usage
#8.) Total Process
#10.) Total Disk Usage

#xxxxx=community string
#yyy.yyy.yyy.yyy = server ip


#1.) Active CPU utilization
Target[development175_active_cpu_load]:ssCpuRawUser.0&ssCpuRawUser.0:xxxxx@xxxxxxxxxxxxxxx + ssCpuRawSystem.0&ssCpuRawSystem.0:xxxxx@xxxxxxxxxxxxxxx + ssCpuRawNice.0&ssCpuRawNice.0:xxxxx@xxxxxxxxxxxxxxx
MaxBytes[development175_active_cpu_load]: 100
AbsMax[development175_active_cpu_load]: 100
Options[development175_active_cpu_load]:  nobanner,nopercent
Unscaled[development175_active_cpu_load]: ymwd
ShortLegend[development175_active_cpu_load]: %
YLegend[development175_active_cpu_load]: CPU Utilization
Legend1[development175_active_cpu_load]: Active CPU in % (Load)
Legend2[development175_active_cpu_load]:
Legend3[development175_active_cpu_load]:
Legend4[development175_active_cpu_load]:
LegendI[development175_active_cpu_load]:  Active
LegendO[development175_active_cpu_load]:
Title[development175_active_cpu_load]: Development175 CPU LOAD
PageTop[development175_active_cpu_load]: <H1>Development175 - Active CPU Load %</H1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Active CPU Load</TD></TR>
        </TABLE>


#2.) Bandwidth Utilization 
Target[development175_bandwidth_external]: 3:xxxxx@xxxxxxxxxxxxxxx:
SetEnv[development175_bandwidth_external]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
MaxBytes[development175_bandwidth_external]: 30000
AbsMax[development175_bandwidth_external]: 100000000
Unscaled[development175_bandwidth_external]: dwmy
Title[development175_bandwidth_external]: Development175 - External Traffic Analysis
PageTop[development175_bandwidth_external]: <H1>Development175 - External Traffic Analysis</H1>
 <TABLE  style="color:red;">
   <TR><TD>System:</TD><TD>Development175</TD></TR>
   <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
   <TR><TD>Description:</TD><TD>eth1</TD></TR>
   <TR><TD>ifType:</TD><TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD><TD>External</TD></TR>
   <TR><TD>Max Speed:</TD><TD>100.0 Mbits/s</TD></TR>
 </TABLE>

#3.) Total Calls(In progress + active)
Target[development175_tcp_connections]:.1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.9.0:xxxxx@xxxxxxxxxxxxxxx/2
Options[development175_tcp_connections]: nobanner,nopercent,gauge,noinfo
MaxBytes[development175_tcp_connections]: 3000
AbsMax[development175_tcp_connections]: 10000
Unscaled[development175_tcp_connections]: dwmy
YLegend[development175_tcp_connections]: # Total Calls
ShortLegend[development175_tcp_connections]: Total Calls
LegendI[development175_tcp_connections]:  Total Calls:
LegendO[development175_tcp_connections]:
Legend1[development175_tcp_connections]: Total Calls
Title[development175_tcp_connections]: Development175 Total Calls
PageTop[development175_tcp_connections]: <H1>Development175 - Total Active Calls</H1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Total Active Calls</TD></TR>
        </TABLE>

#4.) Open Tcp Connections
Target[development175_tcp_connections]:.1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.9.0:xxxxx@xxxxxxxxxxxxxxx
Options[development175_tcp_connections]: nobanner,nopercent,gauge,noinfo
MaxBytes[development175_tcp_connections]: 3000
AbsMax[development175_tcp_connections]: 10000
Unscaled[development175_tcp_connections]: dwmy
YLegend[development175_tcp_connections]: # conns
ShortLegend[development175_tcp_connections]: connections
LegendI[development175_tcp_connections]:  Connections:
LegendO[development175_tcp_connections]:
Legend1[development175_tcp_connections]: Open TCP connections
Title[development175_tcp_connections]: Development175 Open TCP connections
PageTop[development175_tcp_connections]: <H1>Development175 - Open TCP connections</H1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Open TCP Connections</TD></TR>
        </TABLE>

#5.) Real Memory Usage
Target[development175_realmem_usage]:memTotalReal.0&memTotalReal.0:xxxxx@xxxxxxxxxxxxxxx - memAvailReal.0&memAvailReal.0:xxxxx@xxxxxxxxxxxxxxx
Options[development175_realmem_usage]: nobanner,gauge
MaxBytes[development175_realmem_usage]: 511908
AbsMax[development175_realmem_usage]: 1000000
Unscaled[development175_realmem_usage]: ymwd
YLegend[development175_realmem_usage]: Memory Usage
Legend1[development175_realmem_usage]: Real memory in use
Legend2[development175_realmem_usage]:
Legend3[development175_realmem_usage]:
Legend4[development175_realmem_usage]:
LegendI[development175_realmem_usage]: real mem in use :
LegendO[development175_realmem_usage]:
ShortLegend[development175_realmem_usage]: B
kMG[development175_realmem_usage]: k,M,G,T,P
Title[development175_realmem_usage]: Development175 - Real Physical Memory Usage
PageTop[development175_realmem_usage]: <h1>Development175 - Real Physical Memory Usage</h1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 - Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Real Physical Memory Usage</TD></TR>
        </TABLE>

#6.) Real Cached Memory Usage
Target[development175_cachedmem_usage]:memCached.0&memCached.0:xxxxx@xxxxxxxxxxxxxxx
Options[development175_cachedmem_usage]: nobanner,gauge,noinfo
MaxBytes[development175_cachedmem_usage]: 511908
AbsMax[development175_cachedmem_usage]: 1000000
Unscaled[development175_cachedmem_usage]: ymwd
YLegend[development175_cachedmem_usage]: Cached Memory
Legend1[development175_cachedmem_usage]: Real Cached Mem Usage
Legend2[development175_cachedmem_usage]:
Legend3[development175_cachedmem_usage]:
Legend4[development175_cachedmem_usage]:
LegendI[development175_cachedmem_usage]: Real Cached Mem Usage :
LegendO[development175_cachedmem_usage]:
ShortLegend[development175_cachedmem_usage]: B
kMG[development175_cachedmem_usage]: k,M,G,T,P
Title[development175_cachedmem_usage]: Development175 - Real Cached Mem Usage
PageTop[development175_cachedmem_usage]: <h1>Development175 - Real Cached Memory Usage</h1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 - Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Real Cached Memory Usage</TD></TR>
        </TABLE>

#7.) Swap Memory Usage
Target[development175_swapmem_usage]:memTotalSwap.0&memTotalSwap.0:xxxxx@xxxxxxxxxxxxxxx - memAvailSwap.0&memAvailSwap.0:xxxxx@xxxxxxxxxxxxxxx
Options[development175_swapmem_usage]: nobanner,gauge,nopercent
MaxBytes[development175_swapmem_usage]: 1048568
AbsMax[development175_swapmem_usage]: 2000000
Unscaled[development175_swapmem_usage]: ymwd
YLegend[development175_swapmem_usage]: Memory Usage
Legend1[development175_swapmem_usage]: Swap memory in use
Legend2[development175_swapmem_usage]:
Legend3[development175_swapmem_usage]:
Legend4[development175_swapmem_usage]:
LegendI[development175_swapmem_usage]: Swap mem in use :
LegendO[development175_swapmem_usage]:
ShortLegend[development175_swapmem_usage]: B
kMG[development175_swapmem_usage]: k,M,G,T,P
Title[development175_swapmem_usage]: Development175 -  Swap Memory Usage
PageTop[development175_swapmem_usage]: <h1>Development175 - Swap Memory Usage</h1>
        <TABLE  style="color:red;">
                <TR><TD>System:</TD><TD>Development175 - Linux Server</TD></TR>
                <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
                <TR><TD>Description:</TD><TD>Swap Memory Usage</TD></TR>
        </TABLE>

#8.) Total Process
Target[development175_totalprocesses]:hrSystemProcesses.0&hrSystemProcesses.0:xxxxx@xxxxxxxxxxxxxxx
Options[development175_totalprocesses]: nobanner,nopercent,gauge,integer,noinfo
MaxBytes[development175_totalprocesses]: 400
AbsMax[development175_totalprocesses]: 1000
Unscaled[development175_totalprocesses]: ymwd
ShortLegend[development175_totalprocesses]: ~
YLegend[development175_totalprocesses]: Processes
Legend1[development175_totalprocesses]: Processes
Legend2[development175_totalprocesses]:
Legend3[development175_totalprocesses]:
Legend4[development175_totalprocesses]:
LegendI[development175_totalprocesses]: Processes
LegendO[development175_totalprocesses]:
Title[development175_totalprocesses]: Development175 - Total Processes
PageTop[development175_totalprocesses]: <H1>Development175 - Total Processes</H1>
 <TABLE  style="color:red;">
        <TR><TD>System:</TD><TD>Development175 Linux Server</TD></TR>
        <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
        <TR><TD>Description:</TD><TD>Total Processes</TD></TR>
 </TABLE>

#10.) Total Disk Usage
Target[development175_totaldisk_usage]: hrStorageSize.1&hrStorageUsed.1:xxxxx@xxxxxxxxxxxxxxx *4
Options[development175_totaldisk_usage]: nobanner,noinfo,gauge
MaxBytes[development175_totaldisk_usage]: 7611600
AbsMax[development175_totaldisk_usage]:   10000000
Unscaled[development175_totaldisk_usage]: ymwd
YLegend[development175_totaldisk_usage]: Disk Usage
ShortLegend[development175_totaldisk_usage]: B
LegendI[development175_totaldisk_usage]: Size
LegendO[development175_totaldisk_usage]: Used
kMG[development175_totaldisk_usage]: k,M,G,T,P
Title[development175_totaldisk_usage]: Development175 - Disk Usage
PageTop[development175_totaldisk_usage]: <H1>Development175 - Disk Usage</H1>
 <TABLE  style="color:red;">
        <TR><TD>System:</TD><TD>Development175 Linux Server</TD></TR>
        <TR><TD>Maintainer:</TD><TD>Freddy Parra</TD></TR>
        <TR><TD>Description:</TD><TD>Disk Usage</TD></TR>
 </TABLE>




Regards,

Freddy
-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Cesar
Bermudez
Sent: Monday, September 13, 2004 1:36 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Monitoring gnugk


Hi Freddy , you can share your mrtg config for monitoring gnugk?
cheers.

> Hi Pablo,
> 
> I know what you mean. I've come across this myself in gnguk 2.2b5. I actually try not to log into the status port, as I have found out that one can easily crash or make gnugk non-responsive when using the status port. For example when setting debug trace levels through the status port gnugk has become non-responsive. When rotating debug logs, I found cdrs actually being logged into the debug log file instead of cdr file(weird behavior). The status port code really needs to be re-examine. I'm actually monitoring my system through mrtg graphs and CDR logging directly to mysql and avoid the status port at all cost for now. 
> 
> Freddy
> 
> -----Original Message-----
> From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Pablo
> Endres
> Sent: Monday, September 13, 2004 10:29 AM
> To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Subject:  Monitoring gnugk
> 
> 
> Hi people.
> 
> I need to find a form of monitoring the gnugk.
> 
> I've been trying to use a connection to the status port, but it hasn't
> quite worked (My app isn't crashing but rather hanging).
> 
> Any ideas on another approach?
> 
> Thanks in advance
> 
> -- 
> Pablo Endres <epablo@xxxxxxxxxx>
> ComVoz Communications
> 
> USA:       +1 954 343 2085 Ext 199
> Venezuela: +58 212 771 3100 Ext 199
> Colombia:  +57 1 325 6900 Ext 199
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM. 
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> 
> _______________________________________________________
> 
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM. 
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> 
> _______________________________________________________
> 
> List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_idâ49
> Homepage: http://www.gnugk.org/




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id49
Homepage: http://www.gnugk.org/
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÓ+ó^µéX¬²š'²ŠÞu¼ÿ`å1Ä%@Æð^¢w¨^ô>º#yË@vh§²Ú+yǽ槚ez#ètȈTDú+Ê«Žç`zg§¶‰ð†Šh®Û2¢êéÞrÛh.)îÄó›zËÿJš'²ŠÞu¼ˆÏÃy§eŠwÿIêmÿ]ÿˆ^­ïá¶Úÿÿûþw­þš\ýÊ'µë-þ˜iÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿËËÿ:—§‡}·‚Oî±êìþX¬¶Ïì¢êÜyú+ïçzÐ+r¯{øm¶ŸÿþÊ.­Ç¢¸þw­þf¢•ªÜ+Þýú+ºoéß»¦þ'óž=‰ž¥¨þm§ÿÿÃÿ‚{ “ú+


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux