contrib/gentcucci-1.0.0/mrtg_autorun
raw| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Should be run every n minutes (generally either 5 or 10) in cron as in the |
| 4 | # crontab example below... |
| 5 | # |
| 6 | # */5 * * * * /home/autorun/bin/mrtg_autorun |
| 7 | # |
| 8 | # Edit the paths for your system's needs. |
| 9 | # |
| 10 | cd /usr/local/mrtg/local-config |
| 11 | |
| 12 | gentcucci |
| 13 | ../run/mrtg mrtg.tcusercount.cfg |
| 14 | ../run/mrtg mrtg.tcdegree.cfg |