mrtg mica probe
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 118
mrtg-mica-probe 0.0.2
mrtg-mica-probe is a Telebit MicaBlazer modem usage probe. more>>
mrtg-mica-probe is a Telebit MicaBlazer modem usage probe.
mrtg-mica-probe is a modem usage probe for the ITK NetBlazer 6100 (formerly Telebit MicaBlazer) 3.32. It is used to monitor the number of used modem and ISDN lines.
The latest release of mrtg-mica-probe can always be found on the web at http://pwo.de/projects/mrtg/ or via anonymous ftp at ftp://ftp.pwo.de/pub/pwo/mrtg/mrtg-mica-probe/.
mrtg.cfg-mica shows some sample mrtg.cfg entries.
Enhancements:
- added documentation to workaround a Telebit bug that might prevent SNMP from starting correctly.
<<lessmrtg-mica-probe is a modem usage probe for the ITK NetBlazer 6100 (formerly Telebit MicaBlazer) 3.32. It is used to monitor the number of used modem and ISDN lines.
The latest release of mrtg-mica-probe can always be found on the web at http://pwo.de/projects/mrtg/ or via anonymous ftp at ftp://ftp.pwo.de/pub/pwo/mrtg/mrtg-mica-probe/.
mrtg.cfg-mica shows some sample mrtg.cfg entries.
Enhancements:
- added documentation to workaround a Telebit bug that might prevent SNMP from starting correctly.
Download (0.029MB)
Added: 2007-07-12 License: GPL (GNU General Public License) Price:
835 downloads
mrtg-misc-probe 0.3.0
mrtg-misc-probe probes different system features for mrtg to graph. more>>
mrtg-misc-probe probes different system features for mrtg to graph.
Currently it can probe:
- percent usage of disk space and inodes for UFS filesystems
- percent usage of disk space for VxFS filesystems
- incoming and outgoing mail messages on sendmail mail server
- total size of mail messages sendt and received on sendmail mail server
- network delay using NTP peers/servers
- number of ClearCase vobs and views
- number of available and used ClearCase and MultiSite licenses
- number of active and disconnected sessions of a Citrix Metaframe server
- number of reachable hosts in a given network range
- network device reachability (ping success)
Enhancements:
- New probes: ctxmf - number of active and disconnected Citrix Metaframe sessions; hostcount - scan given nmap-network-range and return number of hosts found.
<<lessCurrently it can probe:
- percent usage of disk space and inodes for UFS filesystems
- percent usage of disk space for VxFS filesystems
- incoming and outgoing mail messages on sendmail mail server
- total size of mail messages sendt and received on sendmail mail server
- network delay using NTP peers/servers
- number of ClearCase vobs and views
- number of available and used ClearCase and MultiSite licenses
- number of active and disconnected sessions of a Citrix Metaframe server
- number of reachable hosts in a given network range
- network device reachability (ping success)
Enhancements:
- New probes: ctxmf - number of active and disconnected Citrix Metaframe sessions; hostcount - scan given nmap-network-range and return number of hosts found.
Download (0.017MB)
Added: 2007-07-12 License: GPL (GNU General Public License) Price:
836 downloads
mrtg-ntap-probe 0.4.0
mrtg-ntap-probe can probe for Network Appliance NetCache caching appliance and NetApp Filer. more>>
mrtg-ntap-probe can probe for Network Appliance NetCache caching appliance and NetApp Filer.
mrtg-ntap-probe retrieves the disk and file (inode) utilization by volume or quota tree name, so you do not need to find the right OID, which might change over time as you add and/or remove volumes and quota trees.
You need a recent release of mrtg 2.x, perl 5.003 or better, a NetApp NetCache appliance with NetCache release 5.1 or better and/or a Network Appliance Filer running Data Ontap 6.0 or better.
If you have a Network Appliance service contract and access to their software tools library on now.netapp.com, you should also take a look at their mrtg-filer and mrtg-netcache packages!
<<lessmrtg-ntap-probe retrieves the disk and file (inode) utilization by volume or quota tree name, so you do not need to find the right OID, which might change over time as you add and/or remove volumes and quota trees.
You need a recent release of mrtg 2.x, perl 5.003 or better, a NetApp NetCache appliance with NetCache release 5.1 or better and/or a Network Appliance Filer running Data Ontap 6.0 or better.
If you have a Network Appliance service contract and access to their software tools library on now.netapp.com, you should also take a look at their mrtg-filer and mrtg-netcache packages!
Download (0.019MB)
Added: 2007-07-12 License: GPL (GNU General Public License) Price:
838 downloads
mrtg-ping-probe 2.2.0
mrtg-ping-probe project monitors round trip time and packet loss to another host. more>>
mrtg-ping-probe project monitors round trip time and packet loss to another host. Still on my TODO list: add own min/max/avg rtt calculation, add perl ping module, add rping and rsh support...
mrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor the round trip time and packet loss to networked devices. MRTG uses its output to generate graphs visualizing minimum and maximum round trip times or packet loss.
mrtg-ping-probe depends on the following software being installed on your system: perl (at least version 5.6.1), mrtg (I use version 2.8.8, though any mrtg 2.x version should work), and a ping program that displays a summary of the round trip times upon termination or timeout.
mrtg-ping-probe runs on AIX, BSD/OS 2.1, FreeBSD/2.2.x, IRIX/6.2, Linux, Mac OS X (Darwin 5.4), NetBSD, OpenBSD, OS/2, OSF1 V3.2, Solaris 1.1.2 (SunOS 4.1.4), Solaris 2.5.1 (SunOS 5.5.1), Solaris 7 (SunOS 5.7), Solaris 8 (SunOS 5.8), Solaris 9 (SunOS 5.9), HP-UX 9, Windows 98, and Windows 2000 (english, french, portugesee, and spanish locales).
If you install the Windows ping program that comes with Windows 98, Windows 2000, or WinSock 2.x, mrtg-ping-probe will also run on Windows 95 and Windows 4.0.
Support for additional systems is usually easy to add, as described in the file INSTALL.
Act responsible: do not use mrtg-ping-probe to ping devices without the owners permission. Just imagine 10,000 people would decide to ping your hosts ... mrtg-ping-probe is meant to be used within your network to get round trip time performance figures for your network.
Usage: mrtg-ping-probe [-hsvV] [-d deadtime] [-k count] [-l length] [-o ping_options] [-p [factor*]{min|max|avg|loss|integer}/[factor*]{min|max|avg|loss|integer}] [-r [rsh:][user@]host[:osname]] [-t timeout] host
Enhancements:
- new platforms supported: italian Windows 2000 locale.
- bugfixes: on Windows actually return deadtime when we lost all packets, not 0. the ping child process should actually be killed now on Unix platforms.
- changes: ***** Possible Incompatability ***** raised minimum required perl version to 5.6.1. lots of typos fixed.
<<lessmrtg-ping-probe is a ping probe for MRTG 2.x. It is used to monitor the round trip time and packet loss to networked devices. MRTG uses its output to generate graphs visualizing minimum and maximum round trip times or packet loss.
mrtg-ping-probe depends on the following software being installed on your system: perl (at least version 5.6.1), mrtg (I use version 2.8.8, though any mrtg 2.x version should work), and a ping program that displays a summary of the round trip times upon termination or timeout.
mrtg-ping-probe runs on AIX, BSD/OS 2.1, FreeBSD/2.2.x, IRIX/6.2, Linux, Mac OS X (Darwin 5.4), NetBSD, OpenBSD, OS/2, OSF1 V3.2, Solaris 1.1.2 (SunOS 4.1.4), Solaris 2.5.1 (SunOS 5.5.1), Solaris 7 (SunOS 5.7), Solaris 8 (SunOS 5.8), Solaris 9 (SunOS 5.9), HP-UX 9, Windows 98, and Windows 2000 (english, french, portugesee, and spanish locales).
If you install the Windows ping program that comes with Windows 98, Windows 2000, or WinSock 2.x, mrtg-ping-probe will also run on Windows 95 and Windows 4.0.
Support for additional systems is usually easy to add, as described in the file INSTALL.
Act responsible: do not use mrtg-ping-probe to ping devices without the owners permission. Just imagine 10,000 people would decide to ping your hosts ... mrtg-ping-probe is meant to be used within your network to get round trip time performance figures for your network.
Usage: mrtg-ping-probe [-hsvV] [-d deadtime] [-k count] [-l length] [-o ping_options] [-p [factor*]{min|max|avg|loss|integer}/[factor*]{min|max|avg|loss|integer}] [-r [rsh:][user@]host[:osname]] [-t timeout] host
Enhancements:
- new platforms supported: italian Windows 2000 locale.
- bugfixes: on Windows actually return deadtime when we lost all packets, not 0. the ping child process should actually be killed now on Unix platforms.
- changes: ***** Possible Incompatability ***** raised minimum required perl version to 5.6.1. lots of typos fixed.
Download (0.036MB)
Added: 2007-07-16 License: GPL (GNU General Public License) Price:
554 downloads
MRTG-eth-probe 1.5.5
MRTG-eth-probe provides a probe for the Multi Router Traffic Grapher. more>>
MRTG-eth-probe provides a probe for the Multi Router Traffic Grapher, generating statistics for network devices that do not support the SNMP protocol. It reads interface stats from /proc/net/dev (or some other file you configure), and generates an output readable for MRTG by parsing the file.
Since the starting of this project MRTG-eth-probe has been downloaded more than 1700 times (as of 2001-11-04). Thanks for this go first of all to Freshmeat for accepting the project and for redirecting so much people to my sourceforge projectpage Additional thanks go to Michael Feger for sending me a patch to 1.5.2 which makes up the most important changes of this release.
Enhancements:
- bugfix: missing dot
<<lessSince the starting of this project MRTG-eth-probe has been downloaded more than 1700 times (as of 2001-11-04). Thanks for this go first of all to Freshmeat for accepting the project and for redirecting so much people to my sourceforge projectpage Additional thanks go to Michael Feger for sending me a patch to 1.5.2 which makes up the most important changes of this release.
Enhancements:
- bugfix: missing dot
Download (0.010MB)
Added: 2006-06-29 License: GPL (GNU General Public License) Price:
1215 downloads
THC-Probe 4.1
THC-Probe is the ultimate host scanner compilation for Linux, featuring nmap, snmpscan, netbios auditing tool. more>>
THC-Probe is the ultimate host scanner compilation for Linux, featuring nmap, snmpscan, netbios auditing tool and super-cool vh shell script.
INSTALL: just run "make install". Everything will be installed in /usr/local
RUN: just run "netprobe" and see the options.
Every host scanned will be saved as a "host.bla.com.probe" file in your current directory.
It does many stuff like snmp guessing, samba pw guessing and information gathering.
Nothing great and big, but it suits my needs.
<<lessINSTALL: just run "make install". Everything will be installed in /usr/local
RUN: just run "netprobe" and see the options.
Every host scanned will be saved as a "host.bla.com.probe" file in your current directory.
It does many stuff like snmp guessing, samba pw guessing and information gathering.
Nothing great and big, but it suits my needs.
Download (0.64MB)
Added: 2006-03-08 License: GPL (GNU General Public License) Price:
1333 downloads
MRTG::Parse 0.03
MRTG::Parse is a Perl extension for parsing and utilizing the logfiles generated by the famous MRTG Tool. more>>
MRTG::Parse is a Perl extension for parsing and utilizing the logfiles generated by the famous MRTG Tool.
SYNOPSIS
use strict;
use MRTG::Parse;
my $mrtg_logfile = "/var/www/htdocs/mrtg/eth0.log";
my $period = "day";
my $desired_unit = "GB";
my ($traffic_incoming, $traffic_outgoing, $traffic_sum) = mrtg_parse($mrtg_logfile, $period, $desired_unit);
print "Incoming Traffic: $traffic_incomingn";
print "Outgoing Traffic: $traffic_outgoingn";
print "= Sum $traffic_sumn";
This perl extension enables its users to parse and utilize the logfiles that are generated by the famous MRTG (Multi Router Traffic Grapher) tool.
mrtg_parse() takes three argument:
1st: filename of the mrtg logfile
2nd: time period to genereate the output for
valid values are:
- individual time periods like: 20040821-20050130 (ISO 8601)
- static values: day, month, year
3rd: the desired unit (optional)
valid values are:
- B, KB, MB, GB, TB
- if missing mrtg_parse will chose an adequate one for you
mrtg_parse() returns three values:
1st: Incoming traffic
2nd: Outgoing traffic
3rd: Sum of incoming and outgoing
<<lessSYNOPSIS
use strict;
use MRTG::Parse;
my $mrtg_logfile = "/var/www/htdocs/mrtg/eth0.log";
my $period = "day";
my $desired_unit = "GB";
my ($traffic_incoming, $traffic_outgoing, $traffic_sum) = mrtg_parse($mrtg_logfile, $period, $desired_unit);
print "Incoming Traffic: $traffic_incomingn";
print "Outgoing Traffic: $traffic_outgoingn";
print "= Sum $traffic_sumn";
This perl extension enables its users to parse and utilize the logfiles that are generated by the famous MRTG (Multi Router Traffic Grapher) tool.
mrtg_parse() takes three argument:
1st: filename of the mrtg logfile
2nd: time period to genereate the output for
valid values are:
- individual time periods like: 20040821-20050130 (ISO 8601)
- static values: day, month, year
3rd: the desired unit (optional)
valid values are:
- B, KB, MB, GB, TB
- if missing mrtg_parse will chose an adequate one for you
mrtg_parse() returns three values:
1st: Incoming traffic
2nd: Outgoing traffic
3rd: Sum of incoming and outgoing
Download (0.005MB)
Added: 2007-04-03 License: Perl Artistic License Price:
938 downloads
Download (10.39MB)
Added: 2009-04-05 License: Fully functional Price: $0
11461 downloads
Other version of Network Probe
License:Freeware
Mica 0.8
Mica is a networked and persistent Object-Oriented programming language. more>>
Mica is a system for building network-accessible multiuser portable applications. It is a programming language and object environment designed to be accessible by more than one programmer at a time.
It includes an implementation of a mostly pure object oriented language. Automatic persistence, reflection, strong encapsulation, multiple dispatch, and run-time security are some of its features.
Mica is designed with extensible "Collaborative Virtual Environments" (CVEs) in mind. In particular I intend to implement a highly-collaborative authoring environment within which users and agents can cooperate. Other subsets of CVEs include MUDs/MOOs or massively multiplayer online games.
Main features:
- Long-running / persistent and extensible applications. (Mica provides transparent persistence, meaning the objects that you use in your application will be there the next time you restart Mica.)
- Networked applications. (Mica is designed to concurrently execute many sessions at once)
- Collaborative applications hosting multiple concurrent authors. (Mica provides the tools to make sure the objects you create in a running collaborative application can be made secure and wont be overwritten by others)
- Rapidly prototyped software. (Micas prototype inheritance allows object relationships to evolve over time in a more intuitive way than many traditional class-based object oriented languages)
- Software with lots of objects with complex, evolving behaviours. (Micas use of multiple dispatch often makes modeling the actions an object can take much simpler and more intuitive.)
<<lessIt includes an implementation of a mostly pure object oriented language. Automatic persistence, reflection, strong encapsulation, multiple dispatch, and run-time security are some of its features.
Mica is designed with extensible "Collaborative Virtual Environments" (CVEs) in mind. In particular I intend to implement a highly-collaborative authoring environment within which users and agents can cooperate. Other subsets of CVEs include MUDs/MOOs or massively multiplayer online games.
Main features:
- Long-running / persistent and extensible applications. (Mica provides transparent persistence, meaning the objects that you use in your application will be there the next time you restart Mica.)
- Networked applications. (Mica is designed to concurrently execute many sessions at once)
- Collaborative applications hosting multiple concurrent authors. (Mica provides the tools to make sure the objects you create in a running collaborative application can be made secure and wont be overwritten by others)
- Rapidly prototyped software. (Micas prototype inheritance allows object relationships to evolve over time in a more intuitive way than many traditional class-based object oriented languages)
- Software with lots of objects with complex, evolving behaviours. (Micas use of multiple dispatch often makes modeling the actions an object can take much simpler and more intuitive.)
Download (0.41MB)
Added: 2005-04-15 License: GPL (GNU General Public License) Price:
1653 downloads
Qmrtg 2.1
Qmrtg is a modular tool to help monitoring the activity of a qmail server. more>>
Qmrtg is a modular tool to help monitoring the activity of a qmail server. Its intended to be used with MRTG. Each module carries out a different log analysis.
A super-module lets the user easily request any analysis without having to know anything about the modules themselves. It was originally written for qmail, but most of its modules work with any software using multilog (see daemontools). It is an alternative to qmailmrtg7.
Enhancements:
- autoconf and automake are now used.
- A bug in the concurrency analyzer that caused incorrect reports under some circumstances was fixed.
- The user documentation was revised along with the target description in the mrtg config file.
<<lessA super-module lets the user easily request any analysis without having to know anything about the modules themselves. It was originally written for qmail, but most of its modules work with any software using multilog (see daemontools). It is an alternative to qmailmrtg7.
Enhancements:
- autoconf and automake are now used.
- A bug in the concurrency analyzer that caused incorrect reports under some circumstances was fixed.
- The user documentation was revised along with the target description in the mrtg config file.
Download (0.094MB)
Added: 2005-10-11 License: BSD License Price:
1473 downloads
fprobe 0.4
fprobe is a small NetFlow probe which will listen on a network interface. more>>
fprobe is a small NetFlow probe which will listen on a network interface. It isusing libpcap, aggregate the traffic and export NetFlow V5 datagram to a remote collector for processing. A flow is identified by ip protocol, source ip, source port, destination ip, destination port.
Right now only ethernet interfaces are supported. Support for more media types (tunnel, ppp etc) will be added in nex versions.
/fprobe -t IP:PORT [ -i interface ] [ -s scan ] [ expression ]
-t IP:PORT NetFlow collector address
-i interface interface to listen for traffic (default eth0)
-s scan interval in seconds between two flow tables scans (Default: 10)
-c file file with MAC definitions
-p dont put the interface in promisc mode
-b go in background (daemon mode)
-l file log file name
expression a bpf expresion to filter traffic (See libpcap/tcpdump)
For example:
./fprobe -i eth2 -t 127.0.0.1:8182
This will sniff the traffic on interface eth2 and will send the NetFlow data to localhost (127.0.0.1) on UDP port 8182.
Internal flow table is parsed every scan seconds for expired flows which are sent to remote collector.
Enhancements:
- can handle IP fragments
- can set the snmp interface ID based on source/destination MAC address
- fixed uptime in exported flows
- new hash function for internal storage
- delay between udp datagrams emited
<<lessRight now only ethernet interfaces are supported. Support for more media types (tunnel, ppp etc) will be added in nex versions.
/fprobe -t IP:PORT [ -i interface ] [ -s scan ] [ expression ]
-t IP:PORT NetFlow collector address
-i interface interface to listen for traffic (default eth0)
-s scan interval in seconds between two flow tables scans (Default: 10)
-c file file with MAC definitions
-p dont put the interface in promisc mode
-b go in background (daemon mode)
-l file log file name
expression a bpf expresion to filter traffic (See libpcap/tcpdump)
For example:
./fprobe -i eth2 -t 127.0.0.1:8182
This will sniff the traffic on interface eth2 and will send the NetFlow data to localhost (127.0.0.1) on UDP port 8182.
Internal flow table is parsed every scan seconds for expired flows which are sent to remote collector.
Enhancements:
- can handle IP fragments
- can set the snmp interface ID based on source/destination MAC address
- fixed uptime in exported flows
- new hash function for internal storage
- delay between udp datagrams emited
Download (0.020MB)
Added: 2006-07-05 License: GPL (GNU General Public License) Price:
1214 downloads
MRTG 2.15.2
MRTG short from Multi Router Traffic Grapher is a tool to monitor the traffic load on network-links. more>>
MRTG short from Multi Router Traffic Grapher is a tool to monitor the traffic load on network-links.
Routers are only the beginning. MRTG is being used to graph all sorts of network devices as well as everything else from weather data to vending machines.
MRTG is written in perl and works on Unix/Linux as well as Windows and even Netware systems.
Enhancements:
- SNMVv3 handling was improved.
- Support for SNMPv2/3 devices WITHOUT HC counters was added.
- Indexmaker parsing was made more robust.
- Netware support was updated.
<<lessRouters are only the beginning. MRTG is being used to graph all sorts of network devices as well as everything else from weather data to vending machines.
MRTG is written in perl and works on Unix/Linux as well as Windows and even Netware systems.
Enhancements:
- SNMVv3 handling was improved.
- Support for SNMPv2/3 devices WITHOUT HC counters was added.
- Indexmaker parsing was made more robust.
- Netware support was updated.
Download (1.1MB)
Added: 2007-04-29 License: GPL (GNU General Public License) Price:
918 downloads
JRicochet 2
JRicochet is a simple puzzle game. more>>
JRicochet is a simple puzzle game. It consists of a 10x10 grid, which contains 5 invisible blocks. From each side a player can shoot probes into the grid. Goal is to find the blocks by the pattern of the ricochetting probes in as few shots as possible.
<<less Download (0.54MB)
Added: 2007-06-25 License: GPL (GNU General Public License) Price:
852 downloads
Dynamic Probe Class Library 3.4.3
Dynamic Probe Class Library (DPCL) is an object-based C++ class library. more>>
Dynamic Probe Class Library (DPCL) is an object-based C++ class library that provides the necessary infrastructure to allow tool developers and sophisticated tool users to build parallel and serial tools through technology called dynamic instrumentation.
Dynamic Probe Class Library takes the basic components needed by tool developers and encapsulates them into C++ classes. Each of these classes provide the member functions necessary to interact and dynamically instrument a running application with software patches called probes.
Dynamic instrumentation provides the flexibility for tools to insert probes into applications as the application is running and only where it is needed.
Enhancements:
- This version is a minor update to DPCL that fixes a couple problems that have been reported since the v3.4.2 release
<<lessDynamic Probe Class Library takes the basic components needed by tool developers and encapsulates them into C++ classes. Each of these classes provide the member functions necessary to interact and dynamically instrument a running application with software patches called probes.
Dynamic instrumentation provides the flexibility for tools to insert probes into applications as the application is running and only where it is needed.
Enhancements:
- This version is a minor update to DPCL that fixes a couple problems that have been reported since the v3.4.2 release
Download (2.5MB)
Added: 2006-07-28 License: GPL (GNU General Public License) Price:
1185 downloads
MRTG::Config 0.04
MRTG::Config is a Perl module for parsing MRTG configuration files. more>>
MRTG::Config is a Perl module for parsing MRTG configuration files.
WARNING
This module, while reliable right now, is still in ALPHA stages of development... The API/methods may change. Behaviors of methods will almost certainly change. The internal structure of data will change, as will many other things.
I will try to always release working versions, but anyone who expects their code that uses this module to continue working shouldnt... until I remove this warning.
SYNOPSIS
Ever have the need to parse an MRTG config file? I have. I needed to parse lots and lots of them. Using the functions built-in to MRTG_lib was too slow, too complex, and used too much RAM and CPU time for my poor web server to handle - and the data structures MRTG_lib built were way more complex than I needed.
MRTG::Config can load and parse MRTG and MRTG-style confiuguration files very quickly, and the parsed directives, targets and values can be located, extracted, and manipulated through an OO interface.
This module is intended to focus on correctly parsing the format of an MRTG configuration, regardless of whether or not the directives and values, etc. are valid for MRTG. I am using both the parsing behavior of MRTG_libs readcfg() function and the description of the format on the MRTG website as my guidelines on how to correctly parse these configuration files. I am still a short way off that goal, but this module is currently being used in a production environment with great success!
PLEA FOR MERCY
I plan on adding to this documentation and making it better organized soon, but Im willing to answer questions directly in the mean time. Also, this is my first module, written in a hurry to appease some disgruntled engineers. I do plan on continuing to improve it, so any input, positive or negative is certainly welcome!
USAGE EXAMPLE
use MRTG::Config;
my $cfgFile = mrtg.cfg;
my $persist_file = mrtg.cfg.db;
my $mrtgCfg = new MRTG::Config;
$mrtgCfg->loadparse($cfgFile);
# Want to store the parsed data for use later or by
# another program?
$mrtgCfg->persist_file($persist_file);
$mrtgCfg->persist(1);
foreach my $tgtName (@{$mrtgCfg->targets()}) {
my $tgtCfg = $mrtgCfg->target($tgtName);
# Lets assume every target has a Title.
print $tgtCfg->{title} . "n";
}
# globals() has some, um, interesting things you
# should know. Please read about it below...
my $globalCfg = $mrtgCfg->globals();
# Lets assume WorkDir is set.
print $globalCfg->{workdir} . "n";
<<lessWARNING
This module, while reliable right now, is still in ALPHA stages of development... The API/methods may change. Behaviors of methods will almost certainly change. The internal structure of data will change, as will many other things.
I will try to always release working versions, but anyone who expects their code that uses this module to continue working shouldnt... until I remove this warning.
SYNOPSIS
Ever have the need to parse an MRTG config file? I have. I needed to parse lots and lots of them. Using the functions built-in to MRTG_lib was too slow, too complex, and used too much RAM and CPU time for my poor web server to handle - and the data structures MRTG_lib built were way more complex than I needed.
MRTG::Config can load and parse MRTG and MRTG-style confiuguration files very quickly, and the parsed directives, targets and values can be located, extracted, and manipulated through an OO interface.
This module is intended to focus on correctly parsing the format of an MRTG configuration, regardless of whether or not the directives and values, etc. are valid for MRTG. I am using both the parsing behavior of MRTG_libs readcfg() function and the description of the format on the MRTG website as my guidelines on how to correctly parse these configuration files. I am still a short way off that goal, but this module is currently being used in a production environment with great success!
PLEA FOR MERCY
I plan on adding to this documentation and making it better organized soon, but Im willing to answer questions directly in the mean time. Also, this is my first module, written in a hurry to appease some disgruntled engineers. I do plan on continuing to improve it, so any input, positive or negative is certainly welcome!
USAGE EXAMPLE
use MRTG::Config;
my $cfgFile = mrtg.cfg;
my $persist_file = mrtg.cfg.db;
my $mrtgCfg = new MRTG::Config;
$mrtgCfg->loadparse($cfgFile);
# Want to store the parsed data for use later or by
# another program?
$mrtgCfg->persist_file($persist_file);
$mrtgCfg->persist(1);
foreach my $tgtName (@{$mrtgCfg->targets()}) {
my $tgtCfg = $mrtgCfg->target($tgtName);
# Lets assume every target has a Title.
print $tgtCfg->{title} . "n";
}
# globals() has some, um, interesting things you
# should know. Please read about it below...
my $globalCfg = $mrtgCfg->globals();
# Lets assume WorkDir is set.
print $globalCfg->{workdir} . "n";
Download (0.012MB)
Added: 2007-07-26 License: Perl Artistic License Price:
824 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above mrtg mica probe search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed