Nagios Error : Dell_Hardware_Health_Status Unknown

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios Error : Dell_Hardware_Health_Status Unknown

Postby rohithroki » Mon Jul 10, 2017 12:20 am

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

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby mcapra » Mon Jul 10, 2017 6:29 am

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
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 2828
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby tgriep » Mon Jul 10, 2017 2:52 pm

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!
User avatar
tgriep
Madmin
 
Posts: 6086
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby rohithroki » Fri Jul 14, 2017 1:46 am

Thank you for the reply.

Please find the NSC.ini file attached.

Regards,
RKJ
rohithroki
 
Posts: 75
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby dwhitfield » Fri Jul 14, 2017 9:42 am

Are you still getting the same error after reinstalling Strawberry Perl?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3844
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby rohithroki » Tue Aug 29, 2017 5:03 am

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

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby dwhitfield » Tue Aug 29, 2017 10:25 am

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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3844
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby rohithroki » Wed Aug 30, 2017 1:01 am

@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 13 times
NSC.ini
NSC configuration file
(13.17 KiB) Downloaded 15 times
rohithroki
 
Posts: 75
Joined: Mon Nov 30, 2015 6:12 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby tgriep » Wed Aug 30, 2017 3:17 pm

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!
User avatar
tgriep
Madmin
 
Posts: 6086
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Error : Dell_Hardware_Health_Status Unknown

Postby rohithroki » Thu Aug 31, 2017 5:26 am

@ 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
check_hardware_health.JPG
Dell hardware health check service
check_command.JPG
check_command_nrpe
compress dir.JPG
Contents of Compress Directory
rohithroki
 
Posts: 75
Joined: Mon Nov 30, 2015 6:12 am

Next

Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 17 guests