[mrtg] Re: getlog.pl is driving me batty
Scalzott, Todd
tscalzott at kastle.com
Thu Sep 11 19:28:50 MEST 2003
Sorry, here is my config:
WorkDir: c:\inetpub\wwwroot\mrtg
Title[Exchange-1]:Exchange ES\Avg Event Time
Pagetop[Exchange-1]: <H1>Exchange ES\Avg Event Time</H1>
MaxBytes[Exchange-1]: 100
Options[Exchange-1]: gauge, nopercent
Target[Exchange-1]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeES\Avg Event Time"`
Directory[Exchange-1]: Exchange
YLegend[Exchange-1]: Legend
ShortLegend[Exchange-1]:
LegendO[Exchange-1]:
LegendI[Exchange-1]:
Legend2[Exchange-1]:Average Event Time
Legend1[Exchange-1]:
Title[Exchange-2]:Exchange ES\Avg Script Time
Pagetop[Exchange-2]: <H1>Exchange ES\Avg Script Time</H1>
MaxBytes[Exchange-2]: 100
Options[Exchange-2]: gauge, nopercent
Target[Exchange-2]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeES\Avg Script Time"`
Directory[Exchange-2]: Exchange
YLegend[Exchange-2]: Legend
ShortLegend[Exchange-2]:
LegendO[Exchange-2]:
LegendI[Exchange-2]:
Legend2[Exchange-2]:Average Script Time
Legend1[Exchange-2]:
Title[Exchange-3]:Exchange ES\Notify Queue
Pagetop[Exchange-3]: <H1>Exchange ES\Notify Queue</H1>
MaxBytes[Exchange-3]: 100
Options[Exchange-3]: gauge, nopercent
Target[Exchange-3]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeES\Notify Queue"`
Directory[Exchange-3]: Exchange
YLegend[Exchange-3]: Legend
ShortLegend[Exchange-3]:
LegendO[Exchange-3]:
LegendI[Exchange-3]:
Legend2[Exchange-3]:Events in the Notify Queue
Legend1[Exchange-3]:
Title[Exchange-4]:Exchange ES\Total Events
Pagetop[Exchange-4]: <H1>Exchange ES\Total Events</H1>
MaxBytes[Exchange-4]: 100
Options[Exchange-4]: gauge, nopercent
Target[Exchange-4]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeES\Total Events"`
Directory[Exchange-4]: Exchange
YLegend[Exchange-4]: Legend
ShortLegend[Exchange-4]:
LegendO[Exchange-4]:
LegendI[Exchange-4]:
Legend2[Exchange-4]:Total Events
Legend1[Exchange-4]:
Title[Exchange-5]:Exchange ES\Total Scripts
Pagetop[Exchange-5]: <H1>Exchange ES\Total Scripts</H1>
MaxBytes[Exchange-5]: 100
Options[Exchange-5]: gauge, nopercent
Target[Exchange-5]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeES\Total Scripts"`
Directory[Exchange-5]: Exchange
YLegend[Exchange-5]: Legend
ShortLegend[Exchange-5]:
LegendO[Exchange-5]:
LegendI[Exchange-5]:
Legend2[Exchange-5]:Total Scripts
Legend1[Exchange-5]:
Title[Exchange-6]:Exchange IMC\Inbound Messages Total
Pagetop[Exchange-6]: <H1>Exchange IMC\Inbound Messages Total</H1>
MaxBytes[Exchange-6]: 100
Options[Exchange-6]: gauge, nopercent
Target[Exchange-6]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIMC\Inbound Messages Total"`
Directory[Exchange-6]: Exchange
YLegend[Exchange-6]: Legend
ShortLegend[Exchange-6]:
LegendO[Exchange-6]:
LegendI[Exchange-6]:
Legend2[Exchange-6]:Internet Inbound Messages
Legend1[Exchange-6]:
Title[Exchange-7]:Exchange IMC\Outbound Messages Total
Pagetop[Exchange-7]: <H1>Exchange IMC\Outbound Messages Total</H1>
MaxBytes[Exchange-7]: 100
Options[Exchange-7]: gauge, nopercent
Target[Exchange-7]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIMC\Outbound Messages Total"`
Directory[Exchange-7]: Exchange
YLegend[Exchange-7]: Legend
ShortLegend[Exchange-7]:
LegendO[Exchange-7]:
LegendI[Exchange-7]:
Legend2[Exchange-7]:Internet Outbound Messages
Legend1[Exchange-7]:
Title[Exchange-8]:Exchange IMC\Queued Inbound
Pagetop[Exchange-8]: <H1>Exchange IMC\Queued Inbound</H1>
MaxBytes[Exchange-8]: 100
Options[Exchange-8]: gauge, nopercent
Target[Exchange-8]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIMC\Queued Inbound"`
Directory[Exchange-8]: Exchange
YLegend[Exchange-8]: Legend
ShortLegend[Exchange-8]:
LegendO[Exchange-8]:
LegendI[Exchange-8]:
Legend2[Exchange-8]:Internet Queued Outbound
Legend1[Exchange-8]:
Title[Exchange-9]:Exchange IMC\Queued Outbound
Pagetop[Exchange-9]: <H1>Exchange IMC\Queued Outbound</H1>
MaxBytes[Exchange-9]: 100
Options[Exchange-9]: gauge, nopercent
Target[Exchange-9]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIMC\Queued Outbound"`
Directory[Exchange-9]: Exchange
YLegend[Exchange-9]: Legend
ShortLegend[Exchange-9]:
LegendO[Exchange-9]:
LegendI[Exchange-9]:
Legend2[Exchange-9]:Internet Queued Inbound
Legend1[Exchange-9]:
Title[Exchange-10]:Exchange IS Private\Active Client Logons
Pagetop[Exchange-10]: <H1>Exchange IS Private\Active Client Logons</H1>
MaxBytes[Exchange-10]: 100
Options[Exchange-10]: gauge, nopercent
Target[Exchange-10]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Private\Active Client Logons"`
Directory[Exchange-10]: Exchange
YLegend[Exchange-10]: Legend
ShortLegend[Exchange-10]:
LegendO[Exchange-10]:
LegendI[Exchange-10]:
Legend2[Exchange-10]:Private Store Logons
Legend1[Exchange-10]:
Title[Exchange-11]:Exchange IS Private\Local deliveries
Pagetop[Exchange-11]: <H1>Exchange IS Private\Local deliveries</H1>
MaxBytes[Exchange-11]: 100
Options[Exchange-11]: gauge, nopercent
Target[Exchange-11]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Private\Local deliveries"`
Directory[Exchange-11]: Exchange
YLegend[Exchange-11]: Legend
ShortLegend[Exchange-11]:
LegendO[Exchange-11]:
LegendI[Exchange-11]:
Legend2[Exchange-11]:Private Store Local Msg Deliveries
Legend1[Exchange-11]:
Title[Exchange-12]:Exchange IS Private\Messages Delivered
Pagetop[Exchange-12]: <H1>Exchange IS Private\Messages Delivered</H1>
MaxBytes[Exchange-12]: 100
Options[Exchange-12]: gauge, nopercent
Target[Exchange-12]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Private\Messages Delivered"`
Directory[Exchange-12]: Exchange
YLegend[Exchange-12]: Legend
ShortLegend[Exchange-12]:
LegendO[Exchange-12]:
LegendI[Exchange-12]:
Legend2[Exchange-12]:Private Store Local Delivered
Legend1[Exchange-12]:
Title[Exchange-13]:Exchange IS Private\Messages Sent
Pagetop[Exchange-13]: <H1>Exchange IS Private\Messages Sent</H1>
MaxBytes[Exchange-13]: 100
Options[Exchange-13]: gauge, nopercent
Target[Exchange-13]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Private\Messages Sent"`
Directory[Exchange-13]: Exchange
YLegend[Exchange-13]: Legend
ShortLegend[Exchange-13]:
LegendO[Exchange-13]:
LegendI[Exchange-13]:
Legend2[Exchange-13]:Private Store Msgs Sent
Legend1[Exchange-13]:
Title[Exchange-14]:Exchange IS Public\Messages Delivered
Pagetop[Exchange-14]: <H1>Exchange IS Public\Messages Delivered</H1>
MaxBytes[Exchange-14]: 100
Options[Exchange-14]: gauge, nopercent
Target[Exchange-14]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Public\Messages Delivered"`
Directory[Exchange-14]: Exchange
YLegend[Exchange-14]: Legend
ShortLegend[Exchange-14]:
LegendO[Exchange-14]:
LegendI[Exchange-14]:
Legend2[Exchange-14]:Public Store Messages Delivered
Legend1[Exchange-14]:
Title[Exchange-15]:Exchange IS Public\Messages Sent
Pagetop[Exchange-15]: <H1>Exchange IS Public\Messages Sent</H1>
MaxBytes[Exchange-15]: 100
Options[Exchange-15]: gauge, nopercent
Target[Exchange-15]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS Public\Messages Sent"`
Directory[Exchange-15]: Exchange
YLegend[Exchange-15]: Legend
ShortLegend[Exchange-15]:
LegendO[Exchange-15]:
LegendI[Exchange-15]:
Legend2[Exchange-15]:Public Store Messages Sent
Legend1[Exchange-15]:
Title[Exchange-16]:Exchange IS\Active Connection Count
Pagetop[Exchange-16]: <H1>Exchange IS\Active Connection Count</H1>
MaxBytes[Exchange-16]: 100
Options[Exchange-16]: gauge, nopercent
Target[Exchange-16]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeIS\Active Connection Count"`
Directory[Exchange-16]: Exchange
YLegend[Exchange-16]: Legend
ShortLegend[Exchange-16]:
LegendO[Exchange-16]:
LegendI[Exchange-16]:
Legend2[Exchange-16]:Connections
Legend1[Exchange-16]:
Title[Exchange-17]:Exchange MTA\Inbound Bytes Total
Pagetop[Exchange-17]: <H1>Exchange MTA\Inbound Bytes Total</H1>
MaxBytes[Exchange-17]: 100
Options[Exchange-17]: gauge, nopercent
Target[Exchange-17]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Inbound Bytes Total"`
Directory[Exchange-17]: Exchange
YLegend[Exchange-17]: Legend
ShortLegend[Exchange-17]:
LegendO[Exchange-17]:
LegendI[Exchange-17]:
Legend2[Exchange-17]:Bytes
Legend1[Exchange-17]:
Title[Exchange-18]:Exchange MTA\Inbound Messages Total
Pagetop[Exchange-18]: <H1>Exchange MTA\Inbound Messages Total</H1>
MaxBytes[Exchange-18]: 100
Options[Exchange-18]: gauge, nopercent
Target[Exchange-18]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Inbound Messages Total"`
Directory[Exchange-18]: Exchange
YLegend[Exchange-18]: Legend
ShortLegend[Exchange-18]:
LegendO[Exchange-18]:
LegendI[Exchange-18]:
Legend2[Exchange-18]:Messages
Legend1[Exchange-18]:
Title[Exchange-19]:Exchange MTA\Outbound Bytes Total
Pagetop[Exchange-19]: <H1>Exchange MTA\Outbound Bytes Total</H1>
MaxBytes[Exchange-19]: 100
Options[Exchange-19]: gauge, nopercent
Target[Exchange-19]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Outbound Bytes Total"`
Directory[Exchange-19]: Exchange
YLegend[Exchange-19]: Legend
ShortLegend[Exchange-19]:
LegendO[Exchange-19]:
LegendI[Exchange-19]:
Legend2[Exchange-19]:Bytes
Legend1[Exchange-19]:
Title[Exchange-20]:Exchange MTA\Outbound Messages Total
Pagetop[Exchange-20]: <H1>Exchange MTA\Outbound Messages Total</H1>
MaxBytes[Exchange-20]: 100
Options[Exchange-20]: gauge, nopercent
Target[Exchange-20]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Outbound Messages Total"`
Directory[Exchange-20]: Exchange
YLegend[Exchange-20]: Legend
ShortLegend[Exchange-20]:
LegendO[Exchange-20]:
LegendI[Exchange-20]:
Legend2[Exchange-20]:Messages
Legend1[Exchange-20]:
Title[Exchange-21]:Exchange MTA\Total Recipients Inbound
Pagetop[Exchange-21]: <H1>Exchange MTA\Total Recipients Inbound</H1>
MaxBytes[Exchange-21]: 100
Options[Exchange-21]: gauge, nopercent
Target[Exchange-21]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Total Recipients Inbound"`
Directory[Exchange-21]: Exchange
YLegend[Exchange-21]: Legend
ShortLegend[Exchange-21]:
LegendO[Exchange-21]:
LegendI[Exchange-21]:
Legend2[Exchange-21]:Recipients
Legend1[Exchange-21]:
Title[Exchange-22]:Exchange MTA\Total Recipients Outbound
Pagetop[Exchange-22]: <H1>Exchange MTA\Total Recipients Outbound</H1>
MaxBytes[Exchange-22]: 100
Options[Exchange-22]: gauge, nopercent
Target[Exchange-22]: `perl d:/mrtg/bin/getlog.pl D:\PerfLog\DCExchange.csv "\\dc\MSExchangeMTA\Total Recipients Outbound"`
Directory[Exchange-22]: Exchange
YLegend[Exchange-22]: Legend
ShortLegend[Exchange-22]:
LegendO[Exchange-22]:
LegendI[Exchange-22]:
Legend2[Exchange-22]:Recipients
Legend1[Exchange-22]:
-----Original Message-----
From: Scalzott, Todd
Sent: Thursday, September 11, 2003 12:22 PM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] getlog.pl is driving me batty
I'm trying to use MRTG on Windows 2000 (ActiveState Perl) with getlog.pl and a Performance Monitor logfile.
Whenever I run the getlog.pl command configured in my mrtg.cfg file, all is well. That is, the command below produces proper results when performed at the command prompt:
perl getlog.pl d:/perflog/dcexchange.csv "\\dc\MSExchangeMTA\Total Recipients Inbound"
I'll get nice values like:
0
40581
0
0
But my graphs are all empty. Looking at the corresponding logfile, I'll see this:
1063300638 0 40581
1063300638 0 0 0 0
1063300338 0 0 0 0
Two missing values on the first line, nothing but 0s for all subsequent.
I can't even manage to clear out the log files. Stop MRTG, remove *.log and *.old, restart the CSV....rather large log files come back.
Can anyone please assist?
Thank you in advance.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list