Stuck on my homework
I'm lost on homework, looking for some help. I've got three virtual machines to configure. One Ubuntu "Web" Server, one RedHat "Auth" Server, and another Redhat "Syslog" Server. There is a script for grading that we run on another virtual machine called "grading". Basically I've got 110 of 300 and am really stuck on everything else. Mainly the rsyslog. The question is:
"The web server and the auth server should both be sending their logs to the syslog server: a. Configure rsyslog to use the template to log to /var/log/rsyslog_cis235/<hostname>/rsyslog.log b. The template lines are at the bottom of this documents c. This configuration should go into the /etc/rsyslog.conf file on your syslog VM I've set the hostname to syslog and configured the rsyslog.conf file on the "syslog" vm to have the template which he has included as: # Rsyslog template lines $template TmplAuth, "/var/log/rsyslog_cis235/%HOSTNAME%/rsyslog.log" $template TmplMsg, "/var/log/rsyslog_cis235/%HOSTNAME%/rsyslog.log" authpriv.* ?TmplAuth *.info,mail.none,authpriv.none,cron.none ?TmplMsg I set the correct hostnames, edited the rsyslog files yet still no further and I am thoroughly confused after trying a few different variations. Completely unsure as to how to get this working. This is the output of my grading script: http://imgur.com/PFdfd2c and this is the output of the script code: http://pastebin.com/WLFZKGv8 Thanks in advance |
Systemd no longer really supports rsyslog...
https://www.freedesktop.org/software...al-remote.html And maybe this will help: http://kacper.blog.redpill-linpro.com/archives/602 |
Also ... anytime you are "stuck on homework," please make it your business to let your instructor(s) be the first to know ... not the last!
Instructors need to know when students are "stuck," and what exactly they are "stuck" on, so that they can adjust future lectures and lab sessions (and office hours) to suit the needs of each particular group of students. Although any homework assignment worthy of its hire is supposed to throw a realistic challenge at you, such that you scratch your head pretty damned hard, you need to know when to cry "uncle." Otherwise, the instructor is shooting in the dark. (And if you surmise that I am speaking from personal experience, you are correct.) |
Absolutely, I agree, I plan on letting him know when I get in class tomorrow. It's difficult though because I'm usually one of the first ones done, so I'd imagine that if I'm struggling this badly with it, most others will be as well. Takes him a while to get around the class so I'd rather have a head start and get at least 75% of it done then have him go over the last few things and sort of explain what I was stuck on.
and I will post the rsyslog.conf file to pastie once I'm back home and have access to my VM. |
Quote:
|
All times are GMT -5. The time now is 07:30 AM. |