Hi
So I've fully updated my backend mysql database to 0.8.3 to match the
running frontend.  Yet, when running from cron, the pollers never populate
the RRD files, yet when run manually, as the jffnms user (sudo jffnms, php
-q poller2.php HOSTID), the RRD files show data.  Is there something else
that could be wrong?  Thanks

Jason

On Wed, Feb 27, 2008 at 2:14 PM, Torfinn Ingolfsen <[EMAIL PROTECTED]> wrote:

> Hello,
>
> Just to complete this part of the info.
>
> On Tue, Feb 26, 2008 at 8:32 PM, ... <[EMAIL PROTECTED]> wrote:
> > Hi
> > So I've edited my cron file to replace the variables $JFFNMS and $PHP
> with
> > the actual paths in each command;
>
> You don't have to do that. Here are the first few lines of my crontab
> file for jffnms:
> # jffnms crontab file
> # Created by Sergey Akifyev <[EMAIL PROTECTED]>
> JFFNMS=/usr/local/share/jffnms/engine
> PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin://usr/local/sbin
>     # JFFNMS
> */1 * * * * cd $JFFNMS && php -q consolidate.php >/dev/null 2>&1
> */5 * * * * cd $JFFNMS && php -q poller.php >/dev/null 2>&1
>
> You see, it is erfextly possible to define env variables in the crontab
> file.
>
> As I have read elsewhere in this thread, your problem seems to be
> something else.
> --
> Regards,
> Torfinn Ingolfsen
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> jffnms-users mailing list
> jffnms-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jffnms-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to