When changing anything in nfsen.conf, a 'nfsen reload' will do it. nfsen reconfig is required only if you change anything in the flow collection part e.g. adding/deleting sources.
Sorry - I see, this could be misleading .. - Peter On 05/05/15 23:49, Sean wrote: > I kept plugging away and slowly but surely realized that nfsen needs a full > stop/start in order to re-read the configuration file changes. (FYI – an > nfsen reconfig doesn’t work) > > So…there you have it. > > <dunce.jpg> > > From: Adrian Popa > Date: Monday, May 4, 2015 at 11:03 PM > To: Sean > Cc: NFSen-Discuss > Subject: Re: [Nfsen-discuss] nfsen e-mail alerts with sendmail / localhost > > What does /var/log/maillog have to say? > > On Tue, May 5, 2015 at 1:08 AM, Sean <spedersen.li...@gmail.com > <mailto:spedersen.li...@gmail.com>> wrote: > > Hi all, > > I’m at my wit’s end. Previously, nfsen was set up to use an external SMTP > relay (Postfix) and it worked fine. I installed sendmail locally, tested and > confirmed that it was functional, then switched over the $SMTP_SERVER to > ‘localhost’. Once the > change was made, nfsen could no longer send e-mails. > > Ex. > > $MAIL_FROM = ‘r...@host.example.com <mailto:r...@host.example.com>’; > $SMTP_SERVER = ‘localhost’; > > > I’ve tried multiple variations of the hostname, domain name, even > replacing localhost with the FQDN of the host itself. > > sendmail is set up to allow connections from the local machine by default: > > Connect:localhostRELAY > GreetPause:localhost0 > ClientRate:localhost0 > ClientConn:localhost0 > > Connect:127RELAY > GreetPause:1270 > ClientRate:1270 > ClientConn:1270 > > > /etc/hosts should be correct: > > 127.0.0.1 localhost > 127.0.1.1 example.com <http://example.com> host > > > I get an extremely generic failure message via /var/log/syslog: > > May 4 14:45:18 flowtool nfsen[799]: Alert 'test_alert' condition == > true, condition counter: 1 > May 4 14:45:18 flowtool nfsen[799]: Alert 'test_alert' execute action > May 4 14:45:18 flowtool nfsen[799]: alert 'test_alert' Send email > to: t...@example.com <mailto:t...@example.com> > May 4 14:45:19 flowtool nfsen[799]: alert 'test_alert' : Failed to > send alert email to: t...@example.com <mailto:t...@example.com> > May 4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Status: 5. > May 4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Blocks: 0. > May 4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Info : . > May 4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' done. > > > Looking at my sendmail logs, nfsen (and by extension, nfAlert.pm) is not > even hitting sendmail. It’s failing somewhere else, but I can’t get any > detailed logs to help me along. I tried to redirect STDOUT in nfAlert.pm, but > no output was > generated. I know outbound e-mail works since it’s fine with the external > postfix box. I must be missing something stupid, but I can’t find anything to > help me along in the mailing list archives or in general via Google. > > I was hoping someone here might have some past experience with nfsen and > sendmail that would be willing to give me a hint. > > Thanks! > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net > <mailto:Nfsen-discuss@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > > _______________________________________________ > Nfsen-discuss mailing list > Nfsen-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > ------------------------------------------------------------------------------ _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss