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
How use Perl?
Moderators: Developers, Moderators
-
- Posts: 41
- Joined: Mon Jan 16, 2006 7:44 am
- Location: Brasil
- Contact:
Create a Data Input Method and use your perl script. Take a read http://forums.cacti.net/viewtopic.php?t=11288
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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.
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)
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)
Who is online
Users browsing this forum: No registered users and 0 guests