Find the answer to your Linux question:
Results 1 to 6 of 6
I have around 10 Servers. How to see Dmesg and /ver/log/messages of multiple servers from a centralized location...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    63

    How to see Dmesg and /ver/log/messages of multiple servers

    I have around 10 Servers.

    How to see Dmesg and /ver/log/messages of multiple servers from a centralized location

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Each server will have very different messages, most of which can be ignored. In any case, you need to be root to view /var/log/messages, and you have to run dmesg on the system in particular. So, in your case, you should probably ssh into each server and post the data to some data file or database that is commonly accessible. Then one tool can view all of that output.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    The enhanced syslogd for Linux and Unix rsyslog
    together with
    phpLogCon :: a syslog data viewer for the web
    should meet your requirements.

    For a start, all clients need only the standard syslog daemon, although rsyslog on the clients provides additional features such as guaranteed completeness of the logs.
    You must always face the curtain with a bow.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Thanks Irithori. That is a good suggestion. I hadn't thought of that (no need for me as yet).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,097
    yw.
    Only "problem" with rsyslog is, that the developer (yes, one guy afaik) is borderline cra.. ehm.. productive.
    A new version every few days (weeks at most).
    But so far, my .spec works
    You must always face the curtain with a bow.

  6. #6
    Just Joined!
    Join Date
    Oct 2010
    Location
    Reston, VA
    Posts
    26
    Central logging can be very useful indeed. Once you have the server setup you can have your switches and routers send their logs also.

    It is a wonderful thing to spot a failing hard drive before anyone notices it.


    -Gooney0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...