Solved

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

Posted on 2003-11-08
7
929 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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

617 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