File/bin/snmp_scan2.php

Description

snmp_scan2.php

Long description for file: This script will scan all existing switches & routers using SNMP It focuses on getting information about systems who are not managed or/and on static access ports. With this information, NAC then has an overview of all systems on the network, providing the Network manager with a more complete picture. This non-vmps-managed systems can still be scanned, and their Anti-Virus status shown. Such non-managed are typically critical servers, network equipment, VirtualServers, systems with static vlan ports ...

Newly discovered devices are inserted into the systems table as status=3, name=unknown, and update mac,lastseen,switch,port For existing systems; lastseen,switch,port is updated.

USAGE : -switch name - only scan given switch (require switch name) -vlan name - only scan given vlan (require vlan name) -help - print usage (no args) : will scan all switches and all vlans

PHP version 5

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Includes
 require_once ('./snmp_defs.inc.php') (line 44)
 require_once ("./funcs.inc.php") (line 43)
Functions
validate_ip (line 49)
void validate_ip ( $ip)
  • $ip

Documentation generated on Mon, 06 Feb 2012 01:10:58 +0100 by phpDocumentor 1.4.0