First of all....I am a Windows user. I have my Linux machines...but I just havent found the time to REALLY dive into them. So...Windows is what I prefer for now.
****************************************************** I use MRTG not only for troubleshooting (RSSI/LQ), but more importantly for billing purposes, as I charge based on each clients monthly throughput. Therefore, it is crucial that I have a somewhat reliable method of tracking. I find that MRTG crashes about once every other day (middle of the day or night), and therefore I lose tracking for HOURS. At first I looked into setting up a fire daemon (windows service). That looked a little tedious. So...I checked out Windows XP "scheduled tasks" and found out there is a much easier way. First, I setup my MRTG-Totalizer to run automatically every night at 12:15 am (using my username/password in case I am not logged in). Second, I setup MRTG to start upon system startup (utilizing my username/password). Therefore, if the system reboots, I dont even have to be logged in for MRTG to start. That was nice...but what if it crashes in the middle of the day??? Third, I setup a recurring start-up for MRTG (every 15 minutes) that "restarts" MRTG. If it is running already, it tries to start it and all is well (does not open a second instance). If for some reason it had crashed in the past 15 minutes, it will restart it. Almost eliminating my MRTG downtime. Side Note: Notice in my mrtgstart.bat and mrtg_demo_config files that I use the "wperl" command instead of "perl". That way the programs run in the background. I hate seeing that black screen always pop-up. I included the MRTG config file in case someone wants to see how I setup both throughput, RSSI/LQ, and TOTALIZER stuff. Hope this helps someone. Sully
<<attachment: mrtgstart.gif>>
<<attachment: scheduled tasks.gif>>
<<attachment: mrtg_total_start.bat>>
<<attachment: mrtgstart.bat>>
mrtg_demo_config.cfg
Description: Binary data
