Nagios Error : Dell_Hardware_Health_Status Unknown

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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?
Former Nagios employee
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post by rohithroki »

Thank you for the reply.

Please find the NSC.ini file attached.

Regards,
RKJ
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post by dwhitfield »

Are you still getting the same error after reinstalling Strawberry Perl?
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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?
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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
Attachments
check_openmanage.zip
check_openmanage
(2.97 MiB) Downloaded 202 times
NSC.ini
NSC configuration file
(13.17 KiB) Downloaded 376 times
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Post 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
Attachments
Dell hardware health check service
Dell hardware health check service
check_command_nrpe
check_command_nrpe
Contents of  Compress Directory
Contents of Compress Directory
Locked