test_configuration.pl - Load your configuration to verify Nagios::Object is compatible with it. -c: path to your main configuration file -l: "relaxed" mode - allow unrecognized attributes on objects, default is strict
perl test_configuration.pl -c /etc/opt/nagios/nagios.cfg perl test_configuration.pl -l -c /etc/opt/nagios/nagios.cfg
To install Nagios::Host, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::Host
CPAN shell
perl -MCPAN -e shell install Nagios::Host
For more information on module installation, please visit the detailed CPAN module installation guide.