Nagios::Passive::CommandFile - drop check results into Nagios' check_result_path.


NAME

Nagios::Passive::CommandFile - drop check results into Nagios' check_result_path.

Back to Top


SYNOPSIS

  my $nw = Nagios::Passive->create(
    command_file => $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;

Back to Top


DESCRIPTION

This module gives you the ability to drop checkresults into Nagios' external_command_file.

The usage is described in the Nagios::Passive manpage

Back to Top

 Nagios::Passive::CommandFile - drop check results into Nagios' check_result_path.