Is the script executable at all? Could you include an ls -l of /etc/mrtg/ping.sh?
-----Original Message----- From: Leo Houer [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: [mrtg] Re: Help/Ext. Script : Could not get any data from externa l command ----- Original Message ----- From: "McDonald, Dan" <[EMAIL PROTECTED]> Date: Tue, 29 Jul 2003 05:04:38 -0500 To: 'Leo Houer' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 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:[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 -- 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
