Nagios Error : Dell_Hardware_Health_Status Unknown
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Nagios Error : Dell_Hardware_Health_Status Unknown
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
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
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?
Can you share where you got this plugin from? Also a copy of the plugin itself?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
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.
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!
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
Thank you for the reply.
Please find the NSC.ini file attached.
Regards,
RKJ
Please find the NSC.ini file attached.
Regards,
RKJ
-
- 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
Are you still getting the same error after reinstalling Strawberry Perl?
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
@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
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
-
- 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
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.htmlmcapra 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?
I will ask this though...are any other applications working against your Perl setup? Are you running the compilation as an admin?
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
@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
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 204 times
-
- NSC.ini
- NSC configuration file
- (13.17 KiB) Downloaded 379 times
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
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?
Can you post how the service check and the command is defined on the Nagios server?
Code: Select all
C:\Strawberry\perl\lib\IO\Compress
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: Nagios Error : Dell_Hardware_Health_Status Unknown
@ 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
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