I don’t use anymore cacti (i’ve written my own tools see rrdmonitor), but someone can be found usefull this two little scripts.

Plugins

get_drop_packet.pl
Count the number of packets dropped by the Linux Firewall.
get_stat_for_interface.pl
Get network statistics for Linux without use of SNMP.