To test:
sudo -u cacti php /usr/share/cacti/scripts/ss_get_by_ssh.php --type apache --host 127.0.0.1 --items gg,gh
where items are:
‘APACHE_Requests’ => ‘gg’, ‘APACHE_Bytes_sent’ => ‘gh’, ‘APACHE_Idle_workers’ => ‘gi’, ‘APACHE_Busy_workers’ => ‘gj’, ‘APACHE_CPU_Load’ => ‘gk’, ‘APACHE_Waiting_for_connection’ => ‘gl’, ‘APACHE_Starting_up’ => ‘gm’, ‘APACHE_Reading_request’ => ‘gn’, ‘APACHE_Sending_reply’ => ‘go’, ‘APACHE_Keepalive’ => ‘gp’, ‘APACHE_DNS_lookup’ => ‘gq’, ‘APACHE_Closing_connection’ => ‘gr’, ‘APACHE_Logging’ => ‘gs’, ‘APACHE_Gracefully_finishing’ => ‘gt’, ‘APACHE_Idle_cleanup’ => ‘gu’, ‘APACHE_Open_slot’ => ‘gv’,