Nagios::Passive::ResultPath - drop check results into Nagios' check_result_path.
my $nw = Nagios::Passive->create( checkresults_dir => $checkresultsdir, service_description => $service_description, check_name => $check_name, host_name => $hostname, return_code => 0, # 1 2 3 output => 'looks (good|bad|horrible) | performancedata' ); $nw->submit
This module gives you the ability to drop checkresults directly into Nagios' check_result_path.
The usage is described in Nagios::Passive.
To install Nagios::Passive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::Passive
CPAN shell
perl -MCPAN -e shell install Nagios::Passive
For more information on module installation, please visit the detailed CPAN module installation guide.