Search found 87 matches

by c3226026
Wed Jul 18, 2012 6:36 am
Forum: Plugin General
Topic: ugroup plugin for 0.8.8a ?
Replies: 0
Views: 484

ugroup plugin for 0.8.8a ?

Hello all,

Do you have some news on ugroup plugin for 0.8.8a cacti version ?

Thanks in advanced for your answer.
by c3226026
Fri Apr 06, 2012 2:46 am
Forum: Help: Linux/Unix Specific
Topic: spine 0.8.8 always reach maximum runtime
Replies: 10
Views: 2857

Re: spine 0.8.8 always reach maximum runtime

Actually I've this on debian (on fresh install) :

spine -V -f 0 -l 185
SPINE: Using spine config file [/etc/spine.conf]
SPINE: Version 0.8.8 starting
SPINE: Time: 0.0806 s, Threads: 1, Hosts: 2

Only with localhost.

But actually I've not graphs
by c3226026
Wed Mar 07, 2012 1:00 pm
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Many thanks for your answer rony, do you've some news for cacti 1.0.0 ? I've some trouble with libmysqlclent-dev for mysql 5.5 and spine : with libmysqlclient-dev for mysql 5.1 => spine file result compil size => 284 Ko with libmysqlclient-dev for mysql 5.5 => spine file result compil size => 6 Mo ....
by c3226026
Fri Feb 24, 2012 9:46 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

I've try with this . . $dsn = 'mysql://cactiuser:[email protected]/cacti?persist&port=3306'; $conn = ADONewConnection($dsn); if (!$conn) { print "ADONewConnection() failed\n"; exit; } . . but result is same only : FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have sp...
by c3226026
Fri Feb 24, 2012 4:10 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

noname wrote: Probably that error is not recorded by the above test code. Then there is no clue..
Yes I think also, in fact it's not a php error but a mysql connection error, so I think it's for that than there is nothing on "errors" php log.

Many thanks for your help.
by c3226026
Thu Feb 23, 2012 3:18 pm
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

In fact php repport only :

FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
by c3226026
Wed Feb 22, 2012 5:37 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Yes it's same error than the original topic.

I've try by cli, but I've same error and no error in php log, because I've no php log file.

[update1] In fact php log is on but in syslog file, but not error for this code, I check more [/update1]
by c3226026
Wed Feb 22, 2012 5:05 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

many thanks for your help, I've try your code but not database connection : FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php' if than can help, if I comment this two lines : include("./include/global.php"); i...
by c3226026
Tue Feb 21, 2012 2:19 pm
Forum: Help: Linux/Unix Specific
Topic: where to set default permissions for new .rrd files
Replies: 4
Views: 8414

Re: where to set default permissions for new .rrd files

Hello mgdkacti, .rrd files are create by the user who use poller.php. so I suppose than in your crontab you've something like this : */5 * * * * cacti php cactipath/poller.php .... I suppose also than cacti user is on the www-data group so in this case, you can done something like this (as write on ...
by c3226026
Tue Feb 21, 2012 12:06 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED]Spine NOT running asroot
Replies: 4
Views: 2862

Re: Spine NOT running asroot

Not at all, and very cool for you.

PS you can write [solved] in this post title :wink:
by c3226026
Tue Feb 21, 2012 11:56 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Hello noname, I've try this : <?php $conn = &ADONewConnection('mysql'); $conn->PConnect('localhost','cactiuser','my_password','cacti'); $sql = 'select hostname,description from host;'; $recordSet = &$conn->Execute($sql); if (!$recordSet) print $conn->ErrorMsg(); else while (!$recordSet->EOF) { print...
by c3226026
Tue Feb 21, 2012 6:22 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Hello nomane, I've done new tests with this file : <?php mysql_connect("localhost", "cactiuser", "my_password") or die(mysql_error()); echo "Connected to MySQL<br />"; mysql_select_db("cacti") or die(mysql_error()); echo "Connected to Database"; ?> result : Connected to MySQL Connected to Database S...
by c3226026
Tue Feb 21, 2012 1:16 am
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Hello noname, Many thanks for your help. I've try with $database_hostname = "127.0.0.1"; but no change. Server use only IPV4, IPV6 is disable by grub so no IPV6 result I've done the different tests : <?php $link = mysqli_connect('localhost', 'my_user', 'my_password', 'my_db'); if (!$link) { die('Con...
by c3226026
Mon Feb 20, 2012 4:56 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED]Spine NOT running asroot
Replies: 4
Views: 2862

Re: Spine NOT running asroot

Hello, I think is normal in the "basic" install, I suppose you've on your crontab cactiuser, something like this : */5 * * * * cactiuser php /path/poller.php .... In fact in this case it's your cacti user who run poller so who run spine. Just verify ower and group for your binary spine file, but nor...
by c3226026
Mon Feb 20, 2012 12:49 pm
Forum: Help: Linux/Unix Specific
Topic: does cacti works with php5-mysqlnd ?
Replies: 20
Views: 5331

Re: does cacti works with php5-mysqlnd ?

Hello noname, I've try but that not match (I used php5.3.10 and mysql 5.5-20 in the two cases) and I don't use old-passwords=1 so password are good : +-------------------------------------------+ | PASSWORD('test') | +-------------------------------------------+ | *94BDCEBE19083CE2A1F959FD02F964C7AF...