Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Marre des Spameurs qui prennent les add dans les news [SauroN]" <titi@toto.com>
Subject: Re: MRTG
Date: Thu, 16 May 2002 12:44:38 +0200	[thread overview]
Message-ID: <ac02im$6ap$1@s1.read.news.oleane.net> (raw)
In-Reply-To: be62698b.0205160030.50438aef@posting.google.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]

for mem usage, u can do the same

for cpu

i use this

/usr/bin/cfgmaker --host-template=cpu.CPQ.template


and cpu.CPQ.template  are


$head_lines .= <<ECHO;
#---------------------------------------------------------------------
ECHO
my $target_name = $router_name . ".cpu";
$target_lines .= <<ECHO;

YLegend[$target_name]: Percentage CPU 0 load
ShortLegend[$target_name]: %
Legend1[$target_name]: CPU 0 load in %
Legend2[$target_name]: CPU 1 load in %
Legend3[$target_name]: Max Observed CPU 0 load
Legend4[$target_name]: Max Observed CPU 1 load
LegendI[$target_name]: &nbsp;CPU 0 Load:
LegendO[$target_name]: &nbsp;CPU 1 Load:
WithPeak[$target_name]: ywm
MaxBytes[$target_name]: 100
Options[$target_name]: growright, gauge, nopercent
Title[$target_name]: $router_name CPU load
Target[$target_name]:
.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.2:$router_connect
PageTop[$target_name]: <H1>$router_name CPU load</H1>
          <TABLE>
            <TR><TD>System:</TD><TD>$router_name in
$html_syslocation</TD></TR>
            <TR><TD>Maintainer:</TD><TD>$html_syscontact</TD></TR>
            <TR><TD
VALIGN="top">Description:</TD><TD>$html_sysdescr</TD></TR>
            <TR><TD>Resource:</TD><TD>CPU.</TD></TR>
          </TABLE>
ECHO


"Murat Derin" <murat_derin@hotmail.com> a �crit dans le message de news:
be62698b.0205160030.50438aef@posting.google.com...
| Hi all,
|
| I installed MRTG on Tru64 5.1 A. It works fine. I can gather
| information about  load of network interfaces. But I need to gather
| information about cpu, memory etc. also. As i read document of MRTG, i
| need templatefile that written with perl code. Has anyone help me
| about it?
|
| Thank you all in advance...




  reply	other threads:[~2002-05-16 10:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16  8:30 MRTG Murat Derin
2002-05-16 10:44 ` Marre des Spameurs qui prennent les add dans les news [SauroN] [this message]
2002-05-17 12:07   ` MRTG Murat Derin
2002-05-20 13:28     ` MRTG Murat Derin
2002-05-21  9:10       ` MRTG Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-05-31  6:03         ` MRTG Murat Derin
2002-05-31 12:44           ` MRTG Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-06-02 20:41             ` MRTG Murat Derin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox