Solved

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

Posted on 2003-11-08
7
924 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now