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.
Problem with foreign scripts.
Moderators: Developers, Moderators
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
this could be the problem, i really don´t know, if someone has the answer i will apreciate.
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
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
Who is online
Users browsing this forum: No registered users and 2 guests