Javier, sorry : i forgot to paste the last rule of the crontab in this message
25 6 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly 52 6 1 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly JFFNMS=/opt/jffnms/engine PHP=/usr/bin/php4 THREADS=40 */4 * * * * www-data cd /opt/jffnms/engine && $PHP -q consolidate.php >/dev/null 2>&1 */30 * * * * www-data cd /opt/jffnms/engine && $PHP -q rrd_analizer.php >/dev/null 2>&1 02 4 * * * www-data cd /opt/jffnms/engine && $PHP -q tftp_get_host_config.php >/dev/null 2>&1 02 5 * * * www-data cd /opt/jffnms/engine && $PHP -q cleanup_raw_tables.php >/dev/null 2>&1 20 * * * * www-data cd /opt/jffnms/engine && sh tmpwatch.sh $JFFNMS >/dev/null 2>&1 #*/5 * * * * www-data cd /opt/jffnms/engine && $PHP -q poller.php >/dev/null 2>&1 */30 * * * * www-data cd /opt/jffnms/engine && $PHP -q autodiscovery_interfaces.php master > /dev/null 2>&1 # Experimental stuff # Number of Poller/AD threads to run at the same time if using the new system # New Poller for big Networks */2 * * * * www-data cd /opt/jffnms/engine && $PHP -q poller2.php master $THREADS >/dev/null 2>&1 enms:/opt/jffnms# ps fax | grep poller 15072 ? S 2:19 /usr/bin/php4 -q poller2.php master 40 15079 ? S 0:08 \_ /usr/bin/php -q poller2.php - 5 15080 ? S 0:09 \_ /usr/bin/php -q poller2.php - 5 15081 ? S 0:07 \_ /usr/bin/php -q poller2.php - 5 15082 ? S 0:09 \_ /usr/bin/php -q poller2.php - 5 15083 ? S 0:09 \_ /usr/bin/php -q poller2.php - 5 15084 ? S 0:09 \_ /usr/bin/php -q poller2.php - 5 15085 ? S 0:07 \_ /usr/bin/php -q poller2.php - 5 15102 ? S 0:09 \_ /usr/bin/php -q poller2.php - 5 15105 ? S 0:11 \_ /usr/bin/php -q poller2.php - 5 15107 ? S 0:08 \_ /usr/bin/php -q poller2.php - 5 15109 ? S 0:08 \_ /usr/bin/php -q poller2.php - 5 etc... Greetings, Johan On Fri, 2005-05-06 at 08:01 -0300, Javier Szyszlican wrote: > Hi Johan, > > In your crontab it doesn't look like you are running poller2 at all. > > How's the load on the server? > > Also verify that the AD line has the $THREADS variable and that it works. > > A "ps fax" will show us what is really running. > > Javier > > johan wrote: > > Javier, > > > > I monitor some 350 cisco's by jffnms, everything works fine, but I see > > there are sometimes gaps in the graphs . I want to know what I have to > > adapt in the crontab to avoid those gaps > > > > my crontab : > > cat /etc/crontab > > > > SHELL=/bin/sh > > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > > > > # m h dom mon dow user command > > 25 6 * * * root test -e /usr/sbin/anacron || run-parts > > --report /etc/cron.daily > > 47 6 * * 7 root test -e /usr/sbin/anacron || run-parts > > --report /etc/cron.weekly > > 52 6 1 * * root test -e /usr/sbin/anacron || run-parts > > --report /etc/cron.monthly > > > > JFFNMS=/opt/jffnms/engine > > PHP=/usr/bin/php4 > > THREADS=40 > > */4 * * * * www-data cd /opt/jffnms/engine && $PHP -q > > consolidate.php >/dev/null 2>&1 > > */30 * * * * www-data cd /opt/jffnms/engine && $PHP -q > > rrd_analizer.php >/dev/null 2>&1 > > 02 4 * * * www-data cd /opt/jffnms/engine && $PHP -q > > tftp_get_host_config.php >/dev/null 2>&1 > > 02 5 * * * www-data cd /opt/jffnms/engine && $PHP -q > > cleanup_raw_tables.php >/dev/null 2>&1 > > 20 * * * * www-data cd /opt/jffnms/engine && sh tmpwatch.sh $JFFNMS > > > >>/dev/null 2>&1 > > > > #*/5 * * * * www-data cd /opt/jffnms/engine && $PHP -q poller.php > > > >>/dev/null 2>&1 > > > > */30 * * * * www-data cd /opt/jffnms/engine && $PHP -q > > autodiscovery_interfaces.php master > /dev/null 2>&1 > > > > Thx for your help, > > > > Greetings, > > Johan > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
