Information: Forum is in read-only mode
For details and other support options see https://www.adiscon.com/news/support-forum-set-to-read-only-mode/

Newbie questions

Questions around SyslogAppliance, the virtual logging appliance.

Moderator: alorbach

Google Ads


Newbie questions

Postby sddawson » Sun Apr 05, 2009 12:19 pm

I'd love to get some help getting started with this appliance. I do have it up and running. So far, I have the following questions:

I need to send an email when messages from my router contain certain text. For instance, I'd like to send one when my Internet connection comes up. I found the following in the documentation:

$ModLoad ommail
$ActionMailSMTPServer mail.example.net
$ActionMailFrom rsyslog@example.net
$ActionMailTo operator@example.net
$template mailSubject,"disk problem on %hostname%"
$template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'"
$ActionMailSubject mailSubject
# make sure we receive a mail only once in six
# hours (21,600 seconds ;))
$ActionExecOnlyOnceEveryInterval 21600
# the if ... then ... mailBody mus be on one line!
if $msg contains 'hard disk fatal failure' then :ommail:;mailBody

Does this just go in rsyslog.conf?

I'd also like to send an email if messages start arriving from my router at faster then a pre-determined rate, as a warning that something untoward is happening. No idea how to do this!

Lastly (so far!), is there a way of "fixing" the IP address that Vmware allocates to the appliance, so that I can plug that into my router?

Hope someone can help. Thanks.
sddawson
New
 
Posts: 3
Joined: Sun Apr 05, 2009 12:12 pm

Google Ads


Return to SyslogAppliance

Who is online

Users browsing this forum: No registered users and 0 guests

cron