Hi Dimitri,
Remove the extension=rrdtool.so from your php.ini
And are you sure you have the "rrdtool" binary ok in your setup.php ?
Javier
Dimitri Yioulos wrote:
(I hope this isn't double-posted) I'm running the poller manually, and here's what I get as output:
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'rrdtool.so' in Unknown on line 0 15:40:22 : H 4 : Poller Start : 64 Items. 15:40:22 : H 4 : I 32 : P 1 : reachability_start:ping(): 423748364ddd7 -> buffer(): 1 (time P:61.73 | 2.61) 15:40:29 : H 4 : I 19 : P 10 : snmp_counter:cpu_nice_ticks(.1.3..1.0): -> buffer(): 2 (time P:7181.63 | 1.22) 15:40:32 : H 4 : I 26 : P 10 : tcp_status,tcp_content,conn_delay(): open|220 mail1.firstbhph.com ESMTP Sendmail 8.12.11/8.12.11; Tue, 15 Mar 2005 15:40:26 -0500|0.00086 -> multi_buffer(): 5 (time P:3006.64 | 2.46) 15:40:35 : H 4 : I 28 : P 10 : tcp_status,tcp_content,conn_delay(): open|+OK POP3 plymouth v2003.83rh server ready|0.00052 -> multi_buffer(): 8 (time P:3005.13 | 1.37) 15:40:38 : H 4 : I 29 : P 10 : tcp_status,tcp_content,conn_delay(): open|* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] plymouth IMAP4rev1 2003.338rh at Tu|0.00048 -> multi_buffer(): 11 (time P:3006.77 | 1.65) 15:40:41 : H 4 : I 30 : P 10 : tcp_status,tcp_content,conn_delay(): open||0.00053 -> multi_buffer(): 13 (time P:3005.7 | 1.3) 15:40:44 : H 4 : I 31 : P 10 : tcp_status,tcp_content,conn_delay(): open||0.00048 -> multi_buffer(): 15 (time P:3006.72 | 1.31) 15:40:47 : H 4 : I 33 : P 10 : tcp_status,tcp_content,conn_delay(): open|SSH-2.0-OpenSSH_3.6.1p2|0.00056 -> multi_buffer(): 18 (time P:3006.23 | 1.3) 15:40:50 : H 4 : I 34 : P 10 : tcp_status,tcp_content,conn_delay(): open||0.0006 -> multi_buffer(): 20 (time P:3005.9 | 1.29) 15:40:57 : H 4 : I 19 : P 15 : snmp_counter:num_procs(.1.3..6.0): -> buffer(): 21 (time P:7136.51 | 1.18) 15:40:57 : H 4 : I 26 : P 15 : tcp_status,tcp_content(): open|220 mail1.firstbhph.com ESMTP Sendmail 8.12.11/8.12.11; Tue, 15 Mar 2005 15:40:26 -0500 -> alarm(22): Nothing was done (time P:1.94 | 8.73) 15:40:57 : H 4 : I 28 : P 15 : tcp_status,tcp_content(): open|+OK POP3 plymouth v2003.83rh server ready -> alarm(22): Nothing was done (time P:1.04 | 4.35) 15:40:57 : H 4 : I 29 : P 15 : tcp_status,tcp_content(): open|* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] plymouth IMAP4rev1 2003.338rh at Tu -> alarm(22): Nothing was done (time P:1.1 | 4.17) 15:40:57 : H 4 : I 30 : P 15 : tcp_status,tcp_content(): open -> alarm(22): Nothing was done (time P:0.95 | 4.1) 15:40:57 : H 4 : I 31 : P 15 : tcp_status,tcp_content(): open -> alarm(22): Nothing was done (time P:0.85 | 4.17)
I note the very first line, "PHP Warning". Is that the culprit? If so, do you know how I can fix it?
Dimitri
You should show us what happens when you run that command?
If nothing happens then is a problem.
Try running it as
php -q poller.php <host_id>
Replace that with you Host ID field like 2. Check that you host has the "Polling" field enabled.
Javier
Dimitri Yioulos wrote:
Javier,
I just tried running the cron job manually, as described. Still no joy
:-(
I know you're busy, but please don't give up on me... I'd really like to
get
this working. Any other ideas?
Dimitri
If everything else is correct, you may want to try running the cronjob manually.
Like:
cd /opt/jffnms/engine/ php -q poller.php
And see what happens.
Javier
Dimitri Yioulos wrote:
Hi, Javier.
The graphs appear. They just have no data in them.
There are files in rrd (e.g. interface-26-0.rrd, etc.).
Jffnms has read/write permissions on all the files.
Finally, the cron jobs are running.
I must be very close to making this go, but ...
Dimitri
Hi Dimitri,
What is "empty" the graph with no data? o no graph at all?
Do you have files in rrd/?
Check the files permissions? is the apache or jffnms user allowed to write them?
Are the cronjobs running? (specially the poller one) check your /var/log/cron file.
Javier
Dimitri Yioulos wrote:
Hello to all.
I’ve just installed JFFNMS 1.8 on a RHEL AS 3 box. Everything regarding the install seems to have gone fine. I am able to access the program via a browser, and auto-discovery seems to work for the hosts I create. The problem is that no data are returned – the graphs are empty, etc. Where have I gone wrong?
I apologize if this has been asked a million times; my search of the archives didn’t turn up anything (probably my fault for a poorly-constructed search). Your help would be greatly appreciated.
Dimitri
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
