| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| mrtg-ping-probe / cron question .. http://www.steveshipway.org/forum/viewtopic.php?f=17&t=832 |
Page 1 of 1 |
| Author: | Steve9R [ Thu Mar 09, 2006 9:25 pm ] |
| Post subject: | mrtg-ping-probe / cron question .. |
Hi guys.. Im confused.. Ive followed the config for the mrtg-ping-probe as per steve's demo page, and if i run '/usr/local/bin/mrtg /usr/local/etc/mrtg/pingtimes.cfg' from a shell prompt as root it works perfectly.. but as soon as i add that command to crontabs as root it never works ?? in the pingtimes.cfg i've even explicitly defined : Target[ping-test]: `/usr/local/etc/mrtg/bin/mrtg-ping-probe -o -n 192.168.0.4` (which does exist) why would this not run under cron ? Steve |
|
| Author: | Steve9R [ Thu Mar 09, 2006 10:16 pm ] |
| Post subject: | |
doh.. Dont worry guys.. i've fixed it.. I didnt have the PathAdd: /usr/local/bin all working fine now... (BTW: that PathAdd isnt in your sample.conf for that Steve).. Steve |
|
| Author: | stevesh [ Mon Mar 13, 2006 6:03 pm ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|