Nrpe check_ifoperstatus missing perl SNMP dependancy?
-
I'm trying to run the check_ifoperstatus, but I am getting the following error:
# /usr/local/libexec/nagios/check_ifoperstatus Can't locate Net/SNMP.pm in @INC (you may need to install the Net::SNMP module) (@INC contains: /usr/local/libexec/nagios /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at /usr/local/libexec/nagios/check_ifoperstatus line 42. BEGIN failed--compilation aborted at /usr/local/libexec/nagios/check_ifoperstatus line 42.
Here is line 42 of the script:
use Net::SNMP;
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.