[mrtg] Re: monitor of t he temperature
kikaku1
kikaku1 at cniri.go.jp
Thu Sep 9 12:55:18 MEST 1999
> >
> > Thank you for your help,
> > but still my mrtg system doesn't work.
> > Please help me again, please.
> >
> If you do not specify **what** fails, how am I supposed to help ?
I'm sorry. I gave no information about it.
> What is the output of your script "temp.pl" ?
For example,
"36"
"0"
""
""
> What are the error messages returned by mrtg ?
In the case of "/usr1/people/yamada$ ./temp.pl"
sh: /usr/local/mrtg-2.5.1$: is not found.
Could not get any data from external command '/usr1/people/yamada$ ./tem
p.pl'
Maybe the external command did not even start. (There is no such file or
directory)
Problem with Externale get '`/usr1/people/yamada$ ./temp.pl`':
Expected a number for 'in' but got '-1'
Problem with Externale get '`/usr1/people/yamada$ ./temp.pl`':
Expected a number for 'out' but got '0'
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup could not read the pri
mary log
file for temp
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup The backup log file fo
r temp was invalid as well
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup Can't remove temp.old
updating log file
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup Can't rename temp.log
to temp.old updating log file
------------------------------------------------------
So I select "/usr1/people/yamada/temp.pl".
> What are the first few lines of your logfile ?
In the case of the "/usr1/people/yamada/temp.pl"
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup could not read the pri
mary log
file for temp
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup The backup log file fo
r temp was invalid as well
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup Can't remove temp.old
updating log file
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup Can't rename temp.log
to temp.old updating log file
> What are the first few lines of your logfile after 15 minutes ?
In the case of the "/usr1/people/yamada/temp.pl"
Rateup ERROR: /usr/local/src/mrtg-2.5.1//rateup found temp's log file wa
s
corrupt or not in sorted order.Rateup WARNING: /usr/local/src/mrtg-2.5.
1//
rateup could not read the primary log file for temp
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup The backup log file fo
r temp
was invalid as well
Rateup WARNING: /usr/local/src/mrtg-2.5.1//rateup Can't remove temp.old
updating
log file
>
> Regards,
> Alex
>
And the first lines of temp.log is,
936873271 /usr1/people/yamada/temp.pl /usr1/people/yamada/temp.pl
936873271 0 0 0 0
936872700 0 0 0 0
936872400 0 0 0 0
936872100 0 0 0 0
936871800 0 0 0 0
936871500 0 0 0 0
Sincerely yours,
Toshikazu Yamada
****************************************************
Chugoku National Industrial Research Institute
2-2-2 Hiro-Suehiro, Kure, Hiroshima 737-0197, JAPAN
Tel: +81-823-72-1902 Fax: +81-823-70-0023
E-mail:kikaku1 at cniri.go.jp
****************************************************
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list