
Lighttpd statistics in cacti
The lighttpd server has a module mod_status, it displays a little information about the current status of the server. Screw this opportunity to cacti .
To begin, I will tell you how to screw mod_status.
Add mod_status to the list of modules:
and prescribe settings for how to access the page
now by going to http: // localhost / server-status we will see:

Now download the script for Cacti from here: http://forums.cacti.net/download.php?id=8273
Unzip it and put it in / usr / local / share / cacti / scripts / file ss_lighttpd_stats.php (for Freebsd)
Now open cacti, go to Import Templates and import cacti_host_template_webserver_lighttpd.xml
There should be 4 new templates for graphs:

Create graphs and watch them =)


PS you need installed PHP 5 to run the script
Script page: forums.cacti.net/about19676.html
A similar article for nginx:habrahabr.ru/blogs/sysadm/66605
To begin, I will tell you how to screw mod_status.
Add mod_status to the list of modules:
server.modules + = (
"mod_status"
)
and prescribe settings for how to access the page
status.status-url = "/ server-status"
now by going to http: // localhost / server-status we will see:

Now download the script for Cacti from here: http://forums.cacti.net/download.php?id=8273
Unzip it and put it in / usr / local / share / cacti / scripts / file ss_lighttpd_stats.php (for Freebsd)
Now open cacti, go to Import Templates and import cacti_host_template_webserver_lighttpd.xml
There should be 4 new templates for graphs:

Create graphs and watch them =)


PS you need installed PHP 5 to run the script
Script page: forums.cacti.net/about19676.html
A similar article for nginx:habrahabr.ru/blogs/sysadm/66605