- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script required to collect syslog
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
Discussions
Discussions
Forums
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
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
тАО05-28-2007 11:45 PM
тАО05-28-2007 11:45 PM
I have 20 hp-ux box in our data center, daily im checking the syslog manually log in to all the system. is there any script available to collect the syslog from all the system and display it on the system where i execute the script.
Regards
Guru
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 12:52 AM
тАО05-29-2007 12:52 AM
Re: script required to collect syslog
there are several options: servers can send the syslog mssages to another server directly.
You can even collect the files from the servers using commands like scp or rcp.
Have a look at "man scp".
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 01:01 AM
тАО05-29-2007 01:01 AM
Solutionman syslogd
A host name preceded by an @ character. Selected messages are forwarded to the syslogd on the named host.
You can send syslog file on all the servers to a logserver (@hostname). The entry should be added on /etc/syslog.conf on all the servers.
Look for the @hostname option on /etc/syslog.conf
*.* @hostname
restart syslogd
After that you can grep the syslog for errors and mail it to you.
grep -Ei "err|warn|panic|crit" syslog.log
Regards,
Rasheed Tamton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 10:21 AM
тАО05-29-2007 10:21 AM
Re: script required to collect syslog
It utilizes caljd.sh to calculate yesterday. It also takes entries from a file(grep.string) to create a text string which I do not want reports about and then emails the report to my email address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2008 09:28 AM
тАО08-14-2008 09:28 AM
Re: script required to collect syslog
Could you send / attach CALJD script?
Regards,
Murilo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2008 09:34 AM
тАО08-14-2008 09:34 AM
Re: script required to collect syslog
Includes warning if syslog has had lines removed ( i.e. file is smaller than last run)
Also requires an ignore file to filter out what ever you wish.
Review for ideas or modify for your environment.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2008 10:03 AM
тАО08-14-2008 10:03 AM
Re: script required to collect syslog
sending logs to a logserver on the fly as mentioned before, also keeps logs from unexpected reboot and deleting logs of unauthorized people. you can also keep windows event logs here. there is a tool written in .net to do it. Then you can store logs in mysql with a tool php syslog-ng. So you can do advance search in logs.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2008 10:04 AM
тАО08-14-2008 10:04 AM
Re: script required to collect syslog
you may use syslog server, syslog-ng.
It extends the original syslogd model with content-based filtering, flexible configuration options and adds important features to syslog, like using TCP for transport.
default it uses 514 UDP port.
you can log whatever you want to the logserver.
regards,
mustafa