Solved

syslog for max tnt and cisco 2600 series router on a linux machine.

Posted on 2003-11-08
7
925 Views
Last Modified: 2010-04-20
Hi,
I am  new user to the linux and have been given a task to manage the syslog for other network machines like Max TNT and CISCO 2600 Router, Proxy etc. I have no idea how to start my work. it very important and i have a week's time to complete the task. Linux machine generates its own logs but it is fr the other machines. I am working as a Network Engr in an ISP. Kindly givee me suggestions.
Thanks
ATIQ AHMED  
0
Comment
Question by:atiqahmed
  • 4
  • 3
7 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9706835
Hi atiqahmed,

what kind of manage ? Do you simply wish to receive remote log messages? If yes, then restart syslogd with -r option... you will find syslogd in /usr/sbin or /sbin ... more information (a complete section) regarding remote loggin is available on syslogd man page

Cheers!
Sunny:o)
0
 

Author Comment

by:atiqahmed
ID: 9706857
Hi,
 Linux machine generates its own logs but it is for the other machines. I am  new user to the linux and have been given a task to make the syslog for other network machines like Max TNT, proxy, DNS and  CISCO 2600 Router, Proxy etc. E.g when a use is connected to the Max, Machine must generate a log and save in a single or multiple files. When user requests any thing a log must be generated by the proxy and the things like that. It is related to some thing MONITORING THE COMLPETE NETWORK. "Just like MRTG". I have no idea how to start my work. it very important and i have a week's time to complete the task. I am working as a Network Engr in an ISP. Kindly give me suggestions.
Thanks
ATIQ AHMED  
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9706867
>when a use is connected to the Max, Machine must generate a log and save in a single or multiple files
where are these logs stored
You need to
1. modify /etc/syslogd.conf file of each machine to tell syslogd which messages go where (man 5 syslog.conf)
2. you need to restart all syslogd's which either send or receive remote messages with -r option

and what do you mean "make syslog" you have to write code for syslog on other machines or what?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:atiqahmed
ID: 9706885
hi,
Yes sir I have to write the code for syslog and you are very much right about that. But it wont be on the other machines It would be on the linux machine which will be working as a monitor machine for me. so that  i will be able to view networks performance. On NMS (NETWORK MONITORING MACHINE) we are currnetly running only MRTG but i need to run this second service as well i.e. SYSLOG.
Thanks for ur previous comments
ATIQ
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9706889
well syslogd on linux already exists, why would you write it all over again ? What is that you wish to add/delete from syslogd?
0
 

Author Comment

by:atiqahmed
ID: 9706903
i just wanna add the logs for max TNT and cisco and proxy into it how can i do that . i already told u that i am  a new user to redhat linux 9.0. so a bit easy procedure please.
ATIQ
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 85 total points
ID: 9706919
you do not have to write any code for it
on your linux machine command prompt type these commands and read the pages that turn up
man 8 syslogd
man 5 syslog.conf
The task assigned to you is less than  a days's work so take time to read them and understand them

in short... on all machines except the linux machine on which you would be receiving logs do this

in the syslog.conf comment all entries and all a line

*.*       @hostname_of_linux_machine_or_the_IP_address

next restart syslogd with -r option

on the linux machine on which you would be receiving logs, add configuration in syslog.conf .. this will decide which messages go in which directory ... if you are happy with the default, then do not touch it

restart syslogd with -r option
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get maximum transfer speed over LAN 4 83
Python variable _ manually assigned 9 84
How to enable sync between two yum repo? 1 32
number in printf 13 27
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question