Problem with foreign scripts.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Gilad
Posts: 13
Joined: Wed Mar 13, 2002 7:00 pm

Problem with foreign scripts.

Post by Gilad »

Hello people, i have another problem, in this case, with the exterior scripts. I have some scripts that i try to run in my new install of cacti, and the scripts don´t update in the rrd files. When i run the scritps, the gathered the data and show me the result, but when i create the data imput and the data sources, i don´t see any graph. I see the logs and i notice that the rrdtool don´t upgrade the data, only N:U is show me. I think that is this a problem in the includes files(config.php, database.php, etc) because when i run the cmd.php i have some errors in this lines.

I really apreciate your comments.
mbiggs
Posts: 13
Joined: Tue Feb 04, 2003 4:18 am

Post by mbiggs »

Hwta are the errors when u run php cmd.php
Gilad
Posts: 13
Joined: Wed Mar 13, 2002 7:00 pm

Post by Gilad »

sorry for the ignorance, but what is Hwta?
mbiggs
Posts: 13
Joined: Tue Feb 04, 2003 4:18 am

Post by mbiggs »

lol - my fault - i just type away and never preview - ill try again!

'What' are the errors when u run php cmd.php??
mbiggs
Posts: 13
Joined: Tue Feb 04, 2003 4:18 am

Post by mbiggs »

lol - my fault - i just type away and never preview - ill try again!

'What' are the errors when u run php cmd.php??
Guest

Post by Guest »

Ok, my problems in short words. I have scritps, this scripts make ther job, and gather data. But this gathered data doesn´t is put in the rrd files. In another words cacti, or the rrdtool os something like that don´t save the gathered data in the rrd files. Another question, in the cron printout, i dont see anything, instead in the line "/usr/bin/php -q /var/www/html/cacti/scripts/sql.php" show me a "could not open input file" error.

this could be the problem, i really don´t know, if someone has the answer i will apreciate.

Gilad
Gilad
Posts: 13
Joined: Wed Mar 13, 2002 7:00 pm

Post by Gilad »

Ok, this are the erros that show me the cmd.php:

PHP Warning: main(../include/config.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /var/www/html/cacti/scripts/sql.php on line 4
PHP Warning: Failed opening '../include/config.php' for inclusion (include_path='.:/usr//lib/php') in /var/www/html/cacti/scripts/sql.php on line 4
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests