> When i want to use mrtg.cfg with a external script i get the following > errormessage on run of mrtg: > > --- > WARNING: Running '/etc/mrtg/ping.sh': Permission denied > WARNING: Could not get any data from external command > '/etc/mrtg/ping.sh' Maybe the external command did not even start. > (Permission denied) --- > > But when running this script from commandline with >sh ping.sh > i dont get any error but some good output. > > Here is how the external script is used in my mrtg.cfg: > --- > Target[ping_nerim]: `/etc/mrtg/ping.sh`
I've only worked on Win32 (I'm linux ignorant, but that will soon change), but what if you put Target[ping_nerim]: `sh /etc/mrtg/ping.sh` Maybe (again, I'm ignorant to Linux) you need to specify sh to run the script. ?? Jeremy Fluhmann McLane Information Systems -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
