Thursday , October 18 2018
Home / Network Admin / Nagios Error: Can’t locate Time/HiRes.pm in @INC

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

 

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

About Muhammad Attique

Check these out :)

How to Modify GRUB Bootloader version 2

I’m going to show you how can we edit and modify GRUB Bootloader version 2, …

Leave a Reply

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