Monday, September 1, 2008

Nagios Check Fails: Can't locate utils.pm in @INC (@INC

i had this issue today several times. It is caused because a particular plugin isn't able to locate the utils.pm file. In my case this was caused by a wrong defined lib include path in following plugins:

check_generic, check_snmp_int, check_multi, check_file_age

It's pretty easy to fix it, just change:

use lib "/usr/local/nagios/libexec" ;

to

use lib "/usr/lib/nagios/plugins" ;

and everything will be fine.

bohboh,
kratediggah

No comments: