Could anyone help me with shell script witch is analysing errors on server
dimitar.dk 0 Newbie Poster
Recommended Answers
Jump to Postit depends on what errors you are looking for. If there are 1000s of errors, are you going to send all 1000 ++ errors to your email?? you have to describe clearly your specs.
Jump to PostHere's an example of something I'm using to monitor an application log for a specific error. I'll put some generic variables in :)
#!/bin/bash # Set some variables here logfile="/path/to/logfile" pattern="this.is.an.error" email="user@example.com" # read each new line as it gets written # to the log file tail …
Jump to PostExcellent, glad I could help!
All 9 Replies
rch1231 169 Posting Shark
dimitar.dk 0 Newbie Poster
rch1231 169 Posting Shark
dimitar.dk 0 Newbie Poster
ghostdog74 57 Junior Poster
dimitar.dk 0 Newbie Poster
JeoSaurus 32 Posting Whiz in Training
dimitar.dk 0 Newbie Poster
JeoSaurus 32 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.