LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-27-2004, 11:34 AM   #1
Mclewson
LQ Newbie
 
Registered: Nov 2004
Location: Va
Distribution: All
Posts: 14

Rep: Reputation: 0
Transaction based Monitoring


I'm looking for a tool that can do some level of transaction based monitoring.
What we have is multiple log files that record transactions. For every transaction that goes out, we have an answering transaction that comes into the log. What I would like to have is a tool that will alarm if:
a) the outbound transaction does not get an ack
b) if there is no inbound answering transaction

Ideally this would produce either a sound or graphical alarm.


Any ideas

Mclewson
 
Old 11-27-2004, 03:12 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
I doubt you will have much luck finding a ready-made solution to your setup. But this is a pretty simple problem that can be easily solved with shell scripts. Does each unique send/ack transaction have a common identifier? If so you can just use a simple loop and some *grep strings. Otherwise you could cron a job that (say runs every 5 mins) and grep -c "blah ack" (to count) the number of whatever's ... Since the sends and ack's need to match, you could just compare the counts and if they do not match you could pass to >> filename.nomatch. This is rough around the edges, I know, but it should do what you need it to (unless this is a sys-critical app that is (or if you work for my bank ))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP based Internet Traffic monitoring coolamit78 Linux - Software 1 10-11-2005 09:07 AM
Transaction Errors blackdragonblood Linux - Newbie 4 05-23-2005 11:12 PM
can't create transaction lock mohit dhawan Linux - Newbie 2 05-05-2005 03:59 AM
checking transaction log In SUSE 9.1 shaked Linux - Newbie 2 10-01-2004 03:37 PM
Transaction Monitors on Linux vgcsekar Linux - General 2 03-22-2002 11:49 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration