Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LogSurfer+, help with mailx portion?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nellson
n00b
n00b


Joined: 24 Jun 2004
Posts: 66

PostPosted: Fri Jan 30, 2015 2:44 pm    Post subject: LogSurfer+, help with mailx portion? Reply with quote

Just a quick question on how Logsurfer deals with Mailx to send alerts. I have looks at several example .conf pages, and what my intent is to just have the host name in the subject line, but with the entire message in teh body of an e-mail. This config file (this is everything) does send teh e-mail, but the body is blank, and a tshark capture of the SMTP conversation shows [Malformed Packet] at the end of the block that sends the message.

What might I be doing wrong here?

Code:

'^.{15} ([^ ]+) .* %STACKMGR-4-STACK_LINK_CHANGE:' - - - 0
  open " $2 .* %STACKMGR-4-STACK_LINK_CHANGE" - - 600 300
    report "/usr/bin/mailx -s \"Alert: $2 has issues.\" nellson@mydomain.dom" " $0 "


Code:

5781 5769 427.356207  10.45.94.11 -> 10.45.193.64 IMF 69 from: "Logsurfer Alert" <logsurfer@bertha.mydomain.dom>, subject: Alert: chg-lan-sw-01 has issues.\r\n, [Malformed Packet]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum