Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

johnbrookes

Reviews(1)
byjohnbrookes, October 21, 2010
Useful little check, this.

Made a couple of changes:

1)Security

Perl - correctly - complains about 'Insecure $ENV{ENV}' when running interactively, so added the lines:

75a76,78
> # Security
> delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
>


2) Allowed it to work on SLES boxen

268c271,275
$file = " } elsif ( -e "/etc/SuSE-release" ) {
> $file = " }