monitoring syslog


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting monitoring syslog
# 1  
Old 04-29-2003
monitoring syslog

Hi all

I need to monitor the syslog on about 25 Unix machines..the idea is to have a perl script or something mail me the new lines that are added to the syslog file in last 5minutes or so..any ideas or pointers .I ma not a unix admin or perl coder..i am a sql programmer..that is why i am askin for the question..

regards
Hrishy
# 2  
Old 04-29-2003
Hi,
You could use Big Brother for this. It's a free system management software that is very easy to setup.

It can monitor syslog and other logfiles, it can also monitor daemons, cpu, memory, diskspace etc.

Could be worth it if you are managing 25 machines.

It works on almost all Linux/Unix, windows, mvs, vms etc..

It can send email and has a nice web interface for watching the status of your machines.

check it out on www.bb4.org.

Hope it helps..

/Peter
# 3  
Old 04-30-2003
Yes, I'd only suggest looking at automating what you are wanting to do with a commercial (or freeware) package.

Whilst you could do it yourself, the number of resource hours initially required doesn't become cost effective after you've done a few servers. Another point is that you'd still need to maintain all of those scripts - that is unless each system was setup identically.

If that is the case, do your scripts on one system and when happy, distribute to the others, but it's still a handfull to maintain and to document (if you do document??).

I did some modest SYSLOG, CPU and Diskspace reporting on two SCO 5.0.5 server with my former employer. The SYSLOG reporting only occurred at 23:55 in the form of an email (from memory) - I didn't want emails every 5mins and CPU/Diskspace was progressively reported on daily and majorly reported on the first of each month for the pervious month.

If you still want to script it, then I'll post them - but remember, it's not the greatest script in the world - I'm always learning.
# 4  
Old 04-30-2003
Hi..

Could you please post your scripts? Its allways nice to see what other people are doing .. and maybe rip some good ideas Smilie


Thanks in advance

/Peter
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

HP -UX 11.31 monitoring

Hi, i have joined newly as a hp-ux admin... previously worked in linux environment can anyone tell me how to monitor memory and cpu utilization in hpux?? hp-ux is not as flexible as linux as i understand... please help me out by giving the commands needed and way of troubleshooting if the... (12 Replies)
Discussion started by: Prasad@hp-ux
12 Replies

2. Infrastructure Monitoring

SNMP Monitoring

Hi, I have below IP address configured in my server. Recently i installed SNMP in Linux 64x bit. While checking the snmp using snmpwalk i get Time out error for all IP except loopback IP(127.0.0.1). How to make all my IPs listen to SNMP eth0 BOOTPROTO=static DEVICE=eth0... (1 Reply)
Discussion started by: Paulwintech
1 Replies

3. UNIX for Dummies Questions & Answers

FTP monitoring

Hello there, I have the following situation : I have a ftp server (PureFTPd)on which users can connect and put their files. The thing is I need to synchronize the files uploaded by the users to another server (so that everybody can download (via http) from that server the resources uploaded by... (6 Replies)
Discussion started by: spiriad
6 Replies

4. Shell Programming and Scripting

log monitoring

Hi All; I have a log file(dynamic) which i need to monitor; the format of the log file is as follows #Session ID STATUS The status can be one of the three /starting ;/loading ;/success Example #Session ID STATUS ABC /started.html XYZ /started.html ABC /loading.html ABC... (2 Replies)
Discussion started by: maverick_here
2 Replies

5. Shell Programming and Scripting

Monitoring script

Hi, I want to write script that monitors particular ports in a server. I completed the script but.... If the server is restarted i need manually start the script.. Is there any way i can make the script start by it self after the server reboot........ Thanks, Firestar (4 Replies)
Discussion started by: firestar
4 Replies

6. Shell Programming and Scripting

Help with Monitoring script

Hi Gurus, Currently I am learning UNIX through online forums and unix blogs. I have the below requirement. I need to write a script to monitor server processes. For example, there are 3 processes currently running on the server.(java, pmrepagent, pmserver). If any of the process goes down,... (2 Replies)
Discussion started by: svajhala
2 Replies

7. Shell Programming and Scripting

Please help with monitoring stuff

Hi, I am trying to write a script to do monitoring kind of stuff, requirement - when a server is given a start it updates a file called server.log, I need to keep on grepping the word "Running" and as soon as it comes , script should be exited with the message , "Server came up... (2 Replies)
Discussion started by: sunilmenhdiratt
2 Replies

8. UNIX for Dummies Questions & Answers

monitoring a directory for changes

hi i need to monitor a directory for changes .. when ever a file is modified or created newly then the name of the file along with the user id and the ip address of the person who has created the file or modified it should be logged into a user specific file... (3 Replies)
Discussion started by: sais
3 Replies

9. Shell Programming and Scripting

file monitoring

hi all in my server all the users have the same paswd like "abc" .... i need to keep track of who changes the files using the ip addressess.... so once when a person logs in .. i need to monitor the actions or the files chagned by that person and store it in a log file .. can some one help me... (2 Replies)
Discussion started by: sais
2 Replies

10. AIX

Monitoring

Hi Can any one helpe me in obtaining commands , which enables me to know the following : Monitor Storage Monitor RAM & CPU Utilization Monitor Power Supply Best wishes (1 Reply)
Discussion started by: magasem
1 Replies
Login or Register to Ask a Question