Your ThreshMailServer can be any server remote or otherwise that can be reached from your MRTG server.
If you are getting this error, possibly your MRTG is too old a version to support this? I think you need version 2.16.x to support this directive. Steve ________________________________ From: NAP [mailto:[email protected]] Sent: Friday, 7 August 2009 8:17 a.m. To: Steve Shipway Cc: [email protected] Subject: RE: RE: [mrtg] Send mail with threshold configuration Ok But, Could be my SMTP server a remote server ? I have route to get my remote mail server, but when cfg file run I have this error: 2009-08-06 13:25:01 -- ERROR: CFG Error Unknown Option "threshmailserver" on line 18 or above. Check doc/reference.txt for Help Thanks, Miguel De: Steve Shipway [mailto:[email protected]] Enviado el: Wednesday, August 05, 2009 6:54 PM Para: NAP; [email protected] Asunto: [?? Probable Spam] RE: [mrtg] Send mail with threshold configuration When the threshold is broken, MRTG will contact the SMTP server directly and inject the email at that point. The format of the email is predefined. Your ThreshMailServer definition is wrong; it should be an IP address or a hostname Steve ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of NAP Sent: Thursday, 6 August 2009 3:59 a.m. To: [email protected] Subject: [mrtg] Send mail with threshold configuration How mrtg send mail when threshold condition is broken. Does mrtg send mail itself ?? My threshold configuration is: ThreshDir: /var/mrtg/thresh ThreshMailServer: ip-add server remote ThreshMailSender: [email protected] ThreshMailAddress[router]: [email protected] ThreshMinI (router): 222222 Please, wait for your answer Regards, Miguel
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
