Can't locate Time/HiRes.pm

Missing Time/HiRes module on Centos, monitoring Oracle Databases.

LAST TESTED ON CHECKMK 2.2.0P1

Table of Contents


Getting Started

Background information regarding this subject is available on our:

Problem

If you want to monitor Oracle DB on Centos, you may receive this message about a missing module:

Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).BEGIN failed--compilation aborted.(standard_in) 2: syntax error 

Solution

You need to install the Module manually: 

root@linux~# yum install perl-Time-HiRes