Operating System - HP-UX
1836874 Members
2221 Online
110110 Solutions
New Discussion

Re: ServiceGuard logging to syslog

 
Omar Alvi_1
Super Advisor

ServiceGuard logging to syslog

Hi,

I've got serviceguard installed on a two node HP-UX cluster.

What I've noticed different is that when cluster commands are run from the command line they are not logged to syslog.log.

I've seen this logging in other setups.

Any ideas on how to implement serviceguard logging and auditing?

Are there any defined best practices for auditing serviceguard?

Thanks and Regards,

-Alvi
2 REPLIES 2
Rajeev  Shukla
Honored Contributor

Re: ServiceGuard logging to syslog

Look at your /etc/syslog.conf file maybe you dont have *.info in your file to log to syslog.
Sameer_Nirmal
Honored Contributor

Re: ServiceGuard logging to syslog

Check the files in /var, /tmp where the SG logging might have been re-directed by someone earlier.

To reset the logging to minimum level and direct it to syslog, you can use a utility "cmsetlog" in /usr/contrib/bin
# cmsetlog -r ( to set minimum logging )
# cmsetlog -s ( direct to syslog.log )

SG has different modules and logging could be turned on for them with level 1-5 using cmsetlog or running commands with -T flag.

e.g. You can turn on logging for "cmclconfd"
by putting -T 5 option ( for hight level of logging ) to the "hacl-cfg" lines in /etc/inetd.conf and run #inetd -c thereafter to have the change in effect.

For SG auditing, HP's CCMON software is good choice. You have to purchase the license but it's worth.