[mrtg] Re: monitor of the temperature

kikaku1 at cniri.go.jp kikaku1 at cniri.go.jp
Wed Sep 8 14:26:42 MEST 1999


Thank you for your help,
but still my mrtg system doesn't work.
Please help me again, please.

> > I want to monitor the temperature of the machine by using mrtg_2.5.1.
> > But I failed to do it.
> > I have a perl script "temp.pl" which gives us the output of the temperat
> > ure as 
> > the format of "(temperature)\n\n\n\n".
> 
> I'm not sure if you should have two numbers. First try the stuff mentioned
> below, if it still fails try "(temp)\n0\n\n\n"
> When run from the command line your output should show up as the following
> lines, however without quotes:
> "/usr1/people/yamada$ ./temp.pl"
> "42"
> "0"
> ""
> ""
> "/usr1/people/yamada$"
> 
> > My Mrtg.cfg is as follows.
> >   
> > Target[temp]: '/usr1/people/yamada/temp.pl'
> > MaxBytes[temp]: 
> 
> Provide a number for maxbytes or leave the line out.
> 
> Add a line "Options[temp]: gauge
> 
> Regards,
> Alex

> 
> > Hello,
> 
> Hi
> 
> > 
> > the format of "(temperature)\n\n\n\n".
> > My Mrtg.cfg is as follows.
> >   
> > Target[temp]: '/usr1/people/yamada/temp.pl'
> > MaxBytes[temp]: 
> 
> Try
> Target[temp]: `/usr1/people/yamada/temp.pl`
> 
> Those are backticks (on the same key as the ~)
> 
> 
> > 
> > What's problem? The format is wrong, or Mrtg.cfg is wrong?
> > Please help me!!
> 
> Should work for ya.. :)
> 
> 	Bryan
> 

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