How use Perl?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
phantom_rgs
Posts: 41
Joined: Mon Jan 16, 2006 7:44 am
Location: Brasil
Contact:

How use Perl?

Post by phantom_rgs »

Hi! I have installed ActivePerl for using script to monitor exchange and etc.

How i use the perl? i have to creates bat for running in conjunction to poller?

need help!

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Create a Data Input Method and use your perl script. Take a read http://forums.cacti.net/viewtopic.php?t=11288
User avatar
N3NCY
Cacti User
Posts: 260
Joined: Thu Sep 22, 2005 7:50 pm
Location: Landenberg, PA
Contact:

Post by N3NCY »

Windows users running ActivePerl may want to install a few modules.

Example:

Install a few basic Perl Modules for future use
Open a CMD Prompt (DOS Window) and type:
ppm <PRESS ENTER>

From the ppm> prompt type:
install DBI <PRESS ENTER>
install DBD-mysql <PRESS ENTER>
install DBD-ODBC <PRESS ENTER>


Also, if you just installed Perl, you may want to do a basic sanity check.
Reboot the machine...
Open a CMD Prompt (DOS Window) and type:
perl -v <PRESS ENTER>
You should see the currently installed version of Perl report back.
Thank you,

Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests