Apache::WebSNMP

Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML.
Download

Apache::WebSNMP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chris Rigby
  • Publisher web site:
  • http://search.cpan.org/~rigbyc/Apache-WebSNMP-0.11/lib/Apache/WebSNMP.pm

Apache::WebSNMP Tags


Apache::WebSNMP Description

Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML. Apache::WebSNMP is a Perl module that allows for SNMP calls to be embedded in HTML.SYNOPSIS < html > < body > < snmp > host=zoom.google.org community=public connect interface=ifDescr.2 mac=ifPhysAddress.2 query < /snmp > The interface < b >descriptor< /b > for the ethernet card is < snmp > print(interface) < /snmp > and its mac address is < snmp > print(mac) < /snmp > < /body > < /html >The WebSNMP module allows one to embed SNMP commands directly into HTML code.REQUIRESThis module requires the perl SNMP module, available at the CPAN site.USAGEThe module allows for three different kinds of statements, surrounded by < snmp > and < /snmp > html tags. The three types of statements consist of configurations, variable assignments, and commands. A brief description of each type of statement follows:Configuration:The configuration statements allow the user the set which host to poll for SNMP information, as well as the SNMP community that the get statements will draw from. This essentially takes the form of assigning values to the reserved variables host and community. All variables are assigned with the following syntax: varible_name=valueNote: there must not be any intervening whitespace between the '=' and the name and value. Thus to set the SNMP host to machine.domain.net, we would issue the configuration statement: < snmp >host=machine.domain.net< /snmp >If not specified, the default host is localhost, and the default community is public. Requirements: · Perl


Apache::WebSNMP Related Software