If you do not want to manage specific IP addresses or specific IP address ranges by pinging through ICMP or polling through SNMP, they can be unmanaged automatically during discovery. This is done by defining rules in the custom-end-system.asl which is called at the end of every device discovery as follows:
Addiing code to custom-end-system.asl script to unmanage IP addresses
The following is a sample of code which will unmanage IP addresses that end in .254 on Routers:
START {
/*
* Add Parsing rules here.
*/
.. eol
} do {
/*
* Add processing rules here.
*/
if (nodeObj->CreationClassName == "Router" ){
foreach IP (nodeObj->getIPs()) {
IPObj = object(IP);
if ( !IPObj->isNull() && glob("<1-255>.<0-255>.<0-255>.254", IPObj->Address) && IPObj->IsManaged ) {
IPObj->unmanage();
if ( DEBUG ) { print(me . " Support:". IPObj->Address . " is now unmanaged"); }
}
}
}
stop();
}