Current time: 11-28-2024, 02:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GraphStat whith RRDtools
Author Message
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #17
RE: GraphStat whith RRDtools
А теперь обещанная версия под nginx
Сабж должен быть скомпилячен с опцией --with-http_stub_status_module

Добавляем в главный файл конфигурации

location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}

Для обоих вариантов - http и https
#service nginx reload
тестируем
#GET http://localhost/nginx_status
Active connections: 1492
server accepts handled requests
2124355 2124355 8278635
Reading: 6 Writing: 405 Waiting: 1081

А заодно и апачу включаем
ExtendedStatus On

<Location /serverstatus>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 78.46.102.101
</Location>



Ушёл парсить это дело...
(This post was last modified: 03-30-2010 03:28 PM by data-stream_ru.)
03-30-2010 11:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
GraphStat whith RRDtools - data-stream_ru - 03-22-2010, 04:02 AM
RE: GraphStat whith RRDtools - Nuxwin - 03-22-2010, 04:57 AM
RE: GraphStat whith RRDtools - MasterTH - 03-22-2010, 03:45 PM
RE: GraphStat whith RRDtools - server801 - 03-24-2010, 07:36 AM
RE: GraphStat whith RRDtools - data-stream_ru - 03-30-2010 11:48 AM

Forum Jump:


User(s) browsing this thread: 10 Guest(s)