-
-
17 May 2022 21:06:21 UTC
- Distribution: App-Netdisco
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (20)
- Testers
- Kwalitee
Bus factor: 1- 74.63% Coverage
- License: bsd
- Activity
24 month- Tools
- Download (4.29MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Algorithm::Cron
- AnyEvent
- AnyEvent::DNS::EtcHosts
- App::cpanminus
- App::local::lib::helper
- Archive::Extract
- Authen::Radius
- Authen::TacacsPlus
- CGI::Expand
- Command::Runner
- DBD::Pg
- DBIx::Class
- DBIx::Class::Helpers
- Daemon::Control
- Dancer
- Dancer::Plugin::Auth::Extensible
- Dancer::Plugin::DBIC
- Dancer::Plugin::Passphrase
- Dancer::Plugin::Swagger
- Dancer::Session::Cookie
- Data::Printer
- Data::Visitor::Tiny
- EV
- Expect
- File::Path
- File::ShareDir
- File::Slurper
- File::Spec::Functions
- Guard
- HTML::Parser
- HTTP::Tiny
- IO::Socket::INET6
- IO::Socket::SSL
- JSON
- JSON::PP
- JSON::XS
- List::MoreUtils
- List::Util
- MCE
- MIME::Base64
- Module::Load
- Moo
- Net::DNS
- Net::Domain
- Net::LDAP
- Net::OpenSSH
- NetAddr::IP
- NetAddr::MAC
- Opcode
- Package::DeprecationManager
- Path::Class
- Plack
- Plack::Handler::Twiggy
- Plack::Middleware::Debug
- Plack::Middleware::Expires
- Plack::Middleware::Headers
- Plack::Middleware::ReverseProxy
- Pod::Usage
- Regexp::Common
- Role::Tiny
- SNMP::Info
- SQL::Abstract
- SQL::Translator
- Scope::Guard
- Sereal
- Session::Storage::Secure
- Socket6
- Starman
- Storable
- Sub::Util
- Sys::SigAction
- Template
- Template::AutoFilter
- Template::Plugin::CSV
- Template::Plugin::Number::Format
- Term::ReadLine
- Term::UI
- Try::Tiny
- URI
- URI::Based
- URL::Encode
- URL::Encode::XS
- YAML
- YAML::XS
- aliased
- autovivification
- namespace::clean
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
App::Netdisco::Util::Nbtstat
DESCRIPTION
Helper subroutines to support parts of the Netdisco application.
There are no default exports, however the
:all
tag will export all subroutines.EXPORT_OK
nbtstat_resolve_async( $ips )
This method uses an asynchronous AnyEvent NetBIOS node status requester
App::Netdisco::AnyEvent::Nbtstat
.Given a reference to an array of hashes will connects to the
IPv4
of a node and gets NetBIOS node status information.Returns the supplied reference to an array of hashes with MAC address, NetBIOS name, NetBIOS domain/workgroup, NetBIOS user, and NetBIOS server service status for addresses which responded.
store_nbt($nb_hash_ref, $now?)
Stores entries in
node_nbt
table from the provided hash reference; MACmac
, IPip
, Unique NetBIOS Node Namenbname
, NetBIOS Domain or Workgroupdomain
, whether the Server Service is runningserver
, and the current NetBIOS usernbuser
.Adds new entry or time stamps matching one.
Optionally a literal string can be passed in the second argument for the
time_last
timestamp, otherwise the current timestamp (now()
) is used.Module Install Instructions
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm App::Netdisco
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.