Feature Requests: Browse | Submit New | Admin

[#14745] Sites as a Subset of Servers

Date:
2007-10-15 18:58
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Sites as a Subset of Servers

Detailed description
I'm thinking it would be quite handy to have Sites defined as a subset of hosts, so that it wouldn't take multiple SSH
sessions on a single server to display the logfiles of separate vhosts.

Could the config be ordered:

servers:
      host: host.domain.com
      user: x
      pass: y
      command: tail -f
      sites:
           site 1:
               files: /var/www/sitex.log
               parser: apache
               color: 1.0, 0.0, 1.0, 1.0
           site 2:
               files: /var/www/sitey.log
               parser: apache
               color: 0.0, 1.0, 1.0, 1.0
 

And so forth...  Perhaps this is not possible given that we're only initiatiating a single tail -f  log monitoring stream.
Is it possible to initiate multiple tail data streams, one for each site definition, using a single ssh session?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-10-15 19:17
Sender: Erlend Simonsen

You can supply multiple files of the same type/parser on the
files: line, and tail will happily tail them all. But, you can't
set a different name for each of the files, and I don't currently
parse out the name of the file from tail's output either, so
it'll probably look like everything is coming from the same host.

But something like that would be good, yes. 

-- Erlend

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item