Hi,
Can you double check the rights on the rrd files?
Is the field "poll" ticked on the ADMIN/HOST screen ?
Are you sure that doing sudo jffnms... is the same as su - jffnms; php -q
poller2.php ?
If you use poller2 the correct syntax is php -q poller2.php master X where X
specify the number of poller process to run.
David LIMA
-------- Message d'origine--------
De: [EMAIL PROTECTED] de la part de ...
Date: mer. 27/02/2008 22:10
À: Torfinn Ingolfsen; [email protected]
Cc:
Objet: Re: [jffnms-users] poller works when run manually,but NaN from cron??
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]
<https://portailsch.sch-groupe.fr/CitrixFEI/[EMAIL PROTECTED]> > wrote:
Hello,
Just to complete this part of the info.
On Tue, Feb 26, 2008 at 8:32 PM, ... <[EMAIL PROTECTED]
<https://portailsch.sch-groupe.fr/CitrixFEI/[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]
<https://portailsch.sch-groupe.fr/CitrixFEI/[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
[email protected]
<https://portailsch.sch-groupe.fr/CitrixFEI/[EMAIL PROTECTED]>
https://lists.sourceforge.net/lists/listinfo/jffnms-users
______________________________________________________________________
Ce message contient des informations dont le contenu est susceptible d'etre
confidentiel.
Il est destine au(x) destinataire(s) indique(s) exclusivement.
A moins que vous ne fassiez partie de la liste des destinataires, ou que vous
soyez habilite a recevoir le mail a leur place, il vous est interdit de le
copier, de l'utiliser ou de devoiler son contenu a un tiers.
Si vous avez recu cet email par erreur, merci de prendre contact avec
l'emetteur.
Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne
refletent pas necessairement celles de l'entreprise.
Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir
des virus qui pourraient endommager votre systeme informatique.
La compagnie a pris toutes dispositions afin de minimiser ce risque et decline
toute responsabilite pour toute perte ou dommage resultant directement ou
indirectement de l'utilisation de cet email ou de son contenu.
Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir
la ou les pieces jointes.
______________________________________________________________________
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users