[mrtg] Re: Help/Ext. Script : Could not get any data from ext erna l command

Derek Winkler dwinkler at algorithmics.com
Tue Jul 29 21:08:40 MEST 2003


Is the script executable at all?
Could you include an ls -l of /etc/mrtg/ping.sh?

-----Original Message-----
From: Leo Houer [mailto:solibra at berlin.com]
Sent: Tuesday, July 29, 2003 3:02 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Help/Ext. Script : Could not get any data from
externa l command



----- Original Message -----
From: "McDonald, Dan" <Dan.McDonald at austinenergy.com>
Date: Tue, 29 Jul 2003 05:04:38 -0500
To: 'Leo Houer' <solibra at berlin.com>, mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Help/Ext. Script : Could not get any data from externa l
command

 >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
 
Looks like the mrtg user doesn't have execute permission on that script.


Yes, but this is strange as mrtg is running in the root account.
crontab:
0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg.cfg

It should have all the rights to execute any scripts.

Any clue why its not working?




-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list