Cacti Polling Host
Moderators: Developers, Moderators
Cacti Polling Host
Hi, I'm downloading Cacti Polling Host from official cacti site at :
http://docs.cacti.net/usertemplate:host:cacti:poller
But I found problems in ss_poller.php, it called to undefined function db_fetch_cell().
I tried to import /lib/database.php, and it creates other errors. Is there any fix for this? I'm using cacti 0.8.7.d.
Thanks
http://docs.cacti.net/usertemplate:host:cacti:poller
But I found problems in ss_poller.php, it called to undefined function db_fetch_cell().
I tried to import /lib/database.php, and it creates other errors. Is there any fix for this? I'm using cacti 0.8.7.d.
Thanks
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Uploaded a new version at http://docs.cacti.net/usertemplate:host:cacti:poller including a fix that applies to both 086 and 087 type cacti
Reinhard
Reinhard
Re: Cacti Polling Host
Hi
I have a issue with this template.
I think it lacks a script <cacti_user_stats.php> ??
http://docs.cacti.net/usertemplate:host ... lling_host
Thanks all.
I have a issue with this template.
I think it lacks a script <cacti_user_stats.php> ??
http://docs.cacti.net/usertemplate:host ... lling_host
Thanks all.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti Polling Host
Why do you think so?
R.
R.
Re: Cacti Polling Host
Because, i haven't graph on plugins : Cacti User Login Statistic, Cacti User session Statistic & Cacti User Statistic.
And on "View Cacti Log File" i have
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
Thx.
And on "View Cacti Log File" i have
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
11/29/2010 10:35:05 AM - SPINE: Poller[0] Host[5] ERROR: Empty result [localhost]: '/usr/bin/php -q /var/www/cacti/scripts/cacti_user_stats.php'
Thx.
Re: Cacti Polling Host
any idea ?
thank you.
thank you.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti Polling Host
Hmm,I don't think that I integrated those scripts/templates for user statistics (I suppose browniebraun wrote them) into my poller stats.
R.
R.
Re: Cacti Polling Host
Anyone have the missing file (cacti_user_stats.php)?
Re: Cacti Polling Host
The file is in the V3 of archive filesrossen wrote:Anyone have the missing file (cacti_user_stats.php)?
Here : http://docs.cacti.net/usertemplate:host ... lling_host
You must rename the file cacti_user.stats.php in cacti_user_stats.php
And in the file, i put a :
print "valid:$user_logins_valid invalid:$user_logins_invalid active:$session_counter_active sleeping:$session_counter_sleeping garbage:$session_counter_garbage uactive:$user_counter_active usleeping:$user_counter_sleeping\n";
Because when I test the script, the prompt is at the end of the line.
And I added the end tag of php ?> at the end of the file
If anyone can convert the host template v3 compatible for cacti 0.8.7e, thanks
Cacti Version - 0.8.8a
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Plugin Architecture - 3.1
Poller Type - spine
Server Info - Linux
Web Server - Apache/2.2.22 (Ubuntu)
PHP - 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli)
MySQL - 5.5.29-0ubuntu0.12.04.2
RRDTool - 1.4.7
Who is online
Users browsing this forum: No registered users and 0 guests