Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


script error

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
marton



Joined: 14 Jul 2006
Posts: 1
Location: brazil

PostPosted: Tue Jul 25, 2006 10:00 am    Post subject: script error Reply with quote

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: 5469
Location: Wisconsin, USA

PostPosted: Wed Jul 26, 2006 1:54 pm    Post subject: Reply with quote

Have you tried running this script as the user for the poller?
Back to top
marton



Joined: 14 Jul 2006
Posts: 1
Location: brazil

PostPosted: Fri Jul 28, 2006 8:59 am    Post subject: re: script error Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group