Hello,
> I use Perfparse v0.105.5.
>
> I run the perfparse.sh script every 30 minutes from CRON. Sometimes the
> perfparse.sh script stops (for no apparent reason) because of the
> following error:
>
> -------------------------------
> Error_Log undefined in /usr/local/nagios/etc/perfparse.cfg
> Cannot continue
> -------------------------------
Is Error_Log defined in /usr/local/nagios/etc/perfparse.cfg ? :)
If not, this is the 1st problem to fix. Then, in the log file, you will read
about other problems.
If yes, find out why it considers that it is not defined. Can you run
perfparse with --show_config ? What does it say for Error_Log ? Do you run it
in the exact conditions like with CRON ? What about running it with
--show_config with CRON, and redirecting the output to a file ?
I think that perfparse works perfectly for you except in that cases, and
there, because there is no error log file defined, it stops instead of going
on and reporting the problem.
Such a behaviour can be strange, but I prefer that perfparse stops when there
is a configuration problem than continue to run in an unwanted way (that can
even corrupt data :)
Fix the config problem, and you will know what real problems happen to
perfparse :)
Sorry if I cannot follow this, I'm so buzy these days...
Anyone who can help Oscar is welcome to answer here :)
Yves
--
- Homepage - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key - http://ymettier.free.fr/gpg.txt -
- Maitretarot - http://www.nongnu.org/maitretarot/ -
- Perfparse - http://www.perfparse.org/ -
|