I am trying to run a bunch of mrtg scripts (mrtg.org) and I am failing pretty thouroughly at it. I used the instructions at stepwise to install mrtg.
At first I would get:
[localhost:/usr/local/mrtg-2] botany% bin/mrtg --user=botany --group=all smple.cfg
WARNING: Running '/Library/MRTG/connections.sh': Permission denied
WARNING: Could not get any data from external command '/Library/MRTG/connections.sh'
Maybe the external command did not even start. (Permission denied)
WARNING: Running '/Library/MRTG/users.pl': Permission denied
WARNING: Could not get any data from external command '/Library/MRTG/users.pl'
Maybe the external command did not even start. (Permission denied)
Then I tried some instructions that I found in this fourm:
[localhost:/usr/local/mrtg-2] botany% chmod 744 /Library/MRTG/connections.sh
[localhost:/usr/local/mrtg-2] botany% chmod 744 /Library/MRTG/users.pl
And now I get:
[localhost:/usr/local/mrtg-2] botany% bin/mrtg --user=botany --group=all smple.cfg
WARNING: Running '/Library/MRTG/connections.sh': No such file or directory
WARNING: Could not get any data from external command '/Library/MRTG/connections.sh'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/Library/MRTG/users.pl': No such file or directory
WARNING: Could not get any data from external command '/Library/MRTG/users.pl'
Maybe the external command did not even start. (No such file or directory)
But if I check in the directory, the files are still there:
[localhost:/usr/local/mrtg-2] botany% ls -l /Library/MRTG
total 48
-rwxr--r-- 1 botany wheel 80 Dec 6 10:48 connections.sh
-rw-r--r-- 1 botany wheel 173 Dec 6 09:40 uptime-mrtg.pl
-rwxr--r-- 1 botany wheel 208 Dec 6 09:41 users.pl
This is a tad bit frusterating... any kind soul know what is going on?
At first I would get:
[localhost:/usr/local/mrtg-2] botany% bin/mrtg --user=botany --group=all smple.cfg
WARNING: Running '/Library/MRTG/connections.sh': Permission denied
WARNING: Could not get any data from external command '/Library/MRTG/connections.sh'
Maybe the external command did not even start. (Permission denied)
WARNING: Running '/Library/MRTG/users.pl': Permission denied
WARNING: Could not get any data from external command '/Library/MRTG/users.pl'
Maybe the external command did not even start. (Permission denied)
Then I tried some instructions that I found in this fourm:
[localhost:/usr/local/mrtg-2] botany% chmod 744 /Library/MRTG/connections.sh
[localhost:/usr/local/mrtg-2] botany% chmod 744 /Library/MRTG/users.pl
And now I get:
[localhost:/usr/local/mrtg-2] botany% bin/mrtg --user=botany --group=all smple.cfg
WARNING: Running '/Library/MRTG/connections.sh': No such file or directory
WARNING: Could not get any data from external command '/Library/MRTG/connections.sh'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/Library/MRTG/users.pl': No such file or directory
WARNING: Could not get any data from external command '/Library/MRTG/users.pl'
Maybe the external command did not even start. (No such file or directory)
But if I check in the directory, the files are still there:
[localhost:/usr/local/mrtg-2] botany% ls -l /Library/MRTG
total 48
-rwxr--r-- 1 botany wheel 80 Dec 6 10:48 connections.sh
-rw-r--r-- 1 botany wheel 173 Dec 6 09:40 uptime-mrtg.pl
-rwxr--r-- 1 botany wheel 208 Dec 6 09:41 users.pl
This is a tad bit frusterating... any kind soul know what is going on?