Operating System - HP-UX
1748123 Members
3303 Online
108758 Solutions
New Discussion

log file monitoring configurtion

 
Mohamed Yaseen
Occasional Contributor

log file monitoring configurtion

Hi All, we have hp ovo (u) 8 running on solaris platform i have configured logfile monitoring template ,our issue is due to large size of the logfiles ,within 5 min 600 alerts are dumped into ovo browser with different timestamps (ie) Each and every alerts are coming as new alerts ,
Is there anyway I can optimize the configuration,so the alerts can be reduced .

Need your support
1 REPLY 1
VK2COT
Honored Contributor

Re: log file monitoring configurtion

Hello,

a) It would be nice to know what alerts are
being logged excessively. One should attend
to them in the first instance, or ignore
and eliminate them from being monitored
if not important.

b) On the other hand, SunOS (AKA wrongly
called Solaris operating system) comes
with wonderful log file management tool called logadm(1).

Here is an example:

logadm -v

# loading /etc/logadm.conf
# processing logname: /var/log/syslog
# using default rotate rules: -s1b -p1w
# using default template: $file.$n
# processing logname: /var/adm/messages
# using default rotate rules: -s1b -p1w
# using default template: $file.$n
# processing logname: /var/cron/log
# using default expire rule: -C10
# processing logname: /var/lp/logs/lpsched
# using default rotate rules: -s1b -p1w
# processing logname: /var/fm/fmd/errlog
# using default expire rule: -C10
# using default template: $file.$n
# processing logname: smf_logs
# using default template: $file.$n
# processing logname: /var/adm/pacct
# using default template: $file.$n
# processing logname: /var/log/pool/poold
# using default expire rule: -C10
# using default template: $file.$n
# processing logname: /var/fm/fmd/fltlog
# using default template: $file.$n
# /etc/logadm.conf unchanged

You can manage ANY log file you wish and
take many types of actions for it. More
details in the manuals.

Cheers,

VK2COT
VK2COT - Dusan Baljevic