If you are having problems with the PHP Script Server, please follow the instructions below:
1) Start PHP Script Server
Use the following command to start the script server: "php <path_cacti>/script_server.php"
You wll receive a message from PHP indicating "PHP Script Server Started Properly". If you get any warning messages, then you have to fix them right away.
2) Obtain a Script Command from the Poller Cache
a) To do this Goto System Utilities->View Poller Cache
b) Search for "Action: 2"
c) Copy the portion of the script starting with the full path and working
to the end of line. For example:
3) Execute the Script Server Commandc:\wwwroot\cacti086\scripts\ss_host_cpu.php ss_host_cpu localhost public 2 161 500 get usage 0
Paste the command from 2c into your Script Server window and press enter.
You should receive an output statement. If not, please correct any warnings or script errors before proceeding.
4) To End the Script Server session
Type "quit" in the Script Server window and press enter.
For older versions of PHP < 4.3.3, you should be able to execute the command cut from setp 2c directly to a command line prefixed by "php" and run that script stand alone.