|
|
| Author |
Message |
j0hnd03
Joined: 06 Oct 2008 Posts: 18
|
Posted: Thu Nov 20, 2008 4:10 am Post subject: Not creating a simple ping graph |
|
|
Hi,
I am trying to get Cacti to graph the latency of a host, but no graph gets created. I am getting the following error on graph debug mode:
"ERROR: opening '/var/www/html/rra/******_ping_185.rrd': No such file or directory"
I get the following in the Cacti log:
"CMDPHP: Poller[0] Host[6] DS[185] CMD: /usr/bin/perl /var/www/html/scripts/ping.pl ***.**.***.***, output: 3.41
"CMDPHP: Poller[0] ASSERT: 'U<' failed. Recaching host '***.**.***.***', data query #6 "
I have a different host with the same setup and it graphs fine.
Folder Permissions:
drwsr-sr-t 2 apache apache 4096 Nov 15 01:00 rra
Please help Cacti Gurus. |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Thu Nov 20, 2008 11:31 am Post subject: |
|
|
The assert issue is not related to the other one. Please see 2nd link of my sig for more debugging help
Reinhard |
|
| Back to top |
|
 |
j0hnd03
Joined: 06 Oct 2008 Posts: 18
|
Posted: Fri Nov 21, 2008 6:51 am Post subject: |
|
|
| Dude, I can't see any signatures. Please post the direct link. |
|
| Back to top |
|
 |
khufure Cacti User
Joined: 24 Oct 2007 Posts: 164 Location: San Francisco, CA
|
Posted: Fri Nov 21, 2008 2:38 pm Post subject: |
|
|
| j0hnd03 wrote: | | Dude, I can't see any signatures. Please post the direct link. |
Need to be logged in to see those.
http://docs.cacti.net/node/283 |
|
| Back to top |
|
 |
j0hnd03
Joined: 06 Oct 2008 Posts: 18
|
Posted: Mon Nov 24, 2008 10:47 am Post subject: |
|
|
1. Check Cacti Log File
Please see my previous post for the errors in my log file.
2. Check Basic Data Gathering:
This works fine. I get the correct result.
3. Check cacti's poller:
php -q cmd.php <id> <id>
Returns nothing.
4. Check MySQL updating
Everything looks OK.
5. Check rrd file updating
There is no rrd file.
6. Check rrd file ownership
There is no rrd file.
7. Check rrd file numbers
There is no rrd file.
8. Check rrdtool graph statement
There is no rrd file.
9. Miscellaneous
Up to current cacti 0.8.6h, table poller_output may increase beyond reasonable size.
Still doesn't work.
10. RPM Installation?
Installed using the CactiEZ CD.
12. Not NaN, but 0 (zero) values?
Not Nans, not zeros. No graph or RRD file.
Any other suggestions? |
|
| Back to top |
|
 |
j0hnd03
Joined: 06 Oct 2008 Posts: 18
|
Posted: Mon Nov 24, 2008 11:01 am Post subject: |
|
|
The permissions on my rra folder:
drwsr-sr-t 2 apache apache 4096 Nov 20 14:59 rra |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Wed Nov 26, 2008 1:05 pm Post subject: |
|
|
| j0hnd03 wrote: | 3. Check cacti's poller:
php -q cmd.php <id> <id>
Returns nothing.
| Please see "Settings" and activate all logging checkboxes. Then retry
Reinhard |
|
| Back to top |
|
 |
|