Solved

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

Posted on 2003-11-08
7
923 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
Comment Utility
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
Comment Utility
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
Comment Utility
>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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:atiqahmed
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

9 Experts available now in Live!

Get 1:1 Help Now