1830898 Members
3193 Online
110017 Solutions
New Discussion

monitoring tool

 
SOLVED
Go to solution
moonchild
Regular Advisor

monitoring tool

Hi,

is there a way to configure syslogd to email entries out ? or a tool that does that ?

Thank you in advance
5 REPLIES 5
Rajeev  Shukla
Honored Contributor

Re: monitoring tool

Not that i am aware of. Never came accross.
Instead what i do is write a small house keeping script and run it through cron.
What is does is, it rotates the syslog file.
Copy the current syslog file to another name with date, zip and trim the current syslog file to 0. you could add something similar in the script and mail the last days entries to yourself.

Patrice Le Guyader
Respected Contributor
Solution

Re: monitoring tool

Hi,

Look at this tool :
http://caspian.dotconf.net/menu/Software/LogDog/

LogDog monitors messages passing through syslogd and takes actions based on key words and phrases (which can be regular expressions). It has a configuration file which allows you to specify a list of key words or phrases to alert on and a list of commands that can be run when those words are encountered.

Hope this helps
Kenavo
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
moonchild
Regular Advisor

Re: monitoring tool

thanks Pat, i will look into it.

have you ever used logdog on hpux systems?
moonchild
Regular Advisor

Re: monitoring tool

FYI:

I also found syslog-ng but i don't know if we can email out:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/libol-0.3.16/

Patrice Le Guyader
Respected Contributor

Re: monitoring tool

Hi,

I've never used it, I've planned to do it . It's in perl so with some adaptation it should be ok. I've take a quick look to it and you must get from the author site the sendEmail script too or modify logdog to use sendmail directly.

Hope this help
Kenavo
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.