Hi,
audit_linux.sh reports the wrong "main" IP number on a host with several interfaces. The IP number reported in the echo system01... line (line 219) is the last one checked in the previous Network detection loop (lines 196 - 216). In our case the second interface (eth1) is unused and therefore the system is registered with the (wrong) main IP number of --.--.--.--.
I'm not sure what could be a correct and less error prone way here, but maybe the IP number that corresponds to the hostname? Or the IP address, that is in the same subnet as the default gateway (from `netstat -rn`)?
Cheers
frank
|