- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reqd to implement a centralised log Server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 02:15 AM
08-07-2007 02:15 AM
Is there any way to maintain a centralised log server in which , i need to take a log files for all the servers in a single one server.
I need to maintains and checks the server from
one server and get other servers info's
Thanks In Advance.
Regards,
Anand
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 02:35 AM
08-07-2007 02:35 AM
SolutionFor those that use the syslog facility (which includes the OS and many well-written applications) then you make modifications something like this to your local /etc/syslog.conf file.
Original Entry: (writes to local file)
*.info;mail.none /var/adm/syslog/syslog.log
New Entry: (logs to syslogd on remote host)
*.info;mail.none @mickey.mouse.com
You could actually have both entries operational or you could comment out the original. Man syslogd for details.
For applications which simply write to files for logging, one approach would be to NFS mount those directories so that the logging would be done on a remote host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 03:07 AM
08-07-2007 03:07 AM
Re: Reqd to implement a centralised log Server
The recquired log file to be centralized is for syslog.log file.
Thanks for your great help.
If possible , give me the syntax and file details which i need to edit whereas i maintain for forty servers of HP 9000 series and two rp series.
Thanks & Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 05:08 AM
08-07-2007 05:08 AM
Re: Reqd to implement a centralised log Server
On each client host, vi /etc/syslog.conf.
For every facility that you want logged remotely replace the local filename with @hostnameofremotesyslogserver.
Old entry:
*.info;mail.none /var/adm/syslog/syslog.log
New Entry: (logs to syslogd on remote host)
*.info;mail.none @mickey.mouse.com
If you changed the old entry to the new then
what once went to the local file /var/adm/syslog/syslog.log will now be sent to a remote syslog server mickey.mounse.com. If you make a copy of the old entry and change the copy to the new entry so that BOTH are in the local /etc/syslog.conf file then logging will be sent to both the local file AND to the remote host.
After making the change, you must tell the local syslogd daemon that you have made the change. Syslogd re-reads its configuration when it receives a SIGHUP (hangup signal; signal 1) so:
kill -1 $(cat /var/run/syslog.pid)
or simply stop and restart the local syslogd.
Now just what part of "man syslogd for details" did you not understand?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 05:22 AM
08-07-2007 05:22 AM
Re: Reqd to implement a centralised log Server
another option, that i currently use, is a perl script that does log rotation. i then have a cronjob that copies the logs from each server to a management server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 02:09 PM
08-07-2007 02:09 PM
Re: Reqd to implement a centralised log Server
You can consider HP System Insight Manager
to centrally managed your servers.
http://h18013.www1.hp.com/products/servers/management/hpsim/benefits.html
Hope this help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 08:24 PM
08-07-2007 08:24 PM
Re: Reqd to implement a centralised log Server
My your tips , i finished the task , now i could able to see the logs in pariticular server.
Thanks for you and all other admins also
for their valuable suggesstion.
Thanks & regards,
anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2007 08:45 PM
08-07-2007 08:45 PM