Operating System - HP-UX
1833048 Members
2517 Online
110049 Solutions
New Discussion

Re: How to send a syslog to a MOM server.

 

How to send a syslog to a MOM server.

Hi,

I would like to config a syslog to send to a MOM server the syslog.log. How should I do?

First i modify the syslog.conf to add the new MOM server (See Below).
Restart syslodd deamon
I dont recive any log on my new MOM server from the UDP 514 port.

# @(#)B11.23_LR
# syslogd configuration file.
# See syslogd(1M) for information about the format of this file.
# The new MOM server
*.emerg;*.alert;*.info @192.168.00.00
#
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
#*.emerg;*.alert;*.info;mail.!*;!security.info /var/adm/testpage

Tanks.

Claude
8 REPLIES 8
spex
Honored Contributor

Re: How to send a syslog to a MOM server.

Hi Claude,

See "How to Configure MOM to Monitor and Collect UNIX Syslogs":
http://support.microsoft.com/default.aspx?scid=kb;en-us;297443

Could a firewall be getting in the way?

PCS
Kofi ARTHIABAH
Honored Contributor

Re: How to send a syslog to a MOM server.

Is your MOM server really located at 192.168.0.0? or is that a typo?
nothing wrong with me that a few lines of code cannot fix!
Mel Burslan
Honored Contributor

Re: How to send a syslog to a MOM server.

we do it by adding this line to the end of /etc/syslog.conf file:

*.debug @w.x.y.z

where the w.x.y.z is the ip address of the centralized syslog server
________________________________
UNIX because I majored in cryptology...
florin_10
Frequent Advisor

Re: How to send a syslog to a MOM server.

hi

Do you receive syslog msg on the local server?

flg

Re: How to send a syslog to a MOM server.

Q.Is your MOM server really located at 192.168.0.0? or is that a typo?
A. Yes is a typo.

Q.Do you receive syslog msg on the local server?
A.Yes i receive syslog msg.

Re: How to send a syslog to a MOM server.

Q.we do it by adding this line to the end of /etc/syslog.conf file:

*.debug @w.x.y.z
A.I still dont receive log to the MOM server.

Re: How to send a syslog to a MOM server.

hi,

It is possible the problem com from because the server was not patched (is fresh install) 11i v2.23 see the inventory.xml attachement.

Tanks.

Claude

Re: How to send a syslog to a MOM server.

I will create a new Case