Please help PIA!!!
Moderators: Developers, Moderators
Please help PIA!!!
Hi all,
I am using cacti Version 0.8.7i and using with PIA 3.0.
Everything installed Cacti is fine, but something happen with PIA installed.
- installation plugin completed:
- But i can not loading some tabs:
This is my config.php file:
<?php
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "xxxxxx";
$database_port = "3306";
$database_ssl = false;
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
$config['url_path'] = "/sysmon/";
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'thold';
$plugins[] = 'monitor';
?>
Can anyone tell me where i install wrong?
And how to install PIA 3.1??
Thank you so much
Your any feedback is appreciated,
I am using cacti Version 0.8.7i and using with PIA 3.0.
Everything installed Cacti is fine, but something happen with PIA installed.
- installation plugin completed:
- But i can not loading some tabs:
This is my config.php file:
<?php
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "xxxxxx";
$database_port = "3306";
$database_ssl = false;
/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";
$config['url_path'] = "/sysmon/";
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'thold';
$plugins[] = 'monitor';
?>
Can anyone tell me where i install wrong?
And how to install PIA 3.1??
Thank you so much
Your any feedback is appreciated,
Re: Please help PIA!!!
>> I am using cacti Version 0.8.7i and using with PIA 3.0.
Such a problem occurs when you have forced to install PIA3.0 into Cacti 0.8.7i.
It seems that PIA3.0 was made for Cacti 0.8.7h (only).
>> And how to install PIA 3.1??
Perhaps PIA3.1 isn't released separately. I recommend re-installing Cacti bundled PIA version from the beginning.
Such a problem occurs when you have forced to install PIA3.0 into Cacti 0.8.7i.
It seems that PIA3.0 was made for Cacti 0.8.7h (only).
>> And how to install PIA 3.1??
Perhaps PIA3.1 isn't released separately. I recommend re-installing Cacti bundled PIA version from the beginning.
Re: Please help PIA!!!
Thank you your reply,
As you said that re-install cacti, so where i can find Plugin Management to managed some plugins??
i can not find file .diff on PIA 3.1, Could you tell me how to apply PIA 3.1 with Cacti Version: 0.8.7i ?
Is the copy overwrite to directory Cacti?
Regards,
As you said that re-install cacti, so where i can find Plugin Management to managed some plugins??
i can not find file .diff on PIA 3.1, Could you tell me how to apply PIA 3.1 with Cacti Version: 0.8.7i ?
Is the copy overwrite to directory Cacti?
Regards,
Re: Please help PIA!!!
Did you use "Cacti with Plugin Architecture" correctly?
- http://www.cacti.net/download_cacti.php
If so, then please make sure:
1) $url_path in 'include/config.php'
2) User Management > admin > Realm Permissions > Plugin Management
The file .diff and pa.sql don't exist since PIA3.1.
Plugin relevant tables will be created when you imported cacti.sql.
- http://www.cacti.net/download_cacti.php
If so, then please make sure:
1) $url_path in 'include/config.php'
2) User Management > admin > Realm Permissions > Plugin Management
The file .diff and pa.sql don't exist since PIA3.1.
Plugin relevant tables will be created when you imported cacti.sql.
Re: Please help PIA!!!
Hi noname,
My mean is how and where i can putting all files on PIA 3.1 to cacti?
Is copy all files on PIA 3.1 to cacti directory?
With PIA 3.0 and previously has file .diff, so easy to used patch command
But with PIA 3.1 i do not know how to do
Could you guild me?
Thanks
My mean is how and where i can putting all files on PIA 3.1 to cacti?
Is copy all files on PIA 3.1 to cacti directory?
With PIA 3.0 and previously has file .diff, so easy to used patch command
But with PIA 3.1 i do not know how to do
Could you guild me?
Thanks
Re: Please help PIA!!!
What do you mean "all files" ?trungmv wrote: My mean is how and where i can putting all files on PIA 3.1 to cacti?
Is copy all files on PIA 3.1 to cacti directory?
1) Download and unpack "Cacti with Plugin Architecture"trungmv wrote: With PIA 3.0 and previously has file .diff, so easy to used patch command
But with PIA 3.1 i do not know how to do
2) Make sure directory permissions
3) Edit 'include/config.php'
4) Import cacti.sql into your Cacti DB
5) Open http://server/cacti/ via browser then install Cacti
6) Enable "Plugin Management" at Realm Permissions
7) Place particular plugin files under plugins/ directory and activate it from GUI
Re: Please help PIA!!!
Thank you your helpful reply,
My fault is only used cacti-0.8.7i to installed not cacti-0.8.7i-PIA-3.1, i am silly.
After i completed installation cacti and plugins seem to all fine.
But i have trouble with graphs, can not display data:
Debug the graph:
My crond job:
[root@xxxxxxxxx]# crontab -l -u cactiuser
*/5 * * * * cactiuser /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
I very appreciate if you tell me how to resolved this issue?
Best regards,
My fault is only used cacti-0.8.7i to installed not cacti-0.8.7i-PIA-3.1, i am silly.
After i completed installation cacti and plugins seem to all fine.
But i have trouble with graphs, can not display data:
Debug the graph:
My crond job:
[root@xxxxxxxxx]# crontab -l -u cactiuser
*/5 * * * * cactiuser /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
I very appreciate if you tell me how to resolved this issue?
Best regards,
Re: Please help PIA!!!
Does 'cactiuser' have write permission to rra/ directory?
% ls -ld /var/www/html/sysmon/rra/
Please check this also:
- Initial Graph does not appear - Cacti Docs
% ls -ld /var/www/html/sysmon/rra/
Please check this also:
- Initial Graph does not appear - Cacti Docs
Re: Please help PIA!!!
Hi,
This is cactiuser permisssion:
[root@xxxxxxxx]# ls -ld /var/www/html/sysmon/rra/
drwxr-xr-x 2 cactiuser cacti 4096 Sep 12 04:55 /var/www/html/sysmon/rra/
and i changed file log to need permission
But I think i have troubled with create cron.
This is my cacti log:
when i checked:
[root@xxxxxxx]# crontab -l
no crontab for root
[root@xxxxxxxx]# crontab -l -u cactiuser
no crontab for cactiuser
[root@xxxxxxxx]# cd /etc/cron
[root@xxxxxxx cron.d]# cd /etc/cron.d/
[root@d]# ll
total 4
-rw-r--r-- 1 root root 84 Feb 17 13:52 cacti
and content in file cacti:
*/5 * * * * cactiuser /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
So, may i create cron is right??
or what ever to do?
Please let me know how to do.
Regards,
This is cactiuser permisssion:
[root@xxxxxxxx]# ls -ld /var/www/html/sysmon/rra/
drwxr-xr-x 2 cactiuser cacti 4096 Sep 12 04:55 /var/www/html/sysmon/rra/
and i changed file log to need permission
But I think i have troubled with create cron.
This is my cacti log:
when i checked:
[root@xxxxxxx]# crontab -l
no crontab for root
[root@xxxxxxxx]# crontab -l -u cactiuser
no crontab for cactiuser
[root@xxxxxxxx]# cd /etc/cron
[root@xxxxxxx cron.d]# cd /etc/cron.d/
[root@d]# ll
total 4
-rw-r--r-- 1 root root 84 Feb 17 13:52 cacti
and content in file cacti:
*/5 * * * * cactiuser /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
So, may i create cron is right??
or what ever to do?
Please let me know how to do.
Regards,
Re: Please help PIA!!!
Hi,
I tried many times but not yet,
Thank you take time to help,
I tried many times but not yet,
Thank you take time to help,
Re: Please help PIA!!!
NOTICE:
When you tried "crontab -l cactiuser -e" (instead of editing /etc/crontab directly),
add the line as following:
When you tried "crontab -l cactiuser -e" (instead of editing /etc/crontab directly),
add the line as following:
(Do not insert "cactiuser")*/5 * * * * /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
Re: Please help PIA!!!
Your reply is very helpful,
after used as your guild, now i can loading the graphs,
But all graphs are empty:
My cron:
[cactiuser@xxxx log]$ crontab -l
*/5 * * * * /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
Do you have any point?
after used as your guild, now i can loading the graphs,
But all graphs are empty:
My cron:
[cactiuser@xxxx log]$ crontab -l
*/5 * * * * /usr/bin/php /var/www/html/sysmon/poller.php > /dev/null 2>&1
Do you have any point?
Re: Please help PIA!!!
Then I think it's time to start this: Debugging - Cacti Docs (aka gandalf's 2nd link)
Re: Please help PIA!!!
Oh, after i edited something ,
Now i can get all graphs ,
But my ethenet has not data, although, i Select a graph type:In/Out Bits (64-bit Counters)
any help is appreciate
Now i can get all graphs ,
But my ethenet has not data, although, i Select a graph type:In/Out Bits (64-bit Counters)
any help is appreciate
Who is online
Users browsing this forum: No registered users and 2 guests