[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jffnms-users
Subject:    [jffnms-users] =?utf-8?q?RE=C2=A0=3A__poller_works_when_run_manua?=
From:       "LIMA David" <DLIMA () fr ! scc ! com>
Date:       2008-02-28 8:34:32
Message-ID: 090DB1A8A95D114885BC6EC7BE830F6F02960B () strmes01 ! alliumfr ! corp ! priv
[Download RAW message or body]

--===============1797870205==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C879E4.BD9BD16F"

This is a multi-part message in MIME format.

[Attachment #2 (text/plain)]

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: jffnms-users-bounces@lists.sourceforge.net de la part de ... 
Date: mer. 27/02/2008 22:10 
À: Torfinn Ingolfsen; jffnms-users@lists.sourceforge.net 
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 <tingox@gmail.com \
<https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=tingox@gmail.com> > \
wrote:  

		Hello,
		
		Just to complete this part of the info.
		

		On Tue, Feb 26, 2008 at 8:32 PM, ... <grasshands@gmail.com \
<https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=grasshands@gmail.com> \
> 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 <asa@gascom.ru \
<https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=asa@gascom.ru> >  \
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://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=jffnms-users@lists.sourceforge.net> \
  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. ______________________________________________________________________



[Attachment #3 (text/html)]

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV>Hi, </DIV>
<DIV>&nbsp;</DIV>
<DIV>Can you double check the rights on the rrd files? </DIV>
<DIV>Is the field "poll" ticked on the ADMIN/HOST screen ? </DIV>
<DIV>Are you sure that doing sudo jffnms... is the same as su - jffnms; php -q \
poller2.php ?</DIV> <DIV>If you use poller2 the correct syntax is php -q poller2.php \
master X where X specify the number of poller process to run.</DIV> <DIV>&nbsp;</DIV>
<DIV>David LIMA</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>-------- Message d'origine-------- <BR><B>De:</B> \
jffnms-users-bounces@lists.sourceforge.net&nbsp;de la part de&nbsp;... \
<BR><B>Date:</B> mer. 27/02/2008 22:10 <BR><B>À:</B> Torfinn Ingolfsen; \
jffnms-users@lists.sourceforge.net <BR><B>Cc:</B> <BR><B>Objet:</B> Re: \
[jffnms-users] poller works when run manually,but NaN from \
cron??<BR><BR></DIV></FONT> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">Hi<BR>So \
I've fully updated my backend mysql database to 0.8.3 to match the running \
frontend.&nbsp; 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.&nbsp; Is there something else that could be \
wrong?&nbsp; Thanks<BR><BR>Jason<BR><BR> <DIV class=gmail_quote>On Wed, Feb 27, 2008 \
at 2:14 PM, Torfinn Ingolfsen &lt;<A \
href="https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=tingox@gmail.com">tingox@gmail.com</A>&gt; \
wrote:<BR> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt \
0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello,<BR><BR>Just to complete \
this part of the info.<BR> <DIV class=Ih2E3d><BR>On Tue, Feb 26, 2008 at 8:32 PM, ... \
&lt;<A href="https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=grasshands@gmail.com">grasshands@gmail.com</A>&gt; \
wrote:<BR>&gt; Hi<BR></DIV> <DIV class=Ih2E3d>&gt; So I've edited my cron file to \
replace the variables $JFFNMS and $PHP with<BR>&gt; the actual paths in each \
command;<BR><BR></DIV>You don't have to do that. Here are the first few lines of my \
crontab<BR>file for jffnms:<BR># jffnms crontab file<BR># Created by Sergey Akifyev \
&lt;<A href="https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp?to=asa@gasc \
om.ru">asa@gascom.ru</A>&gt;<BR>JFFNMS=/usr/local/share/jffnms/engine<BR>PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin://usr/local/sbin<BR>&nbsp; \
&nbsp; # JFFNMS<BR>*/1 * * * * cd $JFFNMS &amp;&amp; php -q consolidate.php \
&gt;/dev/null 2&gt;&amp;1<BR>*/5 * * * * cd $JFFNMS &amp;&amp; php -q poller.php \
&gt;/dev/null 2&gt;&amp;1<BR><BR>You see, it is erfextly possible to define env \
variables in the crontab file.<BR><BR>As I have read elsewhere in this thread, your \
problem seems to be<BR>something else.<BR><FONT color=#888888>--<BR></FONT> <DIV>
<DIV></DIV>
<DIV class=Wj3C7c>Regards,<BR>Torfinn \
Ingolfsen<BR><BR>-------------------------------------------------------------------------<BR>This \
SF.net email is sponsored by: Microsoft<BR>Defy all challenges. Microsoft(R) Visual \
Studio 2008.<BR><A href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" \
target=_blank>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</A><BR>_______________________________________________<BR>jffnms-users \
mailing list<BR><A href="https://portailsch.sch-groupe.fr/CitrixFEI/composemessage.asp \
?to=jffnms-users@lists.sourceforge.net">jffnms-users@lists.sourceforge.net</A><BR><A \
href="https://lists.sourceforge.net/lists/listinfo/jffnms-users" \
target=_blank>https://lists.sourceforge.net/lists/listinfo/jffnms-users</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE>
 <BR>
______________________________________________________________________<BR>
Ce message contient des informations dont le contenu est susceptible d'etre \
confidentiel.<BR> Il est destine au(x) destinataire(s) indique(s) exclusivement.<BR>
<BR>
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.<BR> <BR>
Si vous avez recu cet email par erreur, merci de prendre contact avec l'emetteur.<BR>
<BR>
Les opinions exprimees dans cet e-mail sont celles de l'emetteur et ne refletent pas \
necessairement celles de l'entreprise.<BR> <BR>
Ce e-mail peut contenir des pieces jointes dont certaines pourraient contenir des \
virus qui pourraient endommager votre systeme informatique.<BR> <BR>
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.<BR> <BR>
Il vous appartient d'effectuer vos propres controles anti-virus avant d'ouvrir la ou \
les pieces jointes.<BR> \
______________________________________________________________________<BR> \
</BODY></HTML>


[Attachment #4 (--===============1797870205==)]
-------------------------------------------------------------------------
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic