|
|
| Author |
Message |
deu439356
Joined: 13 Aug 2008 Posts: 45
|
Posted: Tue Nov 11, 2008 8:59 am Post subject: Getting Scripts to Work |
|
|
I am using a script to return (print) an integer value that I would like to graph. I have set up my data input method to be a Script/Command and so it looks for one output value. My data template uses the data input method and my graph template uses my data template. I believe I have everything set up correctly, (I modeled it after the Unix - Get Logged in Users script and followed: http://forums.cacti.net/about11288.html) but I get the following errors:
11/11/2008 07:50:55 AM - SPINE: Poller[0] Host[2430] DS[94025] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/11/2008 07:50:55 AM - SPINE: Poller[0] Host[2430] ERROR: Empty result [RSA]: '/usr/bin/perl /this/is/the/path/scripts/rsaAuths.pl'
11/11/2008 07:50:55 AM - SPINE: Poller[0] Host[2430] DS[94026] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/11/2008 07:50:55 AM - SPINE: Poller[0] Host[2430] ERROR: Empty result [RSA]: '/usr/bin/perl /this/is/the/path/scripts/rsaVPN.pl'
I also performed at tail -f on the log in debug mode, and it is returning a U.
Any suggestions? Thanks! |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Tue Nov 11, 2008 3:55 pm Post subject: |
|
|
Please see 2nd link of my sig. Most likely a permission issue. Is this a dup post, by the way?
Reinhard |
|
| Back to top |
|
 |
deu439356
Joined: 13 Aug 2008 Posts: 45
|
Posted: Tue Nov 11, 2008 3:57 pm Post subject: |
|
|
Yes. I didn't get any replies on the other post so I started a new thread.
Also, the permissions on the scripts and the files are set to -rwxrwxrwx |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Tue Nov 11, 2008 4:15 pm Post subject: |
|
|
Are you using any OS commands in this script? Please post the code
Reinhard |
|
| Back to top |
|
 |
deu439356
Joined: 13 Aug 2008 Posts: 45
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Wed Nov 12, 2008 3:48 pm Post subject: |
|
|
let's stop this dup thread
Reinhard |
|
| Back to top |
|
 |
|