ApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスヌ会ソス(apachestats)

ソスナ終ソスXソスVソスソスソスF 2020.12.29

ソスソスソスTソスv

RRDtool+Cactiソスフサソス[ソスoソス[ソスト趣ソスソスVソスXソスeソスソスソスソスApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスソスヌ会ソスソスソスソスソスB

ソスTソスソスソスvソスソス(ソスソスソスTソスCソスgソスフグソスソスソスt)ソスソスソスOソスソスソスtソス^ソスCソスgソスソスソスノ「Apache Statisticsソスvソスニ表ソスLソスソスソスソストゑソスソスソスOソスソスソスt


ソスソスserver-statusソスン抵ソス

[root@centos ~]# vi /etc/httpd/conf/httpd.confソス@ソスソスソス@Apacheソスン抵ソスtソス@ソスCソスソスソスメ集
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
ExtendedStatus Onソス@ソスソスソス@ExtendedStatusソスLソスソスソスソス

#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
#<Location /server-status>
#    SetHandler server-status
#    Order deny,allow
#    Deny from all
#    Allow from .example.com
#</Location>
ソスネ会ソスソスソスヌ会ソス
<Location /server-status>
    SetHandler server-status
    Require local
    Require ip 192.168.1.0/24ソス@ソスソスソス@ソスソスソスソスソスlソスbソスgソスソスソス[ソスNソスAソスhソスソスソスXソスソスソスwソスソス
</Location>

[root@centos ~]# systemctl reload httpdソス@ソスソスソス@Apacheソスン定反ソスf
httpd ソスソスソスト読み搾ソスソスン抵ソス:                                      [  OK  ]

ソスソスserver-statusソスmソスF

WebソスuソスソスソスEソスUソスソスソスソスhttp://ソスTソス[ソスoソス[ソスソス/server-status?autoソスヨアソスNソスZソスXソスソスソスト以会ソスソスフようソスネペソス[ソスWソスソスソス\ソスソスソスソスソスソス驍アソスニゑソスソスmソスFソスB
Total Accesses: 59833
Total kBytes: 739184
CPULoad: .401741
Uptime: 101197
ReqPerSec: .591253
BytesPerSec: 7479.71
BytesPerReq: 12650.6
BusyWorkers: 1
IdleWorkers: 19
Scoreboard: _.___._____W.___.___._.__._

ソスソスApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスヌ会ソス

ソスiソスPソスjApacheソスAソスNソスZソスXソスソスソスvソスソスソスWソスXソスNソスソスソスvソスgソスCソスソスソスXソスgソス[ソスソス
[root@centos ~]# wget http://forums.cacti.net/download/file.php?id=9907 -O ws_apachestats.pl.gzソス@ソスソスソス@ApacheソスAソスNソスZソスXソスソスソスvソスソスソスWソスXソスNソスソスソスvソスgソス_ソスEソスソスソスソスソス[ソスh

[root@centos ~]# gunzip ws_apachestats.pl.gzソス@ソスソスソス@ApacheソスAソスNソスZソスXソスソスソスvソスソスソスWソスXソスNソスソスソスvソスgソスソス

[root@centos ~]# chmod +x ws_apachestats.plソス@ソスソスソス@ApacheソスAソスNソスZソスXソスソスソスvソスソスソスWソスXソスNソスソスソスvソスgソスヨ趣ソスソスsソスソスソスソスソスtソスソス

[root@centos ~]# mv ws_apachestats.pl /var/www/cacti/scripts/ソス@ソスソスソス@ApacheソスAソスNソスZソスXソスソスソスvソスソスソスWソスXソスNソスソスソスvソスgソスソスソスソスソスソスフデソスBソスソスソスNソスgソスソスソスヨ移難ソス

ソスiソスQソスjApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスヌ会ソスソスソスWebソスuソスソスソスEソスUソスソスソスソスsソスソス
CactiソスpApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスeソスソスソスvソスソスソス[ソスgソスソスソス_ソスEソスソスソスソスソス[ソスhソスソスソスソスBソスソスIEソスフ場合ソスAソスソスソスソスソスNソスソスソスEソスNソスソスソスbソスNソスソスソスト「ソスホ象ゑソスソスtソス@ソスCソスソスソスノ保托ソスソスvソスナダソスEソスソスソスソスソス[ソスhソスソスソスソス

http://ソスTソス[ソスoソス[ソスソス/cacti/ソスヨアソスNソスZソスXソスソスソスソスadminソスナソスソスOソスCソスソスソスソスソスソスB

consoleソス^ソスu
Import Templates
Import Template from Local Fileソスソスcacti_host_template_webserver_apache.xmlソスソスIソスソス
save

consoleソス^ソスu
DevicesソスソスLocalhost
Host TemplateソスEソスEソスEWeb Server - ApacheソスIソスソス
save
Create Graphs for this Host
Graph Template NameソスソスWebServer - Apache Statisticsソス`ソスソスSソストチソスFソスbソスN
create
create

ソスソスApacheソスAソスNソスZソスXソスソスソスvソスト趣ソスソスOソスソスソスtソスmソスF

ソスソスPソスOソスソスソスソスgraphsソス^ソスuソスソスソスNソスソスソスbソスNソスソスソストグソスソスソスtソスソスソス\ソスソスソスソスソスソス驍アソスニゑソスソスmソスFソスB


ソスソスソスヨ連ソスRソスソスソスeソスソスソスc

<!ソス\ソスeソスLソスXソスgソスフみゑソス4ソスsソス\ソスソスソスノ追会ソスソスソスCソスソスソスソスソスソス\>



ソスソスソスソスソスフペソス[ソスWソスフトソスbソスvソスヨ戻ゑソス

ソスvソスソスソスCソスoソスVソス[ソス|ソスソスソスVソス[
centossrv.com