Page 1 of 2

Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Mon Jul 10, 2017 12:20 am
by rohithroki
Hi,

I am getting the below error in nagios

Service : Dell_Hardware_Health_Status
Current Status : Unknown
Status Information : IO/Compress/Zlib/Extra.pm did not return a true value at C:/strawberry/perl/lib/IO/Compress/Gzip.pm line 16.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/IO/Compress/Gzip.pm line 16.
Compilation failed in require at C:/strawberry/perl/lib/Compress/Zlib.pm line 12.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/Compress/Zlib.pm line 12.
Compilation failed in require at -e line 153.

Please help me in fix the issue.

Thanks in advance

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Mon Jul 10, 2017 6:29 am
by mcapra
Looks like the Perl environment you set up on your Windows machine is messed up, or at the very least you are missing some dependent Perl modules. At any rate, this is more of a Perl problem at this point than a Nagios problem.

Can you share where you got this plugin from? Also a copy of the plugin itself?

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Mon Jul 10, 2017 2:52 pm
by tgriep
You may want to reinstall Strawberry Perl on your system and verify that the paths are correct for the installation folder.
http://strawberryperl.com/
Please post your nsclient.ini file so we can see how the command is defined.

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Fri Jul 14, 2017 1:46 am
by rohithroki
Thank you for the reply.

Please find the NSC.ini file attached.

Regards,
RKJ

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Fri Jul 14, 2017 9:42 am
by dwhitfield
Are you still getting the same error after reinstalling Strawberry Perl?

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Tue Aug 29, 2017 5:03 am
by rohithroki
@dwhitfield

There was no strawberry Perl on the server earlier and now we have installed the same how ever we are still getting the below error.

IO/Compress/Zlib/Extra.pm did not return a true value at C:/strawberry/perl/lib/IO/Compress/Gzip.pm line 16.
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/IO/Compress/Gzip.pm line 16. 
Compilation failed in require at C:/strawberry/perl/lib/Compress/Zlib.pm line 12. 
BEGIN failed--compilation aborted at C:/strawberry/perl/lib/Compress/Zlib.pm line 12. 
Compilation failed in require at -e line 153.

Regards,
RKJ

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Tue Aug 29, 2017 10:25 am
by dwhitfield
mcapra wrote:Looks like the Perl environment you set up on your Windows machine is messed up, or at the very least you are missing some dependent Perl modules. At any rate, this is more of a Perl problem at this point than a Nagios problem.

Can you share where you got this plugin from? Also a copy of the plugin itself?
OP, the above still all appears to be true. If you get us the plugin we may be able to help you with your Perl issue, but ultimately you may find better support options at http://strawberryperl.com/support.html

I will ask this though...are any other applications working against your Perl setup? Are you running the compilation as an admin?

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Wed Aug 30, 2017 1:01 am
by rohithroki
@dwhite
We are using check_openmanage application to fetch the date from the client server.

We are using the same plugin for other servers and it works well for all others and only for this server we are facing this issue.

Attaching the check check_open manage application and the NSC config file.

Regards,
RKJ

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Wed Aug 30, 2017 3:17 pm
by tgriep
The error looks like a Perl Module is missing on the Windows server so can you post the contents of this folder on the Windows Server?

Code: Select all

C:\Strawberry\perl\lib\IO\Compress
Can you post how the service check and the command is defined on the Nagios server?

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Posted: Thu Aug 31, 2017 5:26 am
by rohithroki
@ tgriep

Please find the screenshot of the contents in Compress directory attached.

Also find the details of how service has been configured.
Attaching the check_command and service configuration details also