I found a simple solution to my problem based on adding this line to
cron:

* * * * * /bin/date >> /var/log/gmetad.log

Regards
Miguel.





El jue, 24-06-2010 a las 08:55 +0200, Miguel A. Díaz Corchero escribió:
> Ok, thanks Bernard, but I still have a problem with the time ... 
> 
> 
> I modified the file /etc/init.d/gmetad (if someone wants it, I'll offer
> it) in order to write the debug output in /var/log/gmetad. The problem
> is that debug output doesn't have dates of logs. So, I can't know when
> the error happens :(.
> Any idea?
> 
> Regards,
> Miguel.
> 
> 
> 
> El mar, 22-06-2010 a las 10:52 -0700, Bernard Li escribió:
> > Hi Miguel:
> > 
> > 2010/6/22 Miguel A. <[email protected]>:
> > 
> > > After 21 days, gmetad stoped working. I was looking for logs
> > > in /etc/secure , /etc/syslog but I didn't find anything. Now , I want to
> > > save the debug mode in a file or a similar thing.
> > >
> > > I thought I could redirect the output with ">>", do you have other idea?
> > 
> > Ganglia typically doesn't log much (unless you run it in foreground)
> > so your idea of redirecting the debug output to a file is your best
> > bet.
> > 
> > You might also want to check your apache logs to see if there are
> > anything related to gmetad, though.
> > 
> > Cheers,
> > 
> > Bernard
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to