Hi Javier,

sorry for this long email, i'm just trying to be
specific :)

I just installed jffnms 0.82:
linux slackware 2.4.20
php 4.3.11
mysql 4.1.14
apache 2.0.54
rrdtool-1.0.48
net-snmp-5.2.1.2

added host - manual discovery - add reachability
interface
when i tried to view, i got this message (it has been
already 20 minutes)
error: The RRDTool files for Interface ID 24 (from
Host ID 13), has not been created by the Poller
Process yet

i tried to run manually
/opt/jffnms/engine#/usr/local/bin/php -q poller.php 13
0 0 0 
here is the output :
[EMAIL PROTECTED]:/opt/jffnms/engine# /usr/local/bin/php -q
poller.php 13 0 0 0
        13:39:06  :  H  13 : Poller Start : 8 Items.
        13:39:06  :  H  13 :  I  24 :  P   1 :
reachability_start:ping(): 4354988a78740 -> buffer():
1 (time P:24.63 | 0.52) 
        13:39:22  :  H  13 :  I  24 :  P 122 : wait(): ok ->
no_backend(): 0 (time P:16153.69 | 0.26) 
        13:39:22  :  H  13 :  I  24 :  P 123 :
reachability_values:rtt(rtt): 0.05 -> buffer(): 2
(time P:0.76 | 0.2) 
        13:39:22  :  H  13 :  I  24 :  P 124 :
reachability_values:packetloss(pl): 0 -> buffer(): 3
(time P:0.35 | 0.18) 
        13:39:22  :  H  13 :  I  24 :  P 125 : status():
reachable|0% Packet Loss -> alarm(40): Nothing was
done (time P:0.51 | 3.14) 
        13:39:22  :  H  13 :  I  24 :  P 126 :
ping_cleanup(): 1 -> no_backend(): 0 (time P:0.59 |
0.12) 
        13:39:22  :  H  13 :  I  24 :  P 127 : no_poller(): 0
-> rrd(*): rtt:0.05 - packetloss:0 (time P:0.24 |
190.62) 
        13:39:22  :  H  13 :  I  24 :  P LPD :
last_poll_date(): 1129617562 -> db(last_poll_date): 1
(time P:0.3 | 5.26) 
        13:39:22  :  H  13 : Poller End, Total Time: 16427.58
msec.
        [EMAIL PROTECTED]:/opt/jffnms/engine# 

but the graph still won't shown with the same error
The RRDTool files for Interface ID 24 (from Host ID
13), has not been created by the Poller Process yet

i checked the /opt/jffnms/rrd, i got rrd files 
but they owner is wrong, it was root (is it because i
run the php -q poller with root account?)
so i changed it to jffnms:jffnms

and i got the graph :) still empty though, so i waited
again
but after 10 minutes, the graph still empty

i tried to run the poller.php every 2 minutes
manually, and i got the graph
but sometime i got output like this

[EMAIL PROTECTED]:/opt/jffnms/engine# /usr/local/bin/php -q
poller.php 11 0 0 0 
20:51:58  :  H  11 : Poller Start : 0 Items.
20:51:58  :  H  11 : Poller End, Total Time: 23.03
msec.
[EMAIL PROTECTED]:/opt/jffnms/engine# 


is it the cron?
I looked in /var/log/cronn there's output from jffnms
cron like the following:
Oct 18 20:24:01 ws crond[333]: USER jffnms pid 851 cmd
cd $JFFNMS && $PHP -q consolidate.php >/dev/null 2>&1 
Oct 18 20:25:01 ws crond[333]: USER jffnms pid 853 cmd
cd $JFFNMS && $PHP -q consolidate.php >/dev/null 2>&1 
Oct 18 20:25:01 ws crond[333]: USER jffnms pid 854 cmd
cd $JFFNMS && $PHP -q poller.php >/dev/null 2>&1 
Oct 18 20:25:01 ws crond[333]: USER jffnms pid 856 cmd
cd $JFFNMS && $PHP -q poller.php 10 0 0 0 > dev/null
2>&1 


i tried to run the command in cron for poller
here is the output:
[EMAIL PROTECTED]:/opt/jffnms/engine# /usr/local/bin/php -q
poller.php
Executing: /usr/bin/php -q poller.php 13 0 1 0 0 &
DB(mysql): Could not connect to the Database.
[EMAIL PROTECTED]:/opt/jffnms/engine#

what did i miss?



i double checked php.ini, and i used <?php php.info ?>
they are in correct setting.




register_globals = On 
register_argc_argv = On 
error_reporting  =  E_ALL & ~E_NOTICE
allow_url_fopen = On
include_path = .:/usr/share/pear
short_open_tag = On

Anything i can do? 
Thank you very much

Andy


                
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to