This assumes you have already setup APCUPSD on the host you wish to monitor, and it is responding to remote status requests.

1. Place check_ups.sh and apcupsd.pl in your cacti /scripts directory, and give them execute permissions
2. edit the last line of check_ups.sh to reflect the paths on your system.
3. import the graph and data templates.
4. create a host and start logging!