Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-11-08
7
Medium Priority
?
931 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

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 340 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

Quick Start: DOCKER

Sometimes you just need a Quick Start on a topic in order to begin using it.. this is just what you need to know to get up and running with Docker!

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

715 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