pax_global_header00006660000000000000000000000064123466546700014527gustar00rootroot0000000000000052 comment=36218328fbb8eccbef2d10852676b8f086704626 icli-0.48/000077500000000000000000000000001234665467000124025ustar00rootroot00000000000000icli-0.48/.gitignore000066400000000000000000000000651234665467000143730ustar00rootroot00000000000000/_build /Build /blib /cover_db/ /MANIFEST* /MYMETA.* icli-0.48/Build.PL000066400000000000000000000067761234665467000137160ustar00rootroot00000000000000#!/usr/bin/env perl use strict; use warnings; use Module::Build; # defaults at the end my @object_paths = ( '/var/cache/icinga2/objects.cache', '/var/cache/icinga/objects.cache', ); my @status_paths = ( '/var/cache/icinga2/status.dat', '/var/lib/icinga/status.dat', ); my @command_paths = ( '/var/run/icinga2/cmd/icinga.cmd', '/var/lib/icinga/rw/icinga.cmd', ); my $build = Module::Build->new( build_requires => { 'Test::More' => 0, 'Test::Compile' => 0, 'Test::Pod' => 0, 'Test::Command' => 0, }, configure_requires => { 'Module::Build' => 0.40, }, config_data => { object_file => '/var/cache/icinga/objects.cache', status_file => '/var/lib/icinga/status.dat', command_file => '/var/lib/icinga/rw/icinga.cmd', }, module_name => 'App::Icli', license => 'unrestricted', requires => { 'perl' => '5.10.0', 'Carp' => 0, 'DateTime' => 0, 'DateTime::Format::Strptime' => 0, 'DateTime::TimeZone' => 0, 'Getopt::Long' => 0, 'List::MoreUtils' => 0, 'POSIX' => 0, 'Term::ANSIColor' => 0, 'Term::Size' => 0, }, script_files => 'bin/', sign => 1, test_types => { author => '.at', }, ); print <<'EOF'; ----------------------------------------------------------------------- Note: To work with an Icinga installation, icli needs to know the path to three files: * objects.cache (icinga.cfg object_cache_file) * status.dat (icinga.cfg status_file) * icinga.cmd (icinga.cfg command_file) If you are building interactively and the default values for these paths do not exist, you will be asked for them -- hit return to keep the default. In a non-interactive build, the defaults will be used (unless changed using an option, see below). If you need to set them regardless of the build host, do not wish to be promited at all, or are using a non-interactive build process (perhaps even for a whole distribution), you can set them using the following options: perl Build.PL --icli-object-file=.../objects.cache \ --icli-status-file=.../status.dat \ --icli-command-file=.../icinga.cmd ----------------------------------------------------------------------- EOF if ($build->args('icli-object-file')) { $build->config_data(object_file => $build->args('icli-object-file')); } else { for my $path (@object_paths) { if (not -e $build->config_data('object_file')) { $build->config_data(object_file => $path); } } if (not -e $build->config_data('object_file')) { my $reply = $build->prompt('Enter location of Icinga objects.cache', $build->config_data('object_file')); $build->config_data(object_file => $reply); } } if ($build->args('icli-status-file')) { $build->config_data(status_file => $build->args('icli-status-file')); } else { for my $path (@status_paths) { if (not -e $build->config_data('status_file')) { $build->config_data(status_file => $path); } } if (not -e $build->config_data('status_file')) { my $reply = $build->prompt('Enter location of Icinga status.dat', $build->config_data('status_file')); $build->config_data(status_file => $reply); } } if ($build->args('icli-command-file')) { $build->config_data(command_file => $build->args('icli-command-file')); } else { for my $path (@command_paths) { if (not -e $build->config_data('command_file')) { $build->config_data(command_file => $path); } } if (not -e $build->config_data('command_file')) { my $reply = $build->prompt('Enter location of Icinga command pipe', $build->config_data('command_file')); $build->config_data(command_file => $reply); } } $build->create_build_script(); icli-0.48/COPYING000066400000000000000000000001651234665467000134370ustar00rootroot00000000000000All files in this distribution are licensed under the following terms: 0. You just DO WHAT THE FUCK YOU WANT TO icli-0.48/Changelog000066400000000000000000000056561234665467000142300ustar00rootroot00000000000000App::Icli 0.48 - Fri Jun 13 2014 * New dependencies: DateTime, DateTime::Format::Strptime, DateTime::TimeZone * NOT BACKWARDS COMPATIBLE: Add -a/--action option to invoke generic actions on selected services. This replaces -a/--acknowledge with -aa/ -a acknowledge, -r/--recheck with -ar / -a recheck and -u/--force-recheck wiht -aR / -a force_recheck * add -ad / -a downtime option to schedule host/service downtimes * Also show service downtimes when using -ld, improve its output * Show service comments when using -vvv * Rename package to App::Icli to avoid CPAN namespace conflicts icli 0.47 - Thu May 29 2014 * Remove autodie dependency, improve error messages * Allow build-time specification of icinga paths (perl Build.PL --icli-xyz-file=..., see README) * Do not throw warnings when encountering empty contact groups * Do not require --recheck when using --force-recheck * Support --force-recheck with a host-only argument to immediately recheck all services on a host (closses #15) * Fix -lh not showing serviceless hosts (closes #14) icli 0.46 - Sun Sep 29 2013 * Fix !o filter not matching pending services * Add p filter (pending hosts/services) * Show pending hosts/services with --overview * Remove Date::Format dependency (now uses POSIX::strftime) icli 0.45 - Tue Sep 17 2013 * Fix --filter N and --filter !N * Ignore 'serviceescalation' field in the icinga status file * fix smartmatch warnings on perl >= 5.018 icli 0.44 - Sat Mar 16 2013 * Ignore 'module' field in the icinga status file * Add -o / --overview option to display a 'tactical overview'-style host and service listing icli 0.43 - Tue Aug 28 2012 * Add missing documentation for -a / --acknowledge * Add -m / --match option to select on plugin output icli 0.42 - Fri Jun 01 2012 * Add -U / --as-contact option to only operate on services visible to a certain contact * New dependency List::MoreUtils icli 0.41 - Sun Apr 15 2012 * Add "icli host/service" as "icli -h host -s service" shortcut * Add -u / --force-recheck option (Patch by Hugh Brown) icli 0.4 - Mon Jan 31 2011 * icli -vvv lists hosts/services with maximum verbosity * Acknowledging of host/service problems * Cut off or break long lines with -x (improves output readability) * Print long plugin output in -vv/-vvv (if available) * Fix -C (didn't remove all colours) icli 0.3 - Sun Nov 21 2010 * Show service flags with -v -ls (acknowledged, flapping etc.) * Filter hosts/services by check state or various flags * icli -vv lists hosts/services in an even more detailed manner icli 0.2 - Mon Nov 08 2010 * List downtimes and check queue * Reschedule service checks * Filter by host/hostgroup and/or service name icli 0.1 - Thu Jul 29 2010 * First release * listing of service/host states, filtered by hosts/hostgroups icli-0.48/README000066400000000000000000000025041234665467000132630ustar00rootroot00000000000000icli - Icinga Command Line Interface Requires: * A local icinga daemon + access to some of its files * perl v5.10 or newer with the following modules: * DateTime * DateTime::Format::Strptime * DateTime::TimeZone * List::MoreUtils * Term::Size Installation: > perl Build.PL > ./Build > sudo ./Build install You can then run 'man icli' for more information. Extra modules required for testing: * Test::More * Test::Compile * Test::Pod * Test::Command Note: To work with an Icinga installation, icli needs to know the path to three files: * objects.cache (icinga.cfg object_cache_file) * status.dat (icinga.cfg status_file) * icinga.cmd (icinga.cfg command_file) If you are building interactively and the default values for these paths do not exist, you will be asked for them -- hit return to keep the default. In a non-interactive build, the defaults will be used (unless changed using an option, see below). If you need to set them regardless of the build host, do not wish to be promited at all, or are using a non-interactive build process (perhaps even for a whole distribution), you can set them using the following options: > perl Build.PL --icli-object-file=.../objects.cache \ --icli-status-file=.../status.dat \ --icli-command-file=.../icinga.cmd http://finalrewind.org/projects/icli icli-0.48/bin/000077500000000000000000000000001234665467000131525ustar00rootroot00000000000000icli-0.48/bin/icli000077500000000000000000001102651234665467000140250ustar00rootroot00000000000000#!/usr/bin/env perl ## Copyright © 2010-2012 by Daniel Friesel ## License: WTFPL ## 0. You just DO WHAT THE FUCK YOU WANT TO. use strict; use warnings; use 5.010; no if $] >= 5.018, warnings => 'experimental::smartmatch'; use App::Icli::ConfigData; use Carp qw(croak); use DateTime; use DateTime::Format::Strptime; use DateTime::TimeZone; use Getopt::Long qw/:config bundling/; use List::MoreUtils qw(any firstval); use POSIX qw(strftime); use Term::ANSIColor; use Term::Size; our $VERSION = '0.48'; my ( $cache, $config, $data, $extra ); my $config_file = App::Icli::ConfigData->config('object_file'); my $status_file = App::Icli::ConfigData->config('status_file'); my $rw_file = App::Icli::ConfigData->config('command_file'); my $context; my $colours = 1; my $list_type = 's'; my $verbosity = 1; my $overview = 0; my $match_output = undef; my $action = undef; my $as_contact = undef; my $term_width = Term::Size::chars(); my $cut_mode = 'b'; my ( @for_hosts, @for_groups, @for_services, @list_hosts, @list_services ); my @action_args; my @filters; sub have_host { my ($host) = @_; if ( $list_type eq 's' ) { return exists $data->{services}->{$host}; } else { return exists $data->{hosts}->{$host}; } } sub have_service { my ( $host, $service ) = @_; foreach my $s ( @{ $data->{services}->{$host} } ) { if ( $s->{service_description} eq $service ) { return 1; } } return 0; } sub have_service_multi { my ( $host, @services ) = @_; foreach my $s (@services) { if ( have_service( $host, $s ) ) { return 1; } } return 0; } sub with_colour { my ( $text, $colour ) = @_; if ($colours) { return colored( $text, $colour ); } else { return $text; } } sub pretty_date { my ($unix) = @_; if ( $unix == 0 ) { return 'never'; } return strftime( '%Y-%m-%d %H:%M:%S', localtime($unix) ); } sub pretty_duration { my ($since) = @_; my $now = time(); my $dif = $now - $since; return pretty_duration_abs($dif); } sub pretty_duration_abs { my ($dif) = @_; return sprintf( '%dd %dh %dm %ds', int( $dif / ( 24 * 3600 ) ), int( ( $dif / 3600 ) % 24 ), int( ( $dif / 60 ) % 60 ), $dif % 60, ); } sub parse_duration { my ($raw) = @_; my %factors = ( s => 1, m => 60, h => 3600, d => 86400, w => 604800, ); $raw =~ m{ ^ (? [.0-9]+ ) \s* (? [mhdw] )? $ }x or die( "Cannot parse '$raw' - must be a number with an optional unit (s/m/h/d/w)" ); if ( $+{unit} ) { return $+{value} * $factors{ $+{unit} }; } return $+{value}; } sub pretty_noyes { my ($bool) = @_; return ( $bool ? with_colour( 'YES', 'white on_red' ) : with_colour( 'NO', 'black on_green' ) ); } sub pretty_yesno { my ($bool) = @_; return ( $bool ? with_colour( 'YES', 'black on_green' ) : with_colour( 'NO', 'white on_red' ) ); } sub pretty_state { my ( $count, $state ) = @_; my $colour; given ($state) { when ('ok') { $colour = 'black on_green' } when ('warning') { $colour = 'black on_yellow' } when ('critical') { $colour = 'white on_red' } when ('unknown') { $colour = 'white on_blue' } } if ( $count == 0 ) { return q{ }; } if ($colour) { return with_colour( sprintf( '%4d', $count ), $colour ); } return sprintf( '%4d', $count ); } sub split_by_words { my ( $str, $padding, $max_w ) = @_; my @words = split( / /, $str ); my @ret; while ( any { length($_) > $max_w } @words ) { for my $i ( 0 .. $#words ) { my $word = $words[$i]; if ( length($word) > $max_w ) { splice( @words, $i, 1, substr( $word, 0, $max_w ), substr( $word, $max_w ) ); last; } } } while (@words) { my $cur_str = q{}; my $tr_space = 0; while ( @words and ( ( length($cur_str) + length( $words[0] ) + $tr_space ) <= $max_w ) ) { if ($tr_space) { $cur_str .= ' '; } else { $tr_space = 1; } $cur_str .= shift(@words); } if (@ret) { $cur_str = ( ' ' x $padding ) . $cur_str; } push( @ret, $cur_str ); } return @ret; } sub break_str { my ( $text, $waste ) = @_; my $cut = $term_width - $waste; if ( ( not defined $term_width ) or ( $term_width == 0 ) or ( $cut < 12 ) ) { return $text; } if ( $cut_mode eq 'c' ) { return substr( $text, 0, $cut ); } elsif ( $cut_mode eq 'b' ) { return join( "\n", split_by_words( $text, $waste, $cut ) ); } else { return $text; } } sub check_is_soft { my ($x) = @_; return ( $x->{'last_hard_state'} != $x->{'current_state'} ); } sub check_is_host_down { my ($s) = @_; return ( $data->{'hosts'}->{ $s->{'host_name'} }->{'current_state'} != 0 ); } sub filter_generic { my ($x) = @_; my $filters_unfulfilled = @filters; if ( $match_output and not $x->{plugin_output} =~ $match_output ) { return 0; } foreach my $f (@filters) { if ( ( $f eq 'A' and $x->{'problem_has_been_acknowledged'} ) or ( $f eq '!A' and not $x->{'problem_has_been_acknowledged'} ) or ( $f eq 'D' and check_is_host_down($x) ) or ( $f eq '!D' and not check_is_host_down($x) ) or ( $f eq 'F' and $x->{'is_flapping'} ) or ( $f eq '!F' and not $x->{'is_flapping'} ) or ( $f eq 'N' and not $x->{'notifications_enabled'} ) or ( $f eq '!N' and $x->{'notifications_enabled'} ) or ( $f eq 'P' and $x->{'passive_checks_enabled'} and not $x->{'active_checks_enabled'} ) or ( $f eq '!P' and $x->{'active_checks_enabled'} ) or ( $f eq 'S' and check_is_soft($x) ) or ( $f eq '!S' and not check_is_soft($x) ) or ( $f eq 'p' and $x->{'has_been_checked'} == 0 ) or ( $f eq '!p' and $x->{'has_been_checked'} != 0 ) or ( $f eq 'o' and $x->{'current_state'} == 0 ) or ( $f eq '!o' and ( $x->{'current_state'} != 0 or $x->{'has_been_checked'} == 0 ) ) or ( $f eq 'w' and $x->{'current_state'} == 1 ) or ( $f eq '!w' and $x->{'current_state'} != 1 ) or ( $f eq 'c' and $x->{'current_state'} == 2 ) or ( $f eq '!c' and $x->{'current_state'} != 2 ) or ( $f eq 'u' and $x->{'current_state'} == 3 ) or ( $f eq '!u' and $x->{'current_state'} != 3 ) or ( $f eq 'd' and $x->{'current_state'} == 1 ) or ( $f eq '!d' and $x->{'current_state'} != 1 ) or ( $f eq 'x' and $x->{'current_state'} == 2 ) or ( $f eq '!x' and $x->{'current_state'} != 2 ) or 0 # Terminator to ease adding new lines ) { $filters_unfulfilled--; } } if ($filters_unfulfilled) { return 0; } return 1; } sub filter_host { my ($h) = @_; if ( not filter_generic($h) ) { return 0; } return 1; } sub filter_service { my ($s) = @_; if ( not filter_generic($s) ) { return 0; } if ( @list_services and not( $s->{'service_description'} ~~ [@list_services] ) ) { return 0; } if ( $as_contact and not has_contact( $s, $as_contact ) ) { return 0; } return 1; } sub has_contact { my ( $s, $contact ) = @_; my $conf_s = firstval { $_->{service_description} eq $s->{service_description} } @{ $config->{services}{ $s->{host_name} } }; return any { $_ eq $contact } @{ $conf_s->{contacts} }; } sub read_objects_line { my ( $line, $ref ) = @_; if ( $line =~ / ^ (?:define \s )? (? \w+) \s+ { /x ) { $context = $+{context}; } elsif ( $line =~ / ^ \t (? [^=\t]+ ) [=\t] \s* (? .*) $ /x ) { $cache->{ $+{key} } = $+{value}; } elsif ( $line =~ / ^ \t } $ /x ) { given ($context) { when ( [ 'info', 'programstatus' ] ) { ${$ref}->{$context} = $cache; } when ('hoststatus') { ${$ref}->{hosts}->{ $cache->{host_name} } = $cache; } when ('servicestatus') { push( @{ ${$ref}->{services}->{ $cache->{host_name} } }, $cache ); } when ('contactstatus') { push( @{ ${$ref}->{contacts} }, $cache ); } when ('hostdowntime') { push( @{ ${$ref}->{hostdowntimes} }, $cache ); } when ('servicedowntime') { push( @{ ${$ref}->{servicedowntimes} }, $cache ); } when ('hostgroup') { ${$ref}->{hostgroups}->{ $cache->{hostgroup_name} } = $cache; } when ('servicegroup') { ${$ref}->{servicegroups}->{ $cache->{servicegroup_name} } = $cache; } when ('hostcomment') { push( @{ ${$ref}->{hostcomments} }, $cache ); } when ('servicecomment') { push( @{ ${$ref}->{servicecomments} }, $cache ); } when ('host') { ${$ref}->{hosts}->{ $cache->{host_name} } = $cache; } when ('service') { push( @{ ${$ref}->{services}->{ $cache->{host_name} } }, $cache ); } when ('contactgroup') { ${$ref}->{contactgroups}->{ $cache->{contactgroup_name} } = [ split( m{, *}, $cache->{members} // q{} ) ]; } when ( [ qw[ timeperiod command contactgroup contact host service servicedependency serviceescalation module hostdependency ] ] ) { # skipped for now } default { warn("Unknown field in $status_file: $context\n"); } } $cache = undef; } } sub read_objects { my ( $file, $ref, $description, $opt ) = @_; open( my $fh, '<', $file ) or die( "Failed to read $description ($file): $!\n" . "Set $opt to change it\n" ); while ( my $line = <$fh> ) { chomp($line); read_objects_line( $line, $ref ); } close($fh) or warn("Failed to close $description ($file): $!\n"); } sub enhance_status { for my $c ( @{ $data->{servicecomments} } ) { my $service = firstval { $_->{service_description} eq $c->{service_description} } @{ $data->{services}->{ $c->{host_name} } }; push( @{ $service->{comments} }, $c ); } for my $c ( @{ $data->{hostcomments} } ) { push( @{ $data->{hosts}->{ $c->{host_name} }->{comments} }, $c ); } HOST: for my $h ( keys %{ $data->{services} } ) { for my $s ( @{ $data->{services}->{$h} } ) { if ( $s->{current_state} != 0 ) { $extra->{$h}->{service_problem} = 1; next HOST; } } } HOST: for my $h ( keys %{ $config->{services} } ) { for my $s ( @{ $config->{services}->{$h} } ) { if ( $s->{contacts} ) { $s->{contacts} =~ s{^ *}{}o; $s->{contacts} = [ split( m{, *}, $s->{contacts} ) ]; } for my $group ( split( m{, *}, $s->{contact_groups} ) ) { push( @{ $s->{contacts} }, @{ $config->{contactgroups}{$group} } ); } } } } sub parse_action { if ( not $action ) { return; } my @raw_args; my %actionmap = ( a => 'acknowledge', d => 'downtime', r => 'recheck', R => 'force_recheck', ); ( $action, @raw_args ) = split( /:/, $action ); @action_args = split( /,/, join( ':', @raw_args ) ); $list_type = q{}; if ( exists $actionmap{$action} ) { $action = $actionmap{$action}; } elsif ( length($action) <= 2 ) { say STDERR "Note: Action shortcut '${action}' is unknown"; } } sub compute_hostlist { for my $arg (@ARGV) { my ( $host, $service ) = split( qr{/}, $arg ); if ( not any { $host } @for_hosts ) { push( @for_hosts, $host ); } if ($service) { push( @for_services, $service ); } } foreach my $host (@for_hosts) { if ( not exists $data->{services}->{$host} ) { die("Unknown host: ${host}\n"); } } @list_hosts = @for_hosts; @list_services = @for_services; foreach my $group (@for_groups) { if ( not exists $config->{'hostgroups'}->{$group} ) { die("Unknown hostgroup: ${group}\n"); } foreach my $host ( split /,/, $config->{'hostgroups'}->{$group}->{'members'} ) { if ( not any { $_ eq $host } @list_hosts ) { push( @list_hosts, $host ); } } } if ( @list_hosts == 0 ) { @list_hosts = sort keys %{ $data->{hosts} }; } if (@list_services) { @list_hosts = grep { have_service_multi( $_, @list_services ) } @list_hosts; } if ( $list_type eq 'h' ) { @list_hosts = grep { filter_host( $data->{'hosts'}->{$_} ) } @list_hosts; } } sub service_state { my ($s) = @_; my $checked = $s->{has_been_checked}; my $digit = $s->{current_state}; if ( not $checked ) { return 'PENDING '; } given ($digit) { when (0) { return with_colour( ' OK ', 'black on_green' ) } when (1) { return with_colour( ' WARNING', 'black on_yellow' ) } when (2) { return with_colour( 'CRITICAL', 'white on_red' ) } when (3) { return with_colour( ' UNKNOWN', 'white on_blue' ) } default { croak("Unknown service state: $digit\n") } } } sub host_state { my ($h) = @_; my $checked = $h->{has_been_checked}; my $digit = $h->{current_state}; if ( not $checked ) { return ' PENDING '; } given ($digit) { when (0) { return with_colour( ' OK ', 'black on_green' ) } when (1) { return with_colour( ' DOWN ', 'white on_red' ) } when (2) { return with_colour( 'UNREACHABLE', 'white on_blue' ) } default { croak("Unknown host state: $digit\n") } } } sub display_queue { my @queue = map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { [ $_, $_->{next_check} ] } ( values %{ $data->{hosts} }, map { @{$_} } values %{ $data->{services} } ); @queue = grep { $_->{host_name} ~~ \@list_hosts } @queue; if (@list_services) { @queue = grep { $_->{service_description} ~~ \@list_services } @queue; } printf( "%-25.25s %-20.20s %-19s %-19s\n", 'Host', 'Service', 'Last Check', 'Next Check', ); for my $e (@queue) { if ( $e->{next_check} == 0 ) { next; } printf( "%-25.25s %-20.20s %-19s %-19s\n", $e->{host_name}, $e->{service_description} // q{}, pretty_date( $e->{last_check} ), pretty_date( $e->{next_check} ), ); } } sub display_downtime { my ($d) = @_; my $v = $verbosity; my $format = "%-10s : %s\n"; if ( $v > 2 ) { printf( $format, 'Host', $d->{host_name} ); if ( $d->{service_description} ) { printf( $format, 'Service', $d->{service_description} ); } printf( $format, 'Start', $d->{is_in_effect} ? with_colour( pretty_date( $d->{start_time} ), 'bold' ) : pretty_date( $d->{start_time} ) ); printf( $format, 'End', $d->{is_in_effect} ? with_colour( pretty_date( $d->{end_time} ), 'bold' ) : pretty_date( $d->{end_time} ) ); printf( $format, 'Duration', $d->{fixed} ? 'Fixed' : pretty_duration_abs( $d->{duration} ) ); if ( $v > 3 ) { printf( $format, 'ID', $d->{downtime_id} ); if ( $d->{trigger_time} ) { printf( $format, 'Trigger', $d->{triggered_by} . ' (active since ' . pretty_date( $d->{trigger_time} ) . ')' ); } else { printf( $format, 'Trigger', $d->{triggered_by} || 'None' ); } } printf( $format, 'Author', $d->{author} ); printf( $format, 'Comment', break_str( $d->{comment}, 19 ) ); } else { if ( $d->{service_description} ) { printf( '%-25.25s %-25.25s', $d->{'host_name'}, $d->{service_description} ); } else { printf( '%-25.25s', $d->{'host_name'} ); } if ( $v >= 3 ) { printf( ' %s %-10.10s', pretty_date( $d->{'entry_time'} ), $d->{'author'}, ); } if ( $d->{is_in_effect} ) { printf( ' %-28s %-28s', with_colour( pretty_date( $d->{'start_time'} ), 'bold' ), with_colour( pretty_date( $d->{'end_time'} ), 'bold' ), ); } else { printf( ' %-20.20s %-20.20s', pretty_date( $d->{'start_time'} ), pretty_date( $d->{'end_time'} ), ); } if ( $v >= 2 ) { printf( '%-17.17s', $d->{'fixed'} ? ' Fixed' : ' ' . pretty_duration_abs( $d->{duration} ) ); } if ( $v >= 2 ) { print( $d->{comment} ); } } print "\n"; } sub display_x_verbose { my ( $x, $format ) = @_; my $v = $verbosity; if ( $v > 2 ) { printf( $format, 'Host', $x->{'host_name'}, ); if ( $x->{'service_description'} ) { printf( $format, 'Service', $x->{'service_description'}, ); printf( "%-16s : %s (for %s)%s\n", 'Status', service_state($x), pretty_duration( $x->{'last_state_change'} ), ( $x->{'problem_has_been_acknowledged'} ? ' (Acknowledged)' : q{} ), ); } else { printf( "%-16s : %s (for %s)%s\n", 'Status', host_state($x), pretty_duration( $x->{'last_state_change'} ), ( $x->{'problem_has_been_acknowledged'} ? ' (Acknowledged)' : q{} ), ); } printf( $format, 'Plugin Output', break_str( $x->{'plugin_output'}, 19 ), ); for my $line ( split( qr{\\n}, $x->{'long_plugin_output'} ) ) { printf( $format, q{}, break_str( $line, 19 ), ); } printf( $format, 'Performance Data', $x->{'performance_data'}, ); printf( "%-16s : %d/%d\n", 'Current Attempt', $x->{'current_attempt'}, $x->{'max_attempts'}, ); printf( $format, 'Last Check Time', pretty_date( $x->{'last_check'} ), ); printf( $format, 'Next Check', pretty_date( $x->{'next_check'} ), ); printf( "%-16s : %s (%.1f%% state change)\n", 'Flapping', pretty_noyes( $x->{'is_flapping'} ), $x->{'percent_state_change'}, ); } if ( $v > 3 ) { printf( $format, 'Check Type', ( $x->{'check_type'} ? 'PASSIVE' : 'ACTIVE' ), ); printf( "%-16s : %5.3fs\n%-16s : %5.3fs\n", 'Check Latency', $x->{'check_latency'}, 'Check Duration', $x->{'check_execution_time'}, ); if ( $x->{'service_description'} ) { printf( "%-16s : o %s w %s c %s u %s\n", 'Last State Times', pretty_date( $x->{'last_time_ok'} ), pretty_date( $x->{'last_time_warning'} ), pretty_date( $x->{'last_time_critical'} ), pretty_date( $x->{'last_time_unknown'} ), ); } else { printf( "%-16s : o %s d %s u %s\n", 'Last State Times', pretty_date( $x->{'last_time_up'} ), pretty_date( $x->{'last_time_down'} ), pretty_date( $x->{'last_time_unreachable'} ), ); } printf( $format, 'In Downtime', 'FIXME' ); printf( $format, 'Active Checks', pretty_yesno( $x->{'active_checks_enabled'} ), ); printf( $format, 'Passive Checks', pretty_yesno( $x->{'passive_checks_enabled'} ), ); printf( $format, 'Obsessing', pretty_yesno( $x->{'service_description'} ? $x->{'obsess_over_service'} : $x->{'obsess_over_host'} ), ); printf( $format, 'Notifications', pretty_yesno( $x->{'notifications_enabled'} ), ); printf( $format, 'Event Handler', pretty_yesno( $x->{'event_handler_enabled'} ), ); printf( $format, 'Flap Detection', pretty_yesno( $x->{'flap_detection_enabled'} ), ); for my $c ( @{ $x->{comments} // [] } ) { printf( $format, 'Comment', break_str( $c->{comment_data}, 19 ) ); } } } sub display_service { my ( $s, $tab ) = @_; my $v = $verbosity; my $flags = q{}; my $format = "%-16s : %s\n"; my $n_width; if ( $v < 3 ) { $n_width = 20 + 8 + 2; if ($tab) { $n_width += 8; } printf( '%-20.20s', $s->{service_description} ); if ( $v >= 2 ) { $n_width += 5; if ( $s->{'problem_has_been_acknowledged'} ) { $flags .= 'A'; } if ( $s->{'is_flapping'} ) { $flags .= 'F'; } if ( $s->{'notifications_enabled'} == 0 ) { $flags .= 'N'; } if ( $s->{'active_checks_enabled'} == 0 and $s->{'passive_checks_enabled'} == 1 ) { $flags .= 'P'; } if ( not( $s->{'active_checks_enabled'} or $s->{'passive_checks_enabled'} ) ) { $flags .= '!'; } $flags = sprintf( ' %-3s', $flags ); print with_colour( $flags, 'bold' ); } printf( ' %s', service_state($s) ); if ( $v >= 2 ) { printf( ' %d/%d', $s->{'current_attempt'}, $s->{'max_attempts'} ); $n_width += 4; } print ' '; print break_str( $s->{plugin_output}, $n_width ); } else { display_x_verbose( $s, $format ); } print "\n"; } sub display_host_services { my ( $host, $all ) = @_; my @services; my $h = $data->{hosts}->{$host}; @services = grep { filter_service($_) } @{ $data->{'services'}->{$host} }; if ( $all and @services and $verbosity < 3 ) { print "\n$host"; if ( $h->{'current_state'} ) { print q{ }; } if ( $h->{'current_state'} == 1 ) { print with_colour( 'DOWN', 'white on_red' ); } elsif ( $h->{'current_state'} == 2 ) { print with_colour( 'UNREACHABLE', 'white on_blue' ); } print "\n"; } foreach my $service (@services) { if ( $all and $verbosity < 3 ) { print "\t"; } elsif ($all) { print "\n"; } display_service( $service, $all ); } } sub display_host_single { my ($host) = @_; my $format = "%-16s : %s\n"; my $h = $data->{hosts}->{$host}; my $v = $verbosity; if ( $v < 3 ) { printf( '%-32.32s %s', $h->{host_name}, host_state($h) ); if ( $v >= 2 ) { printf( ' %d/%d', $h->{'current_attempt'}, $h->{'max_attempts'} ); } printf( ' %s', $h->{'plugin_output'} ); } else { display_x_verbose( $h, $format ); } print "\n"; } sub display_host { my ( $host, $all ) = @_; if ( $list_type eq 'h' ) { display_host_single($host); } else { display_host_services( $host, $all ); } } sub display_host_overview { my ($host) = @_; my ( $ok, $warn, $crit, $unk, $pend ) = (0) x 5; my $h = $data->{hosts}->{$host}; my @services = grep { filter_service($_) } @{ $data->{services}->{$host} }; for my $s (@services) { if ( $s->{has_been_checked} == 0 ) { $pend++; } else { given ( $s->{current_state} ) { when (0) { $ok++ } when (1) { $warn++ } when (2) { $crit++ } when (3) { $unk++ } } } } printf( '%-32.32s %s', $h->{host_name}, host_state($h) ); printf( ' %s %s %s %s %s', pretty_state( $ok, 'ok' ), pretty_state( $warn, 'warning' ), pretty_state( $crit, 'critical' ), pretty_state( $unk, 'unknown' ), pretty_state( $pend, 'pending' ), ); print "\n"; } sub display_overview { my ( $h_ok, $h_d, $h_u, $h_p, $s_ok, $s_w, $s_c, $s_u, $s_p ) = (0) x 9; for my $h (@list_hosts) { if ( $data->{hosts}{$h}{has_been_checked} == 0 ) { $h_p++; } else { given ( $data->{hosts}{$h}{current_state} ) { when (0) { $h_ok++ } when (1) { $h_d++ } when (2) { $h_u++ } } } for my $s ( grep { filter_service($_) } @{ $data->{services}{$h} } ) { if ( $s->{has_been_checked} == 0 ) { $s_p++; } else { given ( $s->{current_state} ) { when (0) { $s_ok++ } when (1) { $s_w++ } when (2) { $s_c++ } when (3) { $s_u++ } } } } } printf( "%-16.16s %4s\n", 'total hosts', $h_ok + $h_d + $h_u ); printf( "%-16.16s %s\n", 'up', pretty_state( $h_ok, 'ok' ) ); printf( "%-16.16s %s\n", 'down', pretty_state( $h_d, 'critical' ) ); printf( "%-16.16s %s\n", 'unreachable', pretty_state( $h_u, 'unknown' ) ); printf( "%-16.16s %s\n", 'pending', pretty_state( $h_p, 'pending' ) ); print "\n"; printf( "%-16.16s %4s\n", 'total services', $s_ok + $s_w + $s_c + $s_u ); printf( "%-16.16s %s\n", 'ok', pretty_state( $s_ok, 'ok' ) ); printf( "%-16.16s %s\n", 'warning', pretty_state( $s_w, 'warning' ) ); printf( "%-16.16s %s\n", 'critical', pretty_state( $s_c, 'critical' ) ); printf( "%-16.16s %s\n", 'unknown', pretty_state( $s_u, 'unknown' ) ); printf( "%-16.16s %s\n", 'pending', pretty_state( $s_p, 'pending' ) ); } sub dispatch_command { my $str = join( ';', @_ ); open( my $cmd_fh, '>', $rw_file ) or die( "Failed to open icinga command file ($rw_file): $!\n" . "Set --rw-file to change it\n" ); printf $cmd_fh ( '[%d] %s', time(), $str, ); close($cmd_fh) or warn("Failed to close $rw_file: $!\n"); } sub action_on_host { my ($host) = @_; my $tz = DateTime::TimeZone->new( name => 'local' ); given ($action) { when ('downtime') { my ( $start, $end, $duration, $comment, @opts ) = @action_args; my $strp = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S', time_zone => $tz->name, ); my $dt_start = $strp->parse_datetime($start); my $dt_end = $strp->parse_datetime($end); my $fixed = $duration ? 0 : 1; my $command = 'SCHEDULE_HOST_DOWNTIME'; my $addendum = q{}; $duration = parse_duration($duration); if ( 'children' ~~ \@opts ) { $command = 'SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME'; $addendum = ' and its children'; } if ( 'trigger_children' ~~ \@opts ) { $command = 'SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME'; $addendum = ' and its children (triggered)'; } dispatch_command( $command, $host, $dt_start->epoch, $dt_end->epoch, $fixed, 0, $duration, 'cli', $comment ); say "Scheduled host downtime for '$host'$addendum"; } when ('recheck') { dispatch_command( 'SCHEDULE_HOST_SVC_CHECKS', $host, time() ); say "Scheduled check of * on '$host'"; } when ('force_recheck') { dispatch_command( 'SCHEDULE_FORCED_HOST_SVC_CHECKS', $host, time() ); say "Scheduled forced check of * on '$host'"; } default { say STDERR "Cannot run action '${action}' on a host" } } } sub action_on_service { my ( $host, $service ) = @_; if ( not have_service( $host, $service ) ) { return; } my $tz = DateTime::TimeZone->new( name => 'local' ); given ($action) { when ('downtime') { my ( $start, $end, $duration, $comment, @opts ) = @action_args; my $strp = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S', time_zone => $tz->name, ); my $dt_start = $strp->parse_datetime($start); my $dt_end = $strp->parse_datetime($end); my $fixed = $duration ? 0 : 1; $duration = parse_duration($duration); dispatch_command( 'SCHEDULE_SVC_DOWNTIME', $host, $service, $dt_start->epoch, $dt_end->epoch, $fixed, 0, $duration, 'cli', $comment ); say "Scheduled service downtime for '$service' on '$host'"; } when ('recheck') { dispatch_command( 'SCHEDULE_SVC_CHECK', $host, $service, time() ); say "Scheduled check of '$service' on '$host'"; } when ('force_recheck') { dispatch_command( 'SCHEDULE_FORCED_SVC_CHECK', $host, $service, time() ); say "Scheduled forced check of '$service' on '$host'"; } when ('Acknowledge') { dispatch_command( 'ACKNOWLEDGE_SVC_PROBLEM', $host, $service, 2, 1, 1, 'cli', $action_args[0] ); say "Acknowledged $host/$service: $action_args[0]"; } default { say STDERR "Cannot run action '${action}' on a service" } } } GetOptions( 'a|action=s' => \$action, 'c|config=s' => \$config_file, 'C|no-colours' => sub { $colours = 0 }, 'f|status-file=s' => \$status_file, 'F|rw-file=s' => \$rw_file, 'g|hostgroup=s' => sub { push( @for_groups, split( /,/, $_[1] ) ) }, 'h|host=s' => sub { push( @for_hosts, split( /,/, $_[1] ) ) }, 'l|list=s' => sub { $list_type = substr( $_[1], 0, 1 ) }, 'm|match=s' => sub { $match_output = qr{$_[1]}i }, 'o|overview' => \$overview, 's|service=s' => sub { push( @for_services, split( /,/, $_[1] ) ) }, 'U|as-contact=s' => \$as_contact, 'v|verbose+' => \$verbosity, 'V|version' => sub { say "icli version $VERSION"; exit 0 }, 'x|cut-mode=s' => sub { $cut_mode = substr( $_[1], 0, 1 ) }, 'z|filter=s' => sub { push( @filters, split( /,/, $_[1] ) ) }, ) or die("Please see perldoc -F $0 for help\n"); read_objects( $status_file, \$data, 'icinga status_file', '--status-file' ); read_objects( $config_file, \$config, 'icinga object_cache_file', '--config' ); enhance_status(); parse_action(); compute_hostlist(); if ($overview) { if ( $list_type eq 'h' ) { for my $host (@list_hosts) { display_host_overview($host); } } else { display_overview(); } } elsif ( $list_type ~~ [qw[s h]] ) { for my $host (@list_hosts) { display_host( $host, ( @list_hosts > 1 ) ); } } elsif ( $list_type eq 'q' ) { display_queue(); } elsif ( $list_type eq 'd' ) { if ( exists $data->{hostdowntimes} ) { say "Host downtimes:"; if ( $verbosity == 1 ) { printf( "%-25.25s %-20.20s %-20.20s\n", 'Host', 'start', 'stop' ); } elsif ( $verbosity == 2 ) { printf( "%-25.25s %-20.20s %-20.20s %-17.17s %s\n", 'Host', 'start', 'stop', 'duration', 'comment' ); } foreach my $downtime ( @{ $data->{hostdowntimes} } ) { display_downtime($downtime); } } else { say "No host downtimes"; } if ( exists $data->{servicedowntimes} ) { say "\nService downtimes:"; if ( $verbosity == 1 ) { printf( "%-25.25s %-25.25s %-20.20s %-20.20s\n", 'Host', 'Service', 'start', 'stop' ); } elsif ( $verbosity == 2 ) { printf( "%-25.25s %-25.25s %-20.20s %-20.20s %-17.17s %s\n", 'Host', 'Service', 'start', 'stop', 'duration', 'comment' ); } foreach my $downtime ( @{ $data->{servicedowntimes} } ) { display_downtime($downtime); } } else { say "\nNo service downtimes"; } } elsif ($action) { foreach my $host (@list_hosts) { if ( not @list_services and not @filters ) { action_on_host($host); } elsif ( not @list_services and @filters ) { foreach my $service ( grep { filter_service($_) } @{ $data->{'services'}->{$host} } ) { action_on_service( $host, $service->{'service_description'} ); } } else { foreach my $service (@list_services) { action_on_service( $host, $service ); } } } } else { die("See perldoc -F $0\n"); } __END__ =head1 NAME B - Icinga Command Line Interface =head1 SYNOPSIS B [B<-v>|B<-vv>|B<-vvv>] [B<-z> I] [B<-h> I] [B<-g> I] [B<-s> I] [B<-c> I] [B<-C>] [B<-f> I] [B<-F> I] [B<-lh>|B<-ls>|B<-lq>|B<-ld>] [B<-a> I[B<:>I]] [I/I I<...>] =head1 VERSION version 0.48 =head1 DESCRIPTION B is a command line interface to B. By default it lists all services and their states. Note that when supplying custom config and status file paths, B also works with B. 100% compatibility is not guaranteed, however. B only works when executed on the host running the B daemon. To use it on another host, shell aliases (like C<< alias icli='ssh $icingahost icli' >>) or similar are recommended. You can narrow down the list of services you want displayed either using B (like C<< icli -z!o >>), the B<-h>/B<-s> arguments (C<< icli -h aneurysm -s Libraries,Websites >>) or commandline args (C<< icli aneurysm/{Libraries,Websites} >> with shell expansion). =head1 OPTIONS =over =item B<-a>|B<--action> I[:I] Run I on all matching hosts or services. I is a comma-separated list of action arguments and depends on the action in question. I may also be a one or two letter shortcut. The following actions are supported: =over =item a|acknowledge I Acknowledge service problems with string I. This creates a sticky acknwoledgment with notification and no expire time. The comment will not be persistent. Note: Acknowledgement of host problems is not yet supported. =item d|downtime I,I,I,I[,I] Schedule a non-triggered host or service (depending on the filter arguments) downtime. I and I are timestamps and must be formatted as YYYY-MM-DDTHH:MM:SS, where the "T" is literal. The timestamp is assumed to be in the same time zone as the system running icli. If I is 0 (zero), a fixed downtime between I and I is scheduled. Otherwise, a flexible downtime which will start between I and I and last I is scheduled. In this case, I must be a real number appended with an optional unit (s for seconds, m for minutes, h for hours, d for days, w for weeks). If no unit is specified, seconds are used. If a host is selected and I contains "children", a downtime for all of its children will be scheduled with the same parameters as the host's. Likewise, if I contains "trigger_children", a triggered downtime for all of the host's children will be scheduled. I refers to the downtime's comment field and must not contain the "," (comma) character. =item r|recheck Schedule an immediate recheck =item R|force_recheck Schedule a forced, immediate recheck =back =item B<-c>|B<--config> I Read config from I =item B<-C>|B<--no-colours> Disable colours in output =item B<-f>|B<--status-file> I Read the status from I =item B<-F>|B<--rw-file> I Use I as external commands file. =item B<-g>|B<--hostgroup> I Limit selection to hosts in I (comma separated list) =item B<-h>|B<--host> I Limit selection to I (comma separated list) =item B<-l>|B<--list> B|B|B|B List either services (the default) or hosts. Note that only the first character of the argument is checked, so C<< icli -lh >>, C<< icli -ls >> etc. are also fine. =item B<-m>|B<--match> I Limit selection to hosts/services whose plugin output matches I (perl regular expression, case insensitive. see L). =item B<-o>|B<--overview> Display "tactical overview"-style overview. By default (or when used with C<< -ls >>) the number of all hosts and services (both total and divided by their state) is shown. When used with C<< -lh >>, lists all hosts with the number of ok / warning / ... checks on each host. =item B<-U>|B<--as-contact> I Only operate on service visible to I. Doesn't work for B<-lh> yet, most useful for B<-ls>. NOTE: This is meant to help find out which services a user has access to. It is NOT intended as a way to restrict access and should never be used that way. =item B<-s>|B<--service> I Limit selection to I (comma separated lists). Can be combined with B<-h>/B<-g> to further narrow down the selection, but may also be used stand-alone. =item B<-v>|B<--verbose> Increase output verbosity. Can be combined up to B<-vvv> =item B<-V>|B<--version> Show version information =item B<-x>|B<--cut-mode> I What to do with lines which are too long for the terminal: Bothing, But off, line Break (with proper indentation). The default is line Breaks =item B<-z>|B<--filter> I Limit selection to hosts/services passing the filter. I is a comma separated list of filters, only hosts/services to which all filters apply are selected. See also L =back =head1 OUTPUT =head2 SERVICE LISTING This is the standard output method. It contains the following: =over =item * Service description =item * -v: Service Flags (Bcknowledged, Blapping, B

assive, Bno checks) =item * Service state (ok / warning / critical / unknown) =item * -v: Current attempt / Max attempts =item * Plugin output =back =head2 HOST LISTING Enabled with -ld =over =item * Host name =item * Host state (ok / down / unreachable) =item * -v: Current attempt / Max attempts =item * Plugin output =back =head2 QUEUE LISTING Enabled with -lq =over =item * Host name =item * Service name =item * Last check =item * Next check =back =head1 FILTER EXPRESSIONS Each expression can be negated with an exclamation mark, e.g. "!A" for all non-acknowledged services. =over =item B Check state has been acknowledged =item B The host this service belongs to is Down or Unreachable =item B Service is flapping between states =item B Notifications for this service are disabled =item B

Only passive checks are enabled. Note that B simply means that active checks are enabled, no matter the status of passive checks =item B Check state is soft. For instance, it used to be OK and is now critical, but has not reached its maximum number and caused a notification yet. Good to find (or ignore) service problems which might just be temporary, non-critical glitches. =item B Host/Service state is OK =item B Service state is Warning =item B Service state is Critical =item B Service state is Unknown =item B

Host or service state is Pending =item B Host state is Down =item B Host state is Unreachable =back =head1 EXIT STATUS Zero, unless errors occured. =head1 CONFIGURATION None. =head1 DEPENDENCIES =over =item * autodie (included with perl >= 5.10.1) =item * DateTime =item * DateTime::Format::Strptime =item * DateTime::TimeZone =item * Term::Size =back =head1 BUGS AND LIMITATIONS It is probably not clear from the documentation when an action will operate on hosts and when on services. Note that this software is not yet stable. Command line options may be changed / removed and thus break backwards compatibility at any time. =head2 REPORTING BUGS Either via mail to Ederf@finalrewind.orgE or on Ehttp://github.com/derf/icinga-cli/issuesE. =head1 EXAMPLES =over =item C<< icli -r -s 'APT Updates' >> Schedule a check of the "APT Updates" service on all hosts having it =item C<< icli -lq -h aneurysm -g chaosdorf-hosts >> List check queue for all hosts in the hostgroup "chaosdorf-hosts", plus the host aneurysm =item C<< icli -z!o,!A,!S,!D >> Show all service problems which are already hard states and have not yet been acknowledged. Also weed out problem services on hosts which are down anyways =back =head1 AUTHOR Copyright (C) 2010 by Daniel Friesel Ederf@finalrewind.orgE =head1 LICENSE 0. You just DO WHAT THE FUCK YOU WANT TO. icli-0.48/lib/000077500000000000000000000000001234665467000131505ustar00rootroot00000000000000icli-0.48/lib/App/000077500000000000000000000000001234665467000136705ustar00rootroot00000000000000icli-0.48/lib/App/Icli.pm000066400000000000000000000012431234665467000151060ustar00rootroot00000000000000package App::Icli; use strict; use warnings; use 5.010; our $VERSION = '0.48'; 1; __END__ =head1 NAME App::Icli - Icinga Command Line Interface =head1 SYNOPSIS None. =head1 VERSION version 0.48 =head1 DESCRIPTION This is a transitional module and does not yet offer any functionality. Please refer to icli(1) and App::Icli::ConfigData(3pm) for documentation. =head1 METHODS None. =head1 DIAGNOSTICS None. =head1 BUGS AND LIMITATIONS None. =head1 DEPENDENCIES None. =head1 SEE ALSO App::Icli::ConfigData(3pm) =head1 AUTHOR Copyright (C) 2014 by Daniel Friesel Ederf@finalrewind.orgE =head1 LICENSE 0. You just DO WHAT THE FUCK YOU WANT TO. icli-0.48/t/000077500000000000000000000000001234665467000126455ustar00rootroot00000000000000icli-0.48/t/00-compile.t000077500000000000000000000001721234665467000147020ustar00rootroot00000000000000#!/usr/bin/env perl use strict; use warnings; use 5.010; use Test::More; use Test::Compile; all_pl_files_ok('bin/icli'); icli-0.48/t/10-pod-coverage.t000077500000000000000000000001671234665467000156320ustar00rootroot00000000000000#!/usr/bin/env perl use strict; use warnings; use 5.010; use Test::More; use Test::Pod; all_pod_files_ok('bin/icli'); icli-0.48/t/50-icli.at000066400000000000000000000110041234665467000143310ustar00rootroot00000000000000#!/usr/bin/env perl use strict; use warnings; use 5.010; # We need commas in our qw list, they're not accidental no warnings 'qw'; use Test::Command tests => (36*3 + 4); my $icli = 'bin/icli -f t/in/status.dat -c t/in/objects.cache -xn'; my $EMPTY = q{}; my $cmd = Test::Command->new(cmd => $icli); sub run_filter_test { my ($prefix, $run, $filter) = @_; my $file = $filter; $file =~ tr/,//d; $file =~ tr/!/./; $cmd = Test::Command->new(cmd => "$icli $run -z $filter"); $cmd->exit_is_num(0); $cmd->stdout_is_file("t/out/${prefix}_${file}"); $cmd->stderr_is_eq($EMPTY); } $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/standard'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -V"); $cmd->exit_is_num(0); $cmd->stdout_like(qr{ ^ icli \s version \s \S+ $ }x); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh -g local"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/hosts_group_local'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh -z!o"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/hosts_short'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -h steel-vpn,steel.derf0.net"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/host_steel_steel'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_hosts'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh -C"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_hosts_nc'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_services'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -C"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_services_nc'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -g local"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/services_group_local'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh -g derf-remote,http-servers"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/hosts_group_reduce'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -z!o"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/services_short'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -h steel.derf0.net"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_services_single'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lh -v"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_hosts_v'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -ls -v"); $cmd->exit_is_num(0); $cmd->stdout_is_file('t/out/list_services_v'); $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lq"); $cmd->exit_is_num(0); # no stdout test, fails with timezones != GMT+1 $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -lq -h aneurysm"); $cmd->exit_is_num(0); # no stdout test, fails with timezones != GMT+1 $cmd->stderr_is_eq($EMPTY); $cmd = Test::Command->new(cmd => "$icli -g invalid"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_is_eq("Unknown hostgroup: invalid\n"); $cmd = Test::Command->new(cmd => "$icli -h invalid"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_is_eq("Unknown host: invalid\n"); $cmd = Test::Command->new(cmd => "$icli -lh -h invalid"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_is_eq("Unknown host: invalid\n"); $cmd = Test::Command->new(cmd => "$icli -l INVALID"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_is_eq("See perldoc -F bin/icli\n"); for my $filter (qw( A !A,!o c D !o !o,!A,!D S u w )) { run_filter_test('filter', q{}, $filter); } for my $filter (qw( d !o S S,!x,!A x )) { run_filter_test('h_filter', '-lh', $filter); } $icli = "bin/icli -f t/in/status.dat.weird.1 -c t/in/objects.cache"; $cmd = Test::Command->new(cmd => $icli); $cmd->exit_is_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_is_eq("Unknown field in t/in/status.dat.weird.1: bork\n"); $icli = "bin/icli -f t/in/status.dat.weird.2 -c t/in/objects.cache"; $cmd = Test::Command->new(cmd => "$icli -lh -h alpha"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq($EMPTY); $cmd->stderr_like(qr{^Unknown host state: 23}s); $cmd = Test::Command->new(cmd => "$icli -ls -h aneurysm"); $cmd->exit_isnt_num(0); $cmd->stdout_is_eq('Disk: / '); $cmd->stderr_like(qr{^Unknown service state: 23}s); icli-0.48/t/in/000077500000000000000000000000001234665467000132535ustar00rootroot00000000000000icli-0.48/t/in/objects.cache000066400000000000000000001500571234665467000157010ustar00rootroot00000000000000######################################## # ICINGA OBJECT CACHE FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY ICINGA. DO NOT MODIFY THIS FILE! # # Created: Wed Jul 28 00:17:06 2010 ######################################## define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name never alias Never } define command { command_name check-fast-alive command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$' } define command { command_name check-host-alive command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 } define command { command_name check-host-alive_4 command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 } define command { command_name check-nfs command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3 } define command { command_name check-printer-alive command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 } define command { command_name check-printer-alive_4 command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 } define command { command_name check-router-alive command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 } define command { command_name check-router-alive_4 command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 } define command { command_name check-rpc command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$' } define command { command_name check-switch-alive command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 } define command { command_name check-switch-alive_4 command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4 } define command { command_name check_all_disks command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' } define command { command_name check_apt command_line /usr/lib/nagios/plugins/check_apt } define command { command_name check_apt_distupgrade command_line /usr/lib/nagios/plugins/check_apt -d } define command { command_name check_breeze command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' } define command { command_name check_by_ssh_fc command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -t 50 '$ARG1$' } define command { command_name check_by_ssh_fc_r command_line /usr/lib/nagios/plugins/check_by_ssh -H '$ARG1$' -t 50 '$ARG2$' } define command { command_name check_compaq_thermalCondition command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status " } define command { command_name check_cups command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 } define command { command_name check_cups_4 command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 } define command { command_name check_dhcp command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' } define command { command_name check_dhcp_interface command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' } define command { command_name check_dig command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' } define command { command_name check_disk command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -p '$ARG3$' } define command { command_name check_disk_smb command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' } define command { command_name check_disk_smb_host command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' } define command { command_name check_disk_smb_host_user command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' } define command { command_name check_disk_smb_user command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' -w '$ARG5$' -c '$ARG6$' } define command { command_name check_disk_smb_workgroup command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' } define command { command_name check_disk_smb_workgroup_host command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' } define command { command_name check_disk_smb_workgroup_host_user command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$' } define command { command_name check_disk_smb_workgroup_user command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$' } define command { command_name check_dns command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$' } define command { command_name check_flexlm command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$' } define command { command_name check_ftp command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' } define command { command_name check_ftp_4 command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4 } define command { command_name check_hpjd command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public } define command { command_name check_http command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' } define command { command_name check_http2 command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' } define command { command_name check_http2_4 command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 } define command { command_name check_http_4 command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 } define command { command_name check_httpname command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' } define command { command_name check_httpname_4 command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 } define command { command_name check_https command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' } define command { command_name check_https_4 command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 } define command { command_name check_https_auth command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' } define command { command_name check_https_auth_4 command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 } define command { command_name check_https_auth_hostname command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' } define command { command_name check_https_auth_hostname_4 command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 } define command { command_name check_https_hostname command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' } define command { command_name check_https_hostname_4 command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 } define command { command_name check_ifoperstatus_ifdescr command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$' } define command { command_name check_ifoperstatus_ifindex command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$' } define command { command_name check_ifstatus command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' } define command { command_name check_ifstatus_exclude command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$' } define command { command_name check_imap command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' } define command { command_name check_imap_4 command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4 } define command { command_name check_ircd command_line /usr/lib/nagios/plugins/check_ircd -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' } define command { command_name check_ldap command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' } define command { command_name check_ldap_4 command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4 } define command { command_name check_ldaps command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' } define command { command_name check_ldaps_4 command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4 } define command { command_name check_load command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$' } define command { command_name check_mail_no_relay command_line /usr/local/lib/nagios/plugins/check_mail_no_relay '$HOSTADDRESS$' } define command { command_name check_mailq_exim command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim } define command { command_name check_mailq_postfix command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix } define command { command_name check_mailq_qmail command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail } define command { command_name check_mailq_sendmail command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail } define command { command_name check_mrtg command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$' } define command { command_name check_mysql command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' } define command { command_name check_mysql_cmdlinecred command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' } define command { command_name check_mysql_database command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' } define command { command_name check_netapp_cpuload command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD " } define command { command_name check_netapp_numdisks command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l "" } define command { command_name check_netapp_uptime command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is" } define command { command_name check_netware_15load command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90 } define command { command_name check_netware_1load command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90 } define command { command_name check_netware_5load command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90 } define command { command_name check_netware_abend command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30 } define command { command_name check_netware_logins command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$' } define command { command_name check_nntp command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' } define command { command_name check_nntp_4 command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4 } define command { command_name check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ } define command { command_name check_nrpe_1arg command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } define command { command_name check_nscp command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' } define command { command_name check_nt command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$' } define command { command_name check_ntp command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' } define command { command_name check_ntp_ntpq command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 } define command { command_name check_nwstat_conns command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$' } define command { command_name check_nwstat_csprocs command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$' } define command { command_name check_nwstat_dsdb command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB } define command { command_name check_nwstat_ltch command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$' } define command { command_name check_nwstat_puprb command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$' } define command { command_name check_nwstat_vol_k command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$' } define command { command_name check_nwstat_vol_p command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$' } define command { command_name check_pgsql command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' } define command { command_name check_pgsql_4 command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4 } define command { command_name check_ping command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' } define command { command_name check_ping_4 command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4 } define command { command_name check_pop command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' } define command { command_name check_pop_4 command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4 } define command { command_name check_procs command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' } define command { command_name check_procs_httpd command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd } define command { command_name check_procs_zombie command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z } define command { command_name check_quake command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$' } define command { command_name check_radius command_line /usr/lib/nagios/plugins/check_radius -F /etc/radiusclient/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$' } define command { command_name check_rbl command_line /usr/local/lib/nagios/plugins/check_rbl -H '$HOSTNAME$' -t 30 -c 1 -w 1 -s dnsbl.ahbl.org -s cbl.anti-spam.org.cn -s cblplus.anti-spam.org.cn -s cblless.anti-spam.org.cn -s cdl.anti-spam.org.cn -s cbl.abuseat.org -s dnsbl.cyberlogic.net -s bl.deadbeef.com -s t1.dnsbl.net.au -s spamtrap.drbl.drand.net -s spamsources.fabel.dk -s 0spam.fusionzero.com -s dnsbl.isoc.bg -s mail-abuse.blacklist.jippg.org -s korea.services.net -s karmasphere.email-sender.dnsbl.karmasphere.com -s spamguard.leadmon.net -s ix.dnsbl.manitu.net -s relays.nether.net -s dnsbl.njabl.org -s bhnc.njabl.org -s no-more-funn.moensted.dk -s rbl.orbitrbl.com -s psbl.surriel.com -s dyna.spamrats.com -s noptr.spamrats.com -s spam.spamrats.com -s dnsbl.sorbs.net -s dul.dnsbl.sorbs.net -s old.spam.dnsbl.sorbs.net -s problems.dnsbl.sorbs.net -s safe.dnsbl.sorbs.net -s spam.dnsbl.sorbs.net -s bl.spamcannibal.org -s bl.spamcop.net -s pbl.spamhaus.org -s sbl.spamhaus.org -s xbl.spamhaus.org -s ubl.unsubscore.com -s dnsbl-1.uceprotect.net -s dnsbl-2.uceprotect.net -s dnsbl-3.uceprotect.net -s db.wpbl.info } define command { command_name check_real command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 } define command { command_name check_real_url command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$' } define command { command_name check_simap command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S } define command { command_name check_simap_4 command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4 } define command { command_name check_smtp command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' } define command { command_name check_smtp_4 command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4 } define command { command_name check_snmp_bgpstate command_line /usr/lib/nagios/plugins/check_bgpstate '$HOSTADDRESS$' -c '$ARG1$' } define command { command_name check_spop command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S } define command { command_name check_spop_4 command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4 } define command { command_name check_squid command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' } define command { command_name check_squid_4 command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' -4 } define command { command_name check_ssh command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$' } define command { command_name check_ssh_4 command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$' } define command { command_name check_ssh_no_password_login command_line /usr/local/lib/nagios/plugins/check_ssh_no_password_login -H '$HOSTADDRESS$' } define command { command_name check_ssh_port command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$' } define command { command_name check_ssh_port_4 command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$' } define command { command_name check_ssmtp command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' } define command { command_name check_ssmtp_4 command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4 } define command { command_name check_tcp command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' } define command { command_name check_tcp_4 command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 } define command { command_name check_telnet command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 } define command { command_name check_telnet_4 command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4 } define command { command_name check_time command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' } define command { command_name check_udp command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' } define command { command_name check_udp_4 command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 } define command { command_name check_unreal command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8 } define command { command_name check_users command_line /usr/lib/nagios/plugins/check_users -w '$ARG1$' -c '$ARG2$' } define command { command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Icinga *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } define command { command_name notify-none command_line /bin/true } define command { command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Icinga *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } define command { command_name process-host-perfdata command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /var/lib/icinga/host-perfdata.out } define command { command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/lib/icinga/service-perfdata.out } define command { command_name return-critical command_line /usr/lib/nagios/plugins/check_dummy 2 } define command { command_name return-numeric command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$' } define command { command_name return-ok command_line /usr/lib/nagios/plugins/check_dummy 0 } define command { command_name return-unknown command_line /usr/lib/nagios/plugins/check_dummy 3 } define command { command_name return-warning command_line /usr/lib/nagios/plugins/check_dummy 1 } define command { command_name snmp_cpustats command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%' } define command { command_name snmp_disk command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space' } define command { command_name snmp_disk2 command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$' } define command { command_name snmp_load command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load } define command { command_name snmp_mem command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$': } define command { command_name snmp_mem2 command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' } define command { command_name snmp_mem3 command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' } define command { command_name snmp_procname command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$' } define command { command_name snmp_procs command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes } define command { command_name snmp_swap command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$': } define command { command_name snmp_swap2 command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' } define command { command_name snmp_swap3 command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$' } define command { command_name snmp_tcpopen command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$' } define command { command_name snmp_tcpstats command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats' } define command { command_name snmp_users command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers -w :'$ARG2$' -c :'$ARG3$' -l users } define command { command_name ssh_check_apt command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_apt' } define command { command_name ssh_disk command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' } define command { command_name ssh_disk_4 command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' -4 } define command { command_name traffic_average command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' } define contactgroup { contactgroup_name admins alias Nagios Administrators members derf } define hostgroup { hostgroup_name derf-remote alias private remote servers members steel.derf0.net } define hostgroup { hostgroup_name ftp-servers alias FTP Servers members aneurysm } define hostgroup { hostgroup_name http-servers alias HTTP Servers members steel.derf0.net,aneurysm,alpha } define hostgroup { hostgroup_name local alias Local Network members alpha,aneurysm } define contact { contact_name derf alias Derf service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email derf@derf.homelinux.org host_notifications_enabled 1 service_notifications_enabled 1 can_submit_commands 1 retain_status_information 1 retain_nonstatus_information 1 } define host { host_name alpha alias fritzbox address 192.168.0.1 check_command check-host-alive contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,u,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define host { host_name aneurysm alias aneurysm address 192.168.0.14 check_command check-host-alive contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,u,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 icon_image base/debian.png icon_image_alt Debian GNU/Linux vrml_image debian.png statusmap_image base/debian.gd2 notes Debian GNU/Linux servers retain_status_information 1 retain_nonstatus_information 1 } define host { host_name steel-vpn alias steel-vpn address 10.200.200.2 parents alpha check_command check-host-alive contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,u,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define host { host_name steel.derf0.net alias steel address 195.191.196.84 parents alpha check_command check-host-alive contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 10 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_host 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,u,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 icon_image base/debian.png icon_image_alt Debian GNU/Linux vrml_image debian.png statusmap_image base/debian.gd2 notes Debian GNU/Linux servers retain_status_information 1 retain_nonstatus_information 1 } define service { host_name alpha service_description HTTP check_period 24x7 check_command check_http contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Disk: / check_period 24x7 check_command check_disk!20%!10%!/dev/mapper/aneurysm-root contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Disk: /boot check_period 24x7 check_command check_disk!20%!10%!/dev/sda1 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Disk: /data check_period 24x7 check_command check_disk!20%!10%!/dev/mapper/misc-data contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Disk: /home check_period 24x7 check_command check_disk!20%!10%!/dev/mapper/aneurysm-home contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description HTTP check_period 24x7 check_command check_http contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description HTTPS check_period 24x7 check_command check_https contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Load check_period 24x7 check_command check_load!15!10!5!30!25!20 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description Processes check_period 24x7 check_command check_procs!150!200 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description SMTP check_period 24x7 check_command check_smtp_4 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description SSH check_period 24x7 check_command check_ssh contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description SSH password login disabled check_period 24x7 check_command check_ssh_no_password_login contact_groups admins notification_period 24x7 initial_state o check_interval 15.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name aneurysm service_description System Backup check_period 24x7 check_command return-unknown contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 1 is_volatile 1 parallelize_check 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 640800 check_freshness 1 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel-vpn service_description SMTP check_period 24x7 check_command check_smtp_4 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Disk: lv-home check_period 24x7 check_command check_by_ssh_fc!check_home contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Disk: lv-root check_period 24x7 check_command check_by_ssh_fc!check_root contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Disk: vda1 check_period 24x7 check_command check_by_ssh_fc!check_vda1 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description HTTP check_period 24x7 check_command check_http contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Load check_period 24x7 check_command check_by_ssh_fc!check_load contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Mail Queue check_period 24x7 check_command check_by_ssh_fc!check_mailq_postfix contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description No open relay check_period 24x7 check_command check_mail_no_relay contact_groups admins notification_period 24x7 initial_state o check_interval 60.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Not Blacklisted check_period 24x7 check_command check_rbl contact_groups admins notification_period 24x7 initial_state o check_interval 60.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Processes check_period 24x7 check_command check_by_ssh_fc!check_procs contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description SMTP check_period 24x7 check_command check_smtp_4 contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description SSH check_period 24x7 check_command check_ssh contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description SSH password login disabled check_period 24x7 check_command check_ssh_no_password_login contact_groups admins notification_period 24x7 initial_state o check_interval 15.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } define service { host_name steel.derf0.net service_description Users check_period 24x7 check_command check_by_ssh_fc!check_users contact_groups admins notification_period 24x7 initial_state o check_interval 5.000000 retry_interval 1.000000 max_check_attempts 4 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options u,w,c,r notifications_enabled 1 notification_interval 0.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 } icli-0.48/t/in/status.dat000066400000000000000000001251171234665467000152770ustar00rootroot00000000000000######################################## # ICINGA STATUS FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY ICINGA. DO NOT MODIFY THIS FILE! ######################################## info { created=1280306916 version=1.0.2 last_update_check=0 update_available=0 last_version= new_version= } programstatus { modified_host_attributes=0 modified_service_attributes=0 icinga_pid=15926 daemon_mode=1 program_start=1280269026 last_command_check=1280306915 last_log_rotation=0 enable_notifications=1 active_service_checks_enabled=1 passive_service_checks_enabled=1 active_host_checks_enabled=1 passive_host_checks_enabled=1 enable_event_handlers=1 obsess_over_services=0 obsess_over_hosts=0 check_service_freshness=1 check_host_freshness=0 enable_flap_detection=1 enable_failure_prediction=1 process_performance_data=0 global_host_event_handler= global_service_event_handler= next_comment_id=17 next_downtime_id=1 next_event_id=834 next_problem_id=397 next_notification_id=116 total_external_command_buffer_slots=4096 used_external_command_buffer_slots=0 high_external_command_buffer_slots=1 active_scheduled_host_check_stats=3,15,42 active_ondemand_host_check_stats=0,0,0 passive_host_check_stats=0,0,0 active_scheduled_service_check_stats=11,74,226 active_ondemand_service_check_stats=0,0,0 passive_service_check_stats=0,0,0 cached_host_check_stats=0,0,0 cached_service_check_stats=0,0,0 external_command_stats=0,0,0 parallel_host_check_stats=3,15,42 serial_host_check_stats=0,0,0 event_profiling_enabled=0 } hoststatus { host_name=alpha modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=0 check_execution_time=0.015 check_latency=0.230 check_type=0 current_state=1 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 plugin_output=PING OK - Packet loss = 0%, RTA = 0.73 ms long_plugin_output= performance_data=rta=0.731000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306906 next_check=1280307216 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1279063569 last_hard_state_change=1279063569 last_time_up=1280306916 last_time_down=0 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=0 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=aneurysm modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.008 check_type=0 current_state=2 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 plugin_output=PING OK - Packet loss = 0%, RTA = 0.10 ms long_plugin_output= performance_data=rta=0.099000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306846 next_check=1280307156 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1279063581 last_hard_state_change=1279063581 last_time_up=1280306856 last_time_down=0 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=108 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=steel-vpn modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=0 should_be_scheduled=1 check_execution_time=0.032 check_latency=0.089 check_type=0 current_state=0 last_hard_state=0 last_event_id=831 current_event_id=832 current_problem_id=0 last_problem_id=396 plugin_output=PING OK - Packet loss = 0%, RTA = 18.01 ms long_plugin_output= performance_data=rta=18.010000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306726 next_check=1280307036 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1280280076 last_hard_state_change=1279704469 last_time_up=1280306736 last_time_down=1280280006 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=73 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=steel.derf0.net modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.030 check_latency=0.183 check_type=0 current_state=0 last_hard_state=0 last_event_id=770 current_event_id=771 current_problem_id=0 last_problem_id=365 plugin_output=PING OK - Packet loss = 0%, RTA = 16.75 ms long_plugin_output= performance_data=rta=16.750999ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306896 next_check=1280307206 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1280221316 last_hard_state_change=1279124213 last_time_up=1280306906 last_time_down=1280221286 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=0 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=alpha service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.032 check_latency=0.185 check_type=0 current_state=0 last_hard_state=0 last_event_id=415 current_event_id=416 current_problem_id=0 last_problem_id=206 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279497626 last_hard_state_change=1279063569 last_time_ok=1280306762 last_time_warning=0 last_time_unknown=0 last_time_critical=1279497566 plugin_output=HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time long_plugin_output= performance_data=time=0.018710s;;;0.000000 size=2333B;;;0 last_check=1280306762 next_check=1280307062 check_options=0 current_notification_number=0 current_notification_id=1 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: / modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/aneurysm-root check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.241 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279728981 last_hard_state_change=1279728981 last_time_ok=1280306781 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: / 4846 MB (75% inode=90%): long_plugin_output= performance_data=/=1539MB;5382;6055;0;6728 last_check=1280306781 next_check=1280307081 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /boot modified_attributes=0 check_command=check_disk!20%!10%!/dev/sda1 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.013 check_latency=0.196 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729053 last_hard_state_change=1279729053 last_time_ok=1280306641 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /boot 119 MB (53% inode=99%): long_plugin_output= performance_data=/boot=103MB;188;211;0;235 last_check=1280306641 next_check=1280306941 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /data modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/misc-data check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.012 check_latency=0.112 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729125 last_hard_state_change=1279729125 last_time_ok=1280306625 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /data 60091 MB (48% inode=99%): long_plugin_output= performance_data=/data=63760MB;99080;111465;0;123851 last_check=1280306625 next_check=1280306925 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /home modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/aneurysm-home check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.128 check_latency=0.192 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729196 last_hard_state_change=1279729196 last_time_ok=1280306696 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /home 58378 MB (59% inode=98%): long_plugin_output= performance_data=/home=40563MB;83389;93813;0;104237 last_check=1280306696 next_check=1280306996 check_options=0 current_notification_number=0 current_notification_id=109 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.191 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063677 last_hard_state_change=1279063677 last_time_ok=1280306898 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time long_plugin_output= performance_data=time=0.000952s;;;0.000000 size=7467B;;;0 last_check=1280306898 next_check=1280307198 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=HTTPS modified_attributes=0 check_command=check_https check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.031 check_latency=0.211 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063785 last_hard_state_change=1279063785 last_time_ok=1280306766 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time long_plugin_output= performance_data=time=0.017666s;;;0.000000 size=7467B;;;0 last_check=1280306766 next_check=1280307066 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Load modified_attributes=0 check_command=check_load!15!10!5!30!25!20 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.012 check_latency=0.098 check_type=0 current_state=2 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729231 last_hard_state_change=1279729231 last_time_ok=1280306731 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=OK - load average: 0.17, 0.13, 0.09 long_plugin_output= performance_data=load1=0.170;15.000;30.000;0; load5=0.130;10.000;25.000;0; load15=0.090;5.000;20.000;0; last_check=1280306731 next_check=1280307031 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Processes modified_attributes=0 check_command=check_procs!150!200 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.037 check_latency=0.154 check_type=0 current_state=3 last_hard_state=0 last_event_id=765 current_event_id=766 current_problem_id=0 last_problem_id=362 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1280167248 last_hard_state_change=1279729299 last_time_ok=1280306748 last_time_warning=1280167188 last_time_unknown=0 last_time_critical=0 plugin_output=PROCS OK: 118 processes long_plugin_output= performance_data= last_check=1280306748 next_check=1280307048 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.051 check_latency=0.091 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279136208 last_hard_state_change=1279136208 last_time_ok=1280306616 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SMTP OK - 0.038 sec. response time long_plugin_output= performance_data=time=0.037631s;;;0.000000 last_check=1280306616 next_check=1280306916 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SSH modified_attributes=0 check_command=check_ssh check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.030 check_latency=0.250 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063689 last_hard_state_change=1279063689 last_time_ok=1280306913 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) long_plugin_output= performance_data= last_check=1280306913 next_check=1280307213 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SSH password login disabled modified_attributes=0 check_command=check_ssh_no_password_login check_period=24x7 notification_period=24x7 check_interval=15.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.144 check_latency=0.049 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279753339 last_hard_state_change=1279753339 last_time_ok=1280306868 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=Password login disabled (server accepts publickey) long_plugin_output= performance_data= last_check=1280306868 next_check=1280307768 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=System Backup modified_attributes=0 check_command=return-unknown check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=0 should_be_scheduled=0 check_execution_time=0.000 check_latency=0.579 check_type=1 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=1 state_type=1 last_state_change=1279065910 last_hard_state_change=1279065910 last_time_ok=1280288856 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=/dev/mapper/misc-backup 109G 40G 69G 37% /backup long_plugin_output= performance_data= last_check=1280288856 next_check=0 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=0 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel-vpn service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.093 check_latency=0.134 check_type=0 current_state=0 last_hard_state=0 last_event_id=830 current_event_id=833 current_problem_id=0 last_problem_id=395 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1280280337 last_hard_state_change=1280280337 last_time_ok=1280306737 last_time_warning=0 last_time_unknown=0 last_time_critical=1280280037 plugin_output=SMTP OK - 0.080 sec. response time long_plugin_output= performance_data=time=0.079648s;;;0.000000 last_check=1280306737 next_check=1280307037 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: lv-home modified_attributes=0 check_command=check_by_ssh_fc!check_home check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.807 check_latency=0.116 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279710033 last_hard_state_change=1279710033 last_time_ok=1280306733 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /home 20207 MB (95% inode=99%): long_plugin_output= performance_data=/home=1049MB;17915;20154;0;22394 last_check=1280306733 next_check=1280307033 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: lv-root modified_attributes=0 check_command=check_by_ssh_fc!check_root check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.808 check_latency=0.110 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279710107 last_hard_state_change=1279710107 last_time_ok=1280306684 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: / 5330 MB (85% inode=90%): long_plugin_output= performance_data=/=902MB;5253;5910;0;6567 last_check=1280306684 next_check=1280306984 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: vda1 modified_attributes=0 check_command=check_by_ssh_fc!check_vda1 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.813 check_latency=0.212 check_type=0 current_state=0 last_hard_state=0 last_event_id=663 current_event_id=726 current_problem_id=0 last_problem_id=341 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848500 last_hard_state_change=1279848500 last_time_ok=1280306900 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848200 plugin_output=DISK OK - free space: /boot 190 MB (88% inode=99%): long_plugin_output= performance_data=/boot=25MB;181;204;0;227 last_check=1280306900 next_check=1280307200 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.054 check_latency=0.147 check_type=0 current_state=0 last_hard_state=0 last_event_id=659 current_event_id=736 current_problem_id=0 last_problem_id=337 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848533 last_hard_state_change=1279848533 last_time_ok=1280306633 last_time_warning=1279136633 last_time_unknown=0 last_time_critical=1279848233 plugin_output=HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time long_plugin_output= performance_data=time=0.040092s;;;0.000000 size=668B;;;0 last_check=1280306633 next_check=1280306933 check_options=0 current_notification_number=0 current_notification_id=6 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Load modified_attributes=0 check_command=check_by_ssh_fc!check_load check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.833 check_latency=0.202 check_type=0 current_state=0 last_hard_state=0 last_event_id=662 current_event_id=725 current_problem_id=0 last_problem_id=340 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848499 last_hard_state_change=1279848499 last_time_ok=1280306899 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848199 plugin_output=OK - load average: 0.00, 0.00, 0.00 long_plugin_output= performance_data=load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; last_check=1280306899 next_check=1280307199 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Mail Queue modified_attributes=0 check_command=check_by_ssh_fc!check_mailq_postfix check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.918 check_latency=0.061 check_type=0 current_state=0 last_hard_state=0 last_event_id=618 current_event_id=703 current_problem_id=0 last_problem_id=310 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848399 last_hard_state_change=1279848399 last_time_ok=1280306799 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848099 plugin_output=OK: mailq reports queue is empty long_plugin_output= performance_data=unsent=0;10;20;0 last_check=1280306799 next_check=1280307099 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=No open relay modified_attributes=0 check_command=check_mail_no_relay check_period=24x7 notification_period=24x7 check_interval=60.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.314 check_latency=0.159 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279664220 last_hard_state_change=1279664220 last_time_ok=1280306820 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=NORELAY OK: <** 554 5.7.1 : Relay access denied long_plugin_output= performance_data= last_check=1280306820 next_check=1280310420 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Not Blacklisted modified_attributes=0 check_command=check_rbl check_period=24x7 notification_period=24x7 check_interval=60.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=1.202 check_latency=0.098 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279819422 last_hard_state_change=1279819422 last_time_ok=1280305722 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 long_plugin_output= performance_data=servers=0;1;1 time=1s;; last_check=1280305722 next_check=1280309322 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Processes modified_attributes=0 check_command=check_by_ssh_fc!check_procs check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.848 check_latency=0.164 check_type=0 current_state=0 last_hard_state=0 last_event_id=610 current_event_id=698 current_problem_id=0 last_problem_id=304 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848352 last_hard_state_change=1279848352 last_time_ok=1280306752 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848052 plugin_output=PROCS OK: 82 processes long_plugin_output= performance_data= last_check=1280306752 next_check=1280307052 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.135 check_latency=0.063 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279136421 last_hard_state_change=1279136421 last_time_ok=1280306721 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SMTP OK - 0.122 sec. response time long_plugin_output= performance_data=time=0.121732s;;;0.000000 last_check=1280306721 next_check=1280307021 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SSH modified_attributes=0 check_command=check_ssh check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.064 check_latency=0.239 check_type=0 current_state=0 last_hard_state=0 last_event_id=617 current_event_id=710 current_problem_id=0 last_problem_id=309 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848437 last_hard_state_change=1279848437 last_time_ok=1280306837 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848137 plugin_output=SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) long_plugin_output= performance_data= last_check=1280306837 next_check=1280307137 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SSH password login disabled modified_attributes=0 check_command=check_ssh_no_password_login check_period=24x7 notification_period=24x7 check_interval=15.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.321 check_latency=0.025 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279753527 last_hard_state_change=1279753527 last_time_ok=1280306127 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=Password login disabled (server accepts publickey) long_plugin_output= performance_data= last_check=1280306127 next_check=1280307027 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Users modified_attributes=0 check_command=check_by_ssh_fc!check_users check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.840 check_latency=0.220 check_type=0 current_state=1 last_hard_state=0 last_event_id=629 current_event_id=707 current_problem_id=0 last_problem_id=317 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848429 last_hard_state_change=1279848429 last_time_ok=1280306829 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848129 plugin_output=USERS OK - 0 users currently logged in long_plugin_output= performance_data=users=0;5;10;0 last_check=1280306829 next_check=1280307129 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } contactstatus { contact_name=derf modified_attributes=0 modified_host_attributes=0 modified_service_attributes=0 host_notification_period=24x7 service_notification_period=24x7 last_host_notification=1280163970 last_service_notification=1280179596 host_notifications_enabled=1 service_notifications_enabled=1 } icli-0.48/t/in/status.dat.weird.1000066400000000000000000000000301234665467000165310ustar00rootroot00000000000000bork { something=ae } icli-0.48/t/in/status.dat.weird.2000066400000000000000000001251211234665467000165430ustar00rootroot00000000000000######################################## # ICINGA STATUS FILE # # THIS FILE IS AUTOMATICALLY GENERATED # BY ICINGA. DO NOT MODIFY THIS FILE! ######################################## info { created=1280306916 version=1.0.2 last_update_check=0 update_available=0 last_version= new_version= } programstatus { modified_host_attributes=0 modified_service_attributes=0 icinga_pid=15926 daemon_mode=1 program_start=1280269026 last_command_check=1280306915 last_log_rotation=0 enable_notifications=1 active_service_checks_enabled=1 passive_service_checks_enabled=1 active_host_checks_enabled=1 passive_host_checks_enabled=1 enable_event_handlers=1 obsess_over_services=0 obsess_over_hosts=0 check_service_freshness=1 check_host_freshness=0 enable_flap_detection=1 enable_failure_prediction=1 process_performance_data=0 global_host_event_handler= global_service_event_handler= next_comment_id=17 next_downtime_id=1 next_event_id=834 next_problem_id=397 next_notification_id=116 total_external_command_buffer_slots=4096 used_external_command_buffer_slots=0 high_external_command_buffer_slots=1 active_scheduled_host_check_stats=3,15,42 active_ondemand_host_check_stats=0,0,0 passive_host_check_stats=0,0,0 active_scheduled_service_check_stats=11,74,226 active_ondemand_service_check_stats=0,0,0 passive_service_check_stats=0,0,0 cached_host_check_stats=0,0,0 cached_service_check_stats=0,0,0 external_command_stats=0,0,0 parallel_host_check_stats=3,15,42 serial_host_check_stats=0,0,0 event_profiling_enabled=0 } hoststatus { host_name=alpha modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.015 check_latency=0.230 check_type=0 current_state=23 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 plugin_output=PING OK - Packet loss = 0%, RTA = 0.73 ms long_plugin_output= performance_data=rta=0.731000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306906 next_check=1280307216 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1279063569 last_hard_state_change=1279063569 last_time_up=1280306916 last_time_down=0 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=0 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=aneurysm modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.008 check_type=0 current_state=2 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 plugin_output=PING OK - Packet loss = 0%, RTA = 0.10 ms long_plugin_output= performance_data=rta=0.099000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306846 next_check=1280307156 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1279063581 last_hard_state_change=1279063581 last_time_up=1280306856 last_time_down=0 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=108 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=steel-vpn modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.032 check_latency=0.089 check_type=0 current_state=0 last_hard_state=0 last_event_id=831 current_event_id=832 current_problem_id=0 last_problem_id=396 plugin_output=PING OK - Packet loss = 0%, RTA = 18.01 ms long_plugin_output= performance_data=rta=18.010000ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306726 next_check=1280307036 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1280280076 last_hard_state_change=1279704469 last_time_up=1280306736 last_time_down=1280280006 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=73 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } hoststatus { host_name=steel.derf0.net modified_attributes=0 check_command=check-host-alive check_period= notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.030 check_latency=0.183 check_type=0 current_state=0 last_hard_state=0 last_event_id=770 current_event_id=771 current_problem_id=0 last_problem_id=365 plugin_output=PING OK - Packet loss = 0%, RTA = 16.75 ms long_plugin_output= performance_data=rta=16.750999ms;5000.000000;5000.000000;0.000000 pl=0%;100;100;0 last_check=1280306896 next_check=1280307206 check_options=0 current_attempt=1 max_attempts=10 state_type=1 last_state_change=1280221316 last_hard_state_change=1279124213 last_time_up=1280306906 last_time_down=1280221286 last_time_unreachable=0 last_notification=0 next_notification=0 no_more_notifications=0 current_notification_number=0 current_notification_id=0 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=alpha service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.032 check_latency=0.185 check_type=0 current_state=0 last_hard_state=0 last_event_id=415 current_event_id=416 current_problem_id=0 last_problem_id=206 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279497626 last_hard_state_change=1279063569 last_time_ok=1280306762 last_time_warning=0 last_time_unknown=0 last_time_critical=1279497566 plugin_output=HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time long_plugin_output= performance_data=time=0.018710s;;;0.000000 size=2333B;;;0 last_check=1280306762 next_check=1280307062 check_options=0 current_notification_number=0 current_notification_id=1 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: / modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/aneurysm-root check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.241 check_type=0 current_state=23 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279728981 last_hard_state_change=1279728981 last_time_ok=1280306781 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: / 4846 MB (75% inode=90%): long_plugin_output= performance_data=/=1539MB;5382;6055;0;6728 last_check=1280306781 next_check=1280307081 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /boot modified_attributes=0 check_command=check_disk!20%!10%!/dev/sda1 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.013 check_latency=0.196 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729053 last_hard_state_change=1279729053 last_time_ok=1280306641 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /boot 119 MB (53% inode=99%): long_plugin_output= performance_data=/boot=103MB;188;211;0;235 last_check=1280306641 next_check=1280306941 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /data modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/misc-data check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.012 check_latency=0.112 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729125 last_hard_state_change=1279729125 last_time_ok=1280306625 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /data 60091 MB (48% inode=99%): long_plugin_output= performance_data=/data=63760MB;99080;111465;0;123851 last_check=1280306625 next_check=1280306925 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Disk: /home modified_attributes=0 check_command=check_disk!20%!10%!/dev/mapper/aneurysm-home check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.128 check_latency=0.192 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729196 last_hard_state_change=1279729196 last_time_ok=1280306696 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /home 58378 MB (59% inode=98%): long_plugin_output= performance_data=/home=40563MB;83389;93813;0;104237 last_check=1280306696 next_check=1280306996 check_options=0 current_notification_number=0 current_notification_id=109 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.014 check_latency=0.191 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063677 last_hard_state_change=1279063677 last_time_ok=1280306898 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time long_plugin_output= performance_data=time=0.000952s;;;0.000000 size=7467B;;;0 last_check=1280306898 next_check=1280307198 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=HTTPS modified_attributes=0 check_command=check_https check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.031 check_latency=0.211 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063785 last_hard_state_change=1279063785 last_time_ok=1280306766 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time long_plugin_output= performance_data=time=0.017666s;;;0.000000 size=7467B;;;0 last_check=1280306766 next_check=1280307066 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Load modified_attributes=0 check_command=check_load!15!10!5!30!25!20 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.012 check_latency=0.098 check_type=0 current_state=2 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279729231 last_hard_state_change=1279729231 last_time_ok=1280306731 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=OK - load average: 0.17, 0.13, 0.09 long_plugin_output= performance_data=load1=0.170;15.000;30.000;0; load5=0.130;10.000;25.000;0; load15=0.090;5.000;20.000;0; last_check=1280306731 next_check=1280307031 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=Processes modified_attributes=0 check_command=check_procs!150!200 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.037 check_latency=0.154 check_type=0 current_state=3 last_hard_state=0 last_event_id=765 current_event_id=766 current_problem_id=0 last_problem_id=362 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1280167248 last_hard_state_change=1279729299 last_time_ok=1280306748 last_time_warning=1280167188 last_time_unknown=0 last_time_critical=0 plugin_output=PROCS OK: 118 processes long_plugin_output= performance_data= last_check=1280306748 next_check=1280307048 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.051 check_latency=0.091 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279136208 last_hard_state_change=1279136208 last_time_ok=1280306616 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SMTP OK - 0.038 sec. response time long_plugin_output= performance_data=time=0.037631s;;;0.000000 last_check=1280306616 next_check=1280306916 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SSH modified_attributes=0 check_command=check_ssh check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.030 check_latency=0.250 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279063689 last_hard_state_change=1279063689 last_time_ok=1280306913 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) long_plugin_output= performance_data= last_check=1280306913 next_check=1280307213 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=SSH password login disabled modified_attributes=0 check_command=check_ssh_no_password_login check_period=24x7 notification_period=24x7 check_interval=15.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.144 check_latency=0.049 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279753339 last_hard_state_change=1279753339 last_time_ok=1280306868 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=Password login disabled (server accepts publickey) long_plugin_output= performance_data= last_check=1280306868 next_check=1280307768 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=aneurysm service_description=System Backup modified_attributes=0 check_command=return-unknown check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=0 check_execution_time=0.000 check_latency=0.579 check_type=1 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=1 state_type=1 last_state_change=1279065910 last_hard_state_change=1279065910 last_time_ok=1280288856 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=/dev/mapper/misc-backup 109G 40G 69G 37% /backup long_plugin_output= performance_data= last_check=1280288856 next_check=0 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=0 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel-vpn service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.093 check_latency=0.134 check_type=0 current_state=0 last_hard_state=0 last_event_id=830 current_event_id=833 current_problem_id=0 last_problem_id=395 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1280280337 last_hard_state_change=1280280337 last_time_ok=1280306737 last_time_warning=0 last_time_unknown=0 last_time_critical=1280280037 plugin_output=SMTP OK - 0.080 sec. response time long_plugin_output= performance_data=time=0.079648s;;;0.000000 last_check=1280306737 next_check=1280307037 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: lv-home modified_attributes=0 check_command=check_by_ssh_fc!check_home check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.807 check_latency=0.116 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279710033 last_hard_state_change=1279710033 last_time_ok=1280306733 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: /home 20207 MB (95% inode=99%): long_plugin_output= performance_data=/home=1049MB;17915;20154;0;22394 last_check=1280306733 next_check=1280307033 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: lv-root modified_attributes=0 check_command=check_by_ssh_fc!check_root check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.808 check_latency=0.110 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279710107 last_hard_state_change=1279710107 last_time_ok=1280306684 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=DISK OK - free space: / 5330 MB (85% inode=90%): long_plugin_output= performance_data=/=902MB;5253;5910;0;6567 last_check=1280306684 next_check=1280306984 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Disk: vda1 modified_attributes=0 check_command=check_by_ssh_fc!check_vda1 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.813 check_latency=0.212 check_type=0 current_state=0 last_hard_state=0 last_event_id=663 current_event_id=726 current_problem_id=0 last_problem_id=341 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848500 last_hard_state_change=1279848500 last_time_ok=1280306900 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848200 plugin_output=DISK OK - free space: /boot 190 MB (88% inode=99%): long_plugin_output= performance_data=/boot=25MB;181;204;0;227 last_check=1280306900 next_check=1280307200 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=HTTP modified_attributes=0 check_command=check_http check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.054 check_latency=0.147 check_type=0 current_state=0 last_hard_state=0 last_event_id=659 current_event_id=736 current_problem_id=0 last_problem_id=337 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848533 last_hard_state_change=1279848533 last_time_ok=1280306633 last_time_warning=1279136633 last_time_unknown=0 last_time_critical=1279848233 plugin_output=HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time long_plugin_output= performance_data=time=0.040092s;;;0.000000 size=668B;;;0 last_check=1280306633 next_check=1280306933 check_options=0 current_notification_number=0 current_notification_id=6 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Load modified_attributes=0 check_command=check_by_ssh_fc!check_load check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.833 check_latency=0.202 check_type=0 current_state=0 last_hard_state=0 last_event_id=662 current_event_id=725 current_problem_id=0 last_problem_id=340 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848499 last_hard_state_change=1279848499 last_time_ok=1280306899 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848199 plugin_output=OK - load average: 0.00, 0.00, 0.00 long_plugin_output= performance_data=load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; last_check=1280306899 next_check=1280307199 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Mail Queue modified_attributes=0 check_command=check_by_ssh_fc!check_mailq_postfix check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.918 check_latency=0.061 check_type=0 current_state=0 last_hard_state=0 last_event_id=618 current_event_id=703 current_problem_id=0 last_problem_id=310 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848399 last_hard_state_change=1279848399 last_time_ok=1280306799 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848099 plugin_output=OK: mailq reports queue is empty long_plugin_output= performance_data=unsent=0;10;20;0 last_check=1280306799 next_check=1280307099 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=No open relay modified_attributes=0 check_command=check_mail_no_relay check_period=24x7 notification_period=24x7 check_interval=60.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.314 check_latency=0.159 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279664220 last_hard_state_change=1279664220 last_time_ok=1280306820 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=NORELAY OK: <** 554 5.7.1 : Relay access denied long_plugin_output= performance_data= last_check=1280306820 next_check=1280310420 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Not Blacklisted modified_attributes=0 check_command=check_rbl check_period=24x7 notification_period=24x7 check_interval=60.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=1.202 check_latency=0.098 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279819422 last_hard_state_change=1279819422 last_time_ok=1280305722 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 long_plugin_output= performance_data=servers=0;1;1 time=1s;; last_check=1280305722 next_check=1280309322 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Processes modified_attributes=0 check_command=check_by_ssh_fc!check_procs check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.848 check_latency=0.164 check_type=0 current_state=0 last_hard_state=0 last_event_id=610 current_event_id=698 current_problem_id=0 last_problem_id=304 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848352 last_hard_state_change=1279848352 last_time_ok=1280306752 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848052 plugin_output=PROCS OK: 82 processes long_plugin_output= performance_data= last_check=1280306752 next_check=1280307052 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SMTP modified_attributes=0 check_command=check_smtp_4 check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.135 check_latency=0.063 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279136421 last_hard_state_change=1279136421 last_time_ok=1280306721 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=SMTP OK - 0.122 sec. response time long_plugin_output= performance_data=time=0.121732s;;;0.000000 last_check=1280306721 next_check=1280307021 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SSH modified_attributes=0 check_command=check_ssh check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.064 check_latency=0.239 check_type=0 current_state=0 last_hard_state=0 last_event_id=617 current_event_id=710 current_problem_id=0 last_problem_id=309 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848437 last_hard_state_change=1279848437 last_time_ok=1280306837 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848137 plugin_output=SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) long_plugin_output= performance_data= last_check=1280306837 next_check=1280307137 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=SSH password login disabled modified_attributes=0 check_command=check_ssh_no_password_login check_period=24x7 notification_period=24x7 check_interval=15.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.321 check_latency=0.025 check_type=0 current_state=0 last_hard_state=0 last_event_id=0 current_event_id=0 current_problem_id=0 last_problem_id=0 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279753527 last_hard_state_change=1279753527 last_time_ok=1280306127 last_time_warning=0 last_time_unknown=0 last_time_critical=0 plugin_output=Password login disabled (server accepts publickey) long_plugin_output= performance_data= last_check=1280306127 next_check=1280307027 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } servicestatus { host_name=steel.derf0.net service_description=Users modified_attributes=0 check_command=check_by_ssh_fc!check_users check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.840 check_latency=0.220 check_type=0 current_state=1 last_hard_state=0 last_event_id=629 current_event_id=707 current_problem_id=0 last_problem_id=317 current_attempt=1 max_attempts=4 state_type=1 last_state_change=1279848429 last_hard_state_change=1279848429 last_time_ok=1280306829 last_time_warning=0 last_time_unknown=0 last_time_critical=1279848129 plugin_output=USERS OK - 0 users currently logged in long_plugin_output= performance_data=users=0;5;10;0 last_check=1280306829 next_check=1280307129 check_options=0 current_notification_number=0 current_notification_id=0 last_notification=0 next_notification=0 no_more_notifications=0 notifications_enabled=1 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1280306916 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } contactstatus { contact_name=derf modified_attributes=0 modified_host_attributes=0 modified_service_attributes=0 host_notification_period=24x7 service_notification_period=24x7 last_host_notification=1280163970 last_service_notification=1280179596 host_notifications_enabled=1 service_notifications_enabled=1 } icli-0.48/t/out/000077500000000000000000000000001234665467000134545ustar00rootroot00000000000000icli-0.48/t/out/filter_.A.o000066400000000000000000000004271234665467000154420ustar00rootroot00000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/filter_.o000066400000000000000000000004271234665467000152630ustar00rootroot00000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/filter_.o.A.D000066400000000000000000000001431234665467000156170ustar00rootroot00000000000000 steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/filter_A000066400000000000000000000000001234665467000151120ustar00rootroot00000000000000icli-0.48/t/out/filter_D000066400000000000000000000023621234665467000151320ustar00rootroot00000000000000 alpha DOWN HTTP  OK  HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time aneurysm UNREACHABLE Disk: /  OK  DISK OK - free space: / 4846 MB (75% inode=90%): Disk: /boot  OK  DISK OK - free space: /boot 119 MB (53% inode=99%): Disk: /data  OK  DISK OK - free space: /data 60091 MB (48% inode=99%): Disk: /home  OK  DISK OK - free space: /home 58378 MB (59% inode=98%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time HTTPS  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes SMTP  OK  SMTP OK - 0.038 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup icli-0.48/t/out/filter_S000066400000000000000000000004271234665467000151510ustar00rootroot00000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/filter_c000066400000000000000000000001611234665467000151640ustar00rootroot00000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 icli-0.48/t/out/filter_u000066400000000000000000000001451234665467000152100ustar00rootroot00000000000000 aneurysm UNREACHABLE Processes  UNKNOWN PROCS OK: 118 processes icli-0.48/t/out/filter_w000066400000000000000000000001431234665467000152100ustar00rootroot00000000000000 steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/h_filter_.o000066400000000000000000000003061234665467000155660ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.48/t/out/h_filter_S000066400000000000000000000003061234665467000154540ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.48/t/out/h_filter_S.x.A000066400000000000000000000001431234665467000161000ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms icli-0.48/t/out/h_filter_d000066400000000000000000000001431234665467000154740ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms icli-0.48/t/out/h_filter_x000066400000000000000000000001431234665467000155200ustar00rootroot00000000000000aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.48/t/out/host_steel_steel000066400000000000000000000024001234665467000167400ustar00rootroot00000000000000 steel-vpn SMTP  OK  SMTP OK - 0.080 sec. response time steel.derf0.net Disk: lv-home  OK  DISK OK - free space: /home 20207 MB (95% inode=99%): Disk: lv-root  OK  DISK OK - free space: / 5330 MB (85% inode=90%): Disk: vda1  OK  DISK OK - free space: /boot 190 MB (88% inode=99%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time Load  OK  OK - load average: 0.00, 0.00, 0.00 Mail Queue  OK  OK: mailq reports queue is empty No open relay  OK  NORELAY OK: <** 554 5.7.1 : Relay access denied Not Blacklisted  OK  CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 Processes  OK  PROCS OK: 82 processes SMTP  OK  SMTP OK - 0.122 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/hosts_group_local000066400000000000000000000003061234665467000171240ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.48/t/out/hosts_group_reduce000066400000000000000000000004521234665467000173030ustar00rootroot00000000000000steel.derf0.net  OK  PING OK - Packet loss = 0%, RTA = 16.75 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms icli-0.48/t/out/hosts_short000066400000000000000000000003061234665467000157550ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.48/t/out/list_hosts000066400000000000000000000006021234665467000155700ustar00rootroot00000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms steel-vpn PENDING PING OK - Packet loss = 0%, RTA = 18.01 ms steel.derf0.net  OK  PING OK - Packet loss = 0%, RTA = 16.75 ms icli-0.48/t/out/list_hosts_nc000066400000000000000000000005361234665467000162560ustar00rootroot00000000000000alpha DOWN PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms steel-vpn PENDING PING OK - Packet loss = 0%, RTA = 18.01 ms steel.derf0.net OK PING OK - Packet loss = 0%, RTA = 16.75 ms icli-0.48/t/out/list_hosts_v000066400000000000000000000006261234665467000161230ustar00rootroot00000000000000alpha  DOWN  1/10 PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE 1/10 PING OK - Packet loss = 0%, RTA = 0.10 ms steel-vpn PENDING 1/10 PING OK - Packet loss = 0%, RTA = 18.01 ms steel.derf0.net  OK  1/10 PING OK - Packet loss = 0%, RTA = 16.75 ms icli-0.48/t/out/list_services000077700000000000000000000000001234665467000177732standardustar00rootroot00000000000000icli-0.48/t/out/list_services_nc000066400000000000000000000042421234665467000167370ustar00rootroot00000000000000 alpha DOWN HTTP OK HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time aneurysm UNREACHABLE Disk: / OK DISK OK - free space: / 4846 MB (75% inode=90%): Disk: /boot OK DISK OK - free space: /boot 119 MB (53% inode=99%): Disk: /data OK DISK OK - free space: /data 60091 MB (48% inode=99%): Disk: /home OK DISK OK - free space: /home 58378 MB (59% inode=98%): HTTP OK HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time HTTPS OK HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes UNKNOWN PROCS OK: 118 processes SMTP OK SMTP OK - 0.038 sec. response time SSH OK SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d OK Password login disabled (server accepts publickey) System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup steel-vpn SMTP OK SMTP OK - 0.080 sec. response time steel.derf0.net Disk: lv-home OK DISK OK - free space: /home 20207 MB (95% inode=99%): Disk: lv-root OK DISK OK - free space: / 5330 MB (85% inode=90%): Disk: vda1 OK DISK OK - free space: /boot 190 MB (88% inode=99%): HTTP OK HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time Load OK OK - load average: 0.00, 0.00, 0.00 Mail Queue OK OK: mailq reports queue is empty No open relay OK NORELAY OK: <** 554 5.7.1 : Relay access denied Not Blacklisted OK CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 Processes OK PROCS OK: 82 processes SMTP OK SMTP OK - 0.122 sec. response time SSH OK SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d OK Password login disabled (server accepts publickey) Users WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/list_services_single000066400000000000000000000022111234665467000176120ustar00rootroot00000000000000Disk: lv-home  OK  DISK OK - free space: /home 20207 MB (95% inode=99%): Disk: lv-root  OK  DISK OK - free space: / 5330 MB (85% inode=90%): Disk: vda1  OK  DISK OK - free space: /boot 190 MB (88% inode=99%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time Load  OK  OK - load average: 0.00, 0.00, 0.00 Mail Queue  OK  OK: mailq reports queue is empty No open relay  OK  NORELAY OK: <** 554 5.7.1 : Relay access denied Not Blacklisted  OK  CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 Processes  OK  PROCS OK: 82 processes SMTP  OK  SMTP OK - 0.122 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/list_services_v000066400000000000000000000056421234665467000166110ustar00rootroot00000000000000 alpha DOWN HTTP    OK  1/4 HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time aneurysm UNREACHABLE Disk: /    OK  1/4 DISK OK - free space: / 4846 MB (75% inode=90%): Disk: /boot    OK  1/4 DISK OK - free space: /boot 119 MB (53% inode=99%): Disk: /data    OK  1/4 DISK OK - free space: /data 60091 MB (48% inode=99%): Disk: /home    OK  1/4 DISK OK - free space: /home 58378 MB (59% inode=98%): HTTP    OK  1/4 HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time HTTPS    OK  1/4 HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time Load   CRITICAL 1/4 OK - load average: 0.17, 0.13, 0.09 Processes    UNKNOWN 1/4 PROCS OK: 118 processes SMTP    OK  1/4 SMTP OK - 0.038 sec. response time SSH    OK  1/4 SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d   OK  1/4 Password login disabled (server accepts publickey) System Backup  P  PENDING 1/1 /dev/mapper/misc-backup 109G 40G 69G 37% /backup steel-vpn SMTP    OK  1/4 SMTP OK - 0.080 sec. response time steel.derf0.net Disk: lv-home    OK  1/4 DISK OK - free space: /home 20207 MB (95% inode=99%): Disk: lv-root    OK  1/4 DISK OK - free space: / 5330 MB (85% inode=90%): Disk: vda1    OK  1/4 DISK OK - free space: /boot 190 MB (88% inode=99%): HTTP    OK  1/4 HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time Load    OK  1/4 OK - load average: 0.00, 0.00, 0.00 Mail Queue    OK  1/4 OK: mailq reports queue is empty No open relay    OK  1/4 NORELAY OK: <** 554 5.7.1 : Relay access denied Not Blacklisted    OK  1/4 CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 Processes    OK  1/4 PROCS OK: 82 processes SMTP    OK  1/4 SMTP OK - 0.122 sec. response time SSH    OK  1/4 SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d   OK  1/4 Password login disabled (server accepts publickey) Users    WARNING 1/4 USERS OK - 0 users currently logged in icli-0.48/t/out/services_group_local000066400000000000000000000023621234665467000176130ustar00rootroot00000000000000 alpha DOWN HTTP  OK  HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time aneurysm UNREACHABLE Disk: /  OK  DISK OK - free space: / 4846 MB (75% inode=90%): Disk: /boot  OK  DISK OK - free space: /boot 119 MB (53% inode=99%): Disk: /data  OK  DISK OK - free space: /data 60091 MB (48% inode=99%): Disk: /home  OK  DISK OK - free space: /home 58378 MB (59% inode=98%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time HTTPS  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes SMTP  OK  SMTP OK - 0.038 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup icli-0.48/t/out/services_short000066400000000000000000000004271234665467000164440ustar00rootroot00000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.48/t/out/standard000066400000000000000000000047621234665467000152100ustar00rootroot00000000000000 alpha DOWN HTTP  OK  HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time aneurysm UNREACHABLE Disk: /  OK  DISK OK - free space: / 4846 MB (75% inode=90%): Disk: /boot  OK  DISK OK - free space: /boot 119 MB (53% inode=99%): Disk: /data  OK  DISK OK - free space: /data 60091 MB (48% inode=99%): Disk: /home  OK  DISK OK - free space: /home 58378 MB (59% inode=98%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time HTTPS  OK  HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time Load CRITICAL OK - load average: 0.17, 0.13, 0.09 Processes  UNKNOWN PROCS OK: 118 processes SMTP  OK  SMTP OK - 0.038 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) System Backup PENDING /dev/mapper/misc-backup 109G 40G 69G 37% /backup steel-vpn SMTP  OK  SMTP OK - 0.080 sec. response time steel.derf0.net Disk: lv-home  OK  DISK OK - free space: /home 20207 MB (95% inode=99%): Disk: lv-root  OK  DISK OK - free space: / 5330 MB (85% inode=90%): Disk: vda1  OK  DISK OK - free space: /boot 190 MB (88% inode=99%): HTTP  OK  HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time Load  OK  OK - load average: 0.00, 0.00, 0.00 Mail Queue  OK  OK: mailq reports queue is empty No open relay  OK  NORELAY OK: <** 554 5.7.1 : Relay access denied Not Blacklisted  OK  CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 Processes  OK  PROCS OK: 82 processes SMTP  OK  SMTP OK - 0.122 sec. response time SSH  OK  SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) SSH password login d  OK  Password login disabled (server accepts publickey) Users  WARNING USERS OK - 0 users currently logged in