[mrtg] Re: Concurrent users MRTG problem

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Tue Jan 21 17:30:28 MET 2003


Bram,

Messages like these are normal the first 2 times you run a config with
new items to monitor.
The third run should give no errors, and result in a graph that shows
something else than zero's :-)

Jan.

-----Original Message-----
From: Bram Heerink [mailto:bram at guts.nl] 
Sent: Tuesday, January 21, 2003 5:19 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Concurrent users MRTG problem




Hey to all,

Meaby my mrtg is broke or something...

/usr/local/etc/mrtg/test.cfg:
gay-www# cat test.cfg
WorkDir: /var/www/admin/mrtg
LegendI[gay]: Users
Target[gay]: `/var/www/www.gay.nl/bin/online.php | cat`
MaxBytes[gay]: 1000
Options[gay]: gauge, noinfo, nopercent
Title[gay]: load chatboy server: users
YLegend[gay]: Users
LegendO[gay]: Users
ShortLegend[gay]: Users
PageTop[gay]: <H1>Concurrent users gay.n</H1>
        <TABLE>
        <TR><TD>Maintainer:</TD><TD>Bram Heerink bram at guts.nl</TD></TR>
        <TR><TD>Interface:</TD><TD>Concurrent users gay.nl</TD></TR>
        <TR><TD>Max:</TD><TD>1000</TD></TR>
        </TABLE>

/var/www/www.gay.nl/bin/online.php:

ls -la online.php:
gay-www# ls -l online.php
-rwxr-xr-x  1 root  wheel  335 Jan 21 17:03 online.php

gay-www# ./online.php
95
95
95
95
gay-www#

Try to make it run; first run:

gay-www# /usr/local/bin/mrtg /usr/local/etc/mrtg/test.cfg Rateup
WARNING: /usr/local/bin/rateup could not read the primary log file for
gay Rateup WARNING: /usr/local/bin/rateup The backup log file for gay
was invalid as well Rateup WARNING: /usr/local/bin/rateup Can't remove
gay.old updating log file Rateup WARNING: /usr/local/bin/rateup Can't
rename gay.log to gay.old updating log file


gay-www# head gay.log
1043165774 98 98
1043165774 0 0 0 0
1043165400 0 0 0 0
1043165100 0 0 0 0
1043164800 0 0 0 0
1043164500 0 0 0 0
1043164200 0 0 0 0
1043163900 0 0 0 0
1043163600 0 0 0 0
1043163300 0 0 0 0

Results in HTML: Nothing, still zero files

???????????


Regards,

Bram Heerink

--
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



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. 
Aan dit bericht kunnen geen rechten worden ontleend. 

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. 
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.

--
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