Under windows things work differently to unix (of course) You can either
1. install a third-party scheduling software that does a similar job to cron and use that, 2. install MRTG as a Windows service and run in daemon mode (probably the best option, unless you have a peculiar configuration) One problem with (2) is that the multithreading doesn't work with windows, so if you have a large configuration, you may need several instances. A problem with (1) is that you end up with many perl instances which is very memory hungry and is not able to fully take advantage of the rrdtool performance enhancements added in 1.3. Documentation is available online on how to use svrany.exe to create a new windows service. This is also detailed in the book :) www.steveshipway.org/book<http://www.steveshipway.org/book> (blatant self-promotion there) Steve ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Mersberger, Robert Sent: Wednesday, 12 August 2009 3:05 a.m. To: '[email protected]'; '[email protected]' Subject: [mrtg] Looking for help setting up email notification for mrtg2.16.2 running on a window server. I am reposting this message because I did not receive any responses. Still looking for help I am in the process of building a windows server for Mrtg2.16.2 and I am trying to find a way to sent email notification from mrtg when an error occurs. In Unix this was handled by cron. I am running mrtg through a batch file that is setup as an scheduled task. This is what is in by batch file perl c:\mrtg-2.16.2\bin\mrtg --logging=c:\mrtg_setup\mrtg-2.16.2.log c:\mrtg_setup\MRTG_MASTER\Facilities_2811.cfg If I want to see if errors are happening I have to edit the mrtg-2.16.2.log files . what do I have to do to make this work like it did with cron. Thanks for any help given. Robert Mersberger LAN Consultant, Information Technology Phone 479-201-3442 Fax 479-478-3837 Email [email protected] www.Goldenliving.com Golden Living 1000 Fianna Way Fort Smith, AR 72919 ________________________________ Please consider the environment before printing this e-mail. CONFIDENTIAL NOTICE: This e-mail message and any attachment(s) (collectively, this 'Email') are intended only for the confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient named obove or an agent responsible for delivering it to the intended recipient named above, you have received this Email in error. Please notify the sender immediately and permanently delete this Email and any copies thereof.
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
