| 45 |
|
$filter_manager_port = $ARGV[1]; |
| 46 |
|
|
| 47 |
|
$seq_no = 1; |
| 48 |
< |
$retry_wait = 6; |
| 48 |
> |
$retry_wait = 60; |
| 49 |
|
|
| 50 |
|
# write our PID to a file |
| 51 |
|
$pidfile = "/var/tmp/ihost.pid"; |
| 283 |
|
} |
| 284 |
|
$disk_info .= "</disk>"; |
| 285 |
|
|
| 286 |
< |
my($ip) = inet_ntoa(scalar(gethostbyname(hostname())) || 'localhost'); |
| 286 |
> |
my($ip); |
| 287 |
> |
$ip = inet_ntoa(scalar(gethostbyname(hostname())) || 'localhost') or $ip = 'localhost'; |
| 288 |
|
|
| 289 |
|
# Build the XML packet this way, as we can clearly |
| 290 |
|
# see the structure and contents... I like this ;-) |