Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti/poller.php or cacti/cmd.php

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
Didier
Guest





PostPosted: Wed Aug 25, 2004 3:18 pm    Post subject: cacti/poller.php or cacti/cmd.php Reply with quote

Hello

For 0.8.6 is it poller.php or cmd.php that should be used ?
In the documentation join to the release it is poller.php
In the old documentations it i cmd.php

If it is poller we really should make a very visible remark on the documentation that the user must change cmd.php by poller.php.
I've just seen taht at home on my XP box I have used poller.php (becase I have read the documentation from the package to install it) and at works on the Sue Linux machine I have read the documentation on internet and put cmd.php !!!!!!!
This explains all the problem I have today, and why poller would not be called by another script.

But in that case what is the purpose of cmd.php. can we remove it it is no more needed ? To avoid error.

===> Effectively with poller.php evrything is working

I'm very sorry to have indicated so many problem with cacti today, adn may be to have waste the time of some person who have read my messages. Excuse me.

I really need some vacation. They're some days with and some days without ((((((


Didier



New documentations
=============

C:\apache2\htdocs\cacti\docs\html\install_unix.html

Add a line to your /etc/crontab file similar to:
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1



C:\apache2\htdocs\cacti\docs\html\install_windows.html

In the Run textbox enter the following text making sure to use the appropriate paths.
c:\php\php.exe c:\apache2\htdocs\cacti\poller.php







Old documentations
=============

http://www.raxnet.net/products/cacti/documentation.php?action=view&id=5

You are going to have to enter the full command line in the Run textbox. Using default paths, your command line should look something like:
c:\php\php.exe c:\apache2\htdocs\cacti\cmd.php
Select the Schedule tab and click Advanced. Check the Repeat task checkbox and change it to every 5 minutes, then change the Duration to 24 hours. That should schedule cmd.php to run every 5 minutes.




http://www.raxnet.net/products/cacti/documentation.php?action=view&id=5

Add a line to your /etc/crontab file similar to:
*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Replace cactiuser with the valid user specified in the previous step.
Replace /var/www/html/cacti/ with your full cacti path.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group