Thursday , July 29 2021

Nagios Error: Can’t locate Time/HiRes.pm in @INC

Nagios is a great product for monitoring IT infrastructure. Since it is an open source product, users can develop there own plugins to monitor what ever parameter they like to monitor.

Different plugins may use different addons to be installed for them to work correctly. I used a script to check SVN port 8443 status, if it is open or not. It gave me this error after first start:

Nagios - PerlTimeHighRes Error  Nagios Error:  Can’t locate Time/HiRes.pm in @INC Nagios PerlTimeHighRes Error 373x219

 

Resolution to this is installation of Perl’s Module Time-HighRes. On RHEL/CentOS/Fedora, this can be done by:

#     yum install perl-Time-HiRes

#     service nagios restart

#     systemctl restart httpd.service           (maybe this command is not required at all)

Now, Nagios is working correctly with port status check script.

Nagios - PerlTimeHighRes OK  Nagios Error:  Can’t locate Time/HiRes.pm in @INC Nagios PerlTimeHighRes OK 373x144

About Muhammad Attique

Check these out :)

Installing & Configuring WingIDE on Kali Linux (64-bit) wing

Installing & Configuring WingIDE on Kali Linux (64-bit)

Wingware Python IDE a.k.a. Wing IDE is a full-featured Python IDE designed for professional programmers. …

Leave a Reply

Your email address will not be published. Required fields are marked *

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.