Perl Scripts issue

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
terziyski
Cacti User
Posts: 92
Joined: Thu Nov 02, 2006 6:02 am
Location: Bulgaria
Contact:

Perl Scripts issue

#1 Post by terziyski » Thu Nov 08, 2007 2:25 pm

Hi,

I thoght I had a little problem with a perl script, but it appears that I have a general problem with any kind of perl scripts.
When I write a perl script and add it to Data Input Methods with apropriate data and graph templates I receive in Catati Log file for data source:

CACTID: Poller[0] Host[429] ERROR: Empty result [XXX]: 'perl C:/Inetpub/Wwwroot/cacti/scripts/myscript.pl YYY'

The scripts are working perfectly under command prompt console, but in Cacti they are not sending any data.
I am using Cacti 0.8.6j version under Windows 2003 Server.
Does anyone can suggest something to resolve this issue ?
Cacti user

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#2 Post by gandalf » Sat Nov 10, 2007 5:25 pm

When running cactid, please provide /full/path/to/perl instead of just perl
Reinhard

Post Reply