NetVoyager - Takes a router community string and its IP address as arguments and retrieves numerous data
use NetVoyager;
my $router = new NetVoyager( router=>$host, community=>$community );
my %machine = $router->machines;
print $machine{name}
print $machine{description}
print $machine{location}
print $machine{uptime}
print $machine{contact}
print $router->ifIndex
print $router->name
print $router->alias
print $router->speed
print $router->loopback
print $router->connector
print $router->IPaddress
print $router->NetworkAddress
print $router->CIDR
NetVoyager retrieves SNMP data from a router. Data includes other IP addresses, subnet masks, interfaces, uptime and router location, among others. NetVoyager is the core of mapping the entire network. It filters IP addresses so that it is part of the allowed network block.
new() - create a new router to be placed in the machines table
router - IP address of the router community - community string
machines() - returns a hash table composed of name, description, contact, location and uptime
ifIndex() - returns an array of interface IDs
name() - returns an array of interface names
alias() - returns an array of interface aliases
speed() - returns an array of connection speed
loopback() - returns a boolean array of loopback
connector() - returns a boolean array of connector
IPaddress() - returns an array of IP addresses
NetworkAddress() - returns an array of network addresses
CIDR() - returns an array of CIDR
NetVoyager is supported as part of the core Pawikan distribution. Please send bug report to <netapps@pregi.net> or use the bugzilla.
Edwin Viñas <edwinv@asti.dost.gov.ph>
Jerremeo Raynier Gabás <ren@asti.dost.gov.ph>
René Mendoza <renem@asti.dost.gov.ph>
Rey Vincent Babilonia <rvincent@asti.dost.gov.ph>
Paul Afroilan <paula@asti.dost.gov.ph>
Copyright (c) 2004 Philippine Research, Education and Government Information Network. All rights reserved. This program is part of the Pawikan distribution; you can redistribute it and/or modify it under the same terms as Pawikan itself.