Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SYSLOG.CONF

Status
Not open for further replies.
Joined
Jul 31, 2001
Messages
37
Location
US
I have my solaris 5.8 box set-up as the syslog server for my cisco routers I have syslog.conf like so:
local7.alert /var/adm/cisco/alert
local7.crit /var/adm/cisco/crit
local7.err /var/adm/cisco/err
local7.warning /var/adm/cisco/warning
local7.notice /var/adm/cisco/notice
local7.info /var/adm/cisco/info
local7.debug /var/adm/cisco/debug

is there a way i can also have local7.err send a mail message to "mcswensen@jer-ms" jer-ms being my mailserver. I can send mail from a regular prompt that i get when i login. I just use the "rmail mcswensen@jer-ms" any help would be great
 
You would probably want to create a script to perform this function. You could set it up for start up or every 4 hours, etc. At any rate I would pursue this course of action.
 
Thanks For your help i'll look into setting up a script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top