- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to put Syslog message with priority
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
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
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
тАО10-26-2007 05:13 AM
тАО10-26-2007 05:13 AM
How to put Syslog message with priority
ex) crit alert emerg
Because log-watching program (JP1) looking for word "crit alert emerg" .which is messages to impact to system .
redhat syslog don't leave any priority info there by default.
How could I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2007 05:57 AM
тАО10-26-2007 05:57 AM
Re: How to put Syslog message with priority
Check syslog-ng!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2007 12:01 PM
тАО10-26-2007 12:01 PM
Re: How to put Syslog message with priority
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2007 11:12 PM
тАО10-26-2007 11:12 PM
Re: How to put Syslog message with priority
Thanks to reply me.
I'd taken account of "syslog-ng",it is sure way to do this,
and To seperate log files are easiest way to go.
But I have to setup 100 redhat servers,so I was so sad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2007 08:45 PM
тАО10-27-2007 08:45 PM
Re: How to put Syslog message with priority
I afraid, I don't understand you.
Do you mean "add some log entry with specific priority"? - it's trivial with "logger"(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2007 11:00 PM
тАО10-27-2007 11:00 PM
Re: How to put Syslog message with priority
Thanks to reply me.
My English skill is not enough,that is my apology.
I mean,
for exam,following /var/log/messages have a error,but I can't decide these message are crical to system or not.
Oct 22 09:14:12 CMRECV05 kernel: hda: irq timeout: error=0x00
CMRECV05 kernel: shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
After all,these above messages are harmless,(HP support guy said).
If /var/log/messages had included the priority infomation (crit,alert,emerg),easier to find out importnat messages and watch them from log-watching program (JP1 or Openview).
Could it be a good explanation for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2007 11:18 PM
тАО10-27-2007 11:18 PM
Re: How to put Syslog message with priority
To say the truth, till now I was sure that syslogd saves priority info into syslog!!!
It's really strange that standart syslogd doesn't know to do this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2007 07:50 AM
тАО10-28-2007 07:50 AM
Re: How to put Syslog message with priority
I'd also assume you're using the same syslogd on all servers, so it should be one changed pushed to 100 servers, no big deal.
Even if it's not, 2-3 lines of script executed on each machine should do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2007 03:22 AM
тАО10-29-2007 03:22 AM
Re: How to put Syslog message with priority
However, the syslog or kernel priority doesn't necessarily reflect the priority of the message to you. A log scraper is not a suitable replacement for qualified personnel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2007 05:12 AM
тАО10-29-2007 05:12 AM
Re: How to put Syslog message with priority
>you aren't using centralized logging?
You absolutely right!
My customer doesn't care about centralizing syslod,because maybe log-watch program(JP1,OpenView) patrol them I think.
To Heironimus
Thanks to reply me.
I have a small English problem ,but well....
How do you watch logs,pick up important logs and what are filter words.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2007 09:07 AM
тАО10-29-2007 09:07 AM
Re: How to put Syslog message with priority
I guess the real question is what kind of alerts you're looking for. Hardware is often best monitored with agents supplied by the vendor. The HP health agents can report some errors that usually won't make it in to the system logs, like a failed drive in an array or correctable memory errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2007 01:53 AM
тАО10-30-2007 01:53 AM
Re: How to put Syslog message with priority
I'll withdraw to filter syslogs by word.
It's enough to watch the hardware,disk free space,process by agent like(JP1,OPV) ,and use syslog message for analyzing.
Thanks everyone