- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HOW TO FIND HP UX SYSLOG ERRORS
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-02-2011 11:05 PM
тАО05-02-2011 11:05 PM
HOW TO FIND HP UX SYSLOG ERRORS
I am new to HP UX . i want to know how to filter errors from syslogs as the log contains every thing.
Tx
Gunasekhar
- Tags:
- syslog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2011 11:24 PM
тАО05-02-2011 11:24 PM
Re: HOW TO FIND HP UX SYSLOG ERRORS
what do you need the log to be filtered for? Any specific subsystem / daemon / etc. ?
You should look at the /etc/syslog.conf file, to customize your logging according to the facility / level . Also see #man syslogd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 12:21 AM
тАО05-03-2011 12:21 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
How about you try out the "simple watchdog"? Well it is known to monitor unix log files. Typically speaking in terms of what is called as "swatch". Just a suggestion.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 04:05 AM
тАО05-03-2011 04:05 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
it might be very basic for someone but maybe you are looking for this:
# grep KEYWORD /var/adm/syslog/syslog.log
where KEYWORD is a pattern which you are looking for on the logs. Only the lines containing the KEYWORD will be displayed. Beware that keyword is case-sensitive! For more information, as always:
# man grep
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 04:28 AM
тАО05-03-2011 04:28 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 04:48 AM
тАО05-03-2011 04:48 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
> Hi , i want to know waht basic keyworked of error messages to filter.
Only you know the things you want to look for. As mentioned, have you ever heard of 'grep' ? I urge you to look at the 'grep(1)' manpages.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 06:10 AM
тАО05-03-2011 06:10 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
As you seem to be looking for "errors" the command below might be a good start:
# grep -i error /var/adm/syslog/syslog.log
This will show all the lines from your syslog.log file with the word 'error' in it (case insensitive).
Similarly you can search for "warnings" with the command below:
# grep -i warning /var/adm/syslog/syslog.log
But as already mentioned by others in this thread, study the grep manpage and use the information to grep/find exactly what you are looking for!
sangilak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 08:58 PM
тАО05-03-2011 08:58 PM
Re: HOW TO FIND HP UX SYSLOG ERRORS
The diagnostics will write messages into syslog and send a mail to root too, so you just need to open the mailbox and check.
An advanced method for monitoring is to integrate the system into HP SIM.
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
тАО01-19-2016 12:59 AM
тАО01-19-2016 12:59 AM
Re: HOW TO FIND HP UX SYSLOG ERRORS
I think what is asked here is this...
Sory I am actually a Solaris man looking to find a solution for space errors on a HP-UX), but I think what is asked here is...
What is the line that must be inserted into the syslog.conf(or similar) ... to split off certain messages to different log files...
Like:
audit.notice /var/adm/auditlog
will split all audit messages of a severity of "notice" to a file /var/adm/auditlog
Now... obviously, as a Solaris man, I do not have the answer... So instead as to ... please help this chap to fnd the statement that is going to split his log :)
H