|
|
| Author |
Message |
marton
Joined: 14 Jul 2006 Posts: 1 Location: brazil
|
Posted: Tue Jul 25, 2006 10:00 am Post subject: script error |
|
|
hi all,
i followed a using data queries and data input method howto and the first step when i created a data input method it is ok but when i try add a input field show a error message like that:
Error: This script appears to have no input values, therefore there is nothing to add.
wherever my script works ok in my machine.
1-script path:
/www/htdocs/cacti/scripts
2 - command line:
bash /www/htdocs/cacti/scripts/ggsn01_cpu.sh
3 - result:
[root@vas scripts]# bash /www/htdocs/cacti/scripts/ggsn02_cpu.sh
18[root@vas scripts]#
i just wanna put this value in the cacti graph.
what i got do? |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5452 Location: Wisconsin, USA
|
Posted: Wed Jul 26, 2006 1:54 pm Post subject: |
|
|
| Have you tried running this script as the user for the poller? |
|
| Back to top |
|
 |
marton
Joined: 14 Jul 2006 Posts: 1 Location: brazil
|
Posted: Fri Jul 28, 2006 8:59 am Post subject: re: script error |
|
|
my user is:
-rwxr-xr-x 1 mdantas users 153 Jul 25 17:19 teste.pl
like default scripts:
-rwxr-xr-x 1 mdantas users 79 Out 6 2004 unix_processes.pl
-rwxr-xr-x 1 mdantas users 228 Out 6 2004 unix_users.pl
-rwxr-xr-x 1 mdantas users 876 Out 6 2004 weatherbug.pl
but i cannot run it. |
|
| Back to top |
|
 |
|