Subject: |
RE: zensyslog on Zenoss5.2.4 |
Author: |
Jane Curry |
Posted: |
2017-06-26 07:46 |
You should not need to alter any syslog stuff on the Zenoss server.
What you WILL need to do is to configure any target machine to send events to the Zenoss server.
Probably the hardest machine to make work with syslog is the Zenoss server itself so start with your other Linux machine. In /etc/rsyslogd.conf, you need a line like:
*.* @core524.class.example.org:514
You will need to restart your rsyslog daemon.
This sends all events of all priority and all facility (*.*) to the remote system core524.c;lass.example.org, on port 514.
Your Zenoss server base machine should have port 514 connected to Zenoss's zensyslog daemon.
I found that your logger command with --udp didn't work but a simple:
logger -p syslog.warn "The web server is down"
worked perfectly and a warning event appeared in the Zenoss event console.
You might find my vent Management for Zenoss Core 4" paper helpful -
https://www.skills-1st.co.uk/papers/jane/zenoss4-events/ .
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------