icli-0.42000700001750001750 011762111172 11367 5ustar00derfderf000000000000icli-0.42/META.json000444001750001750 213511762111172 13160 0ustar00derfderf000000000000{ "abstract" : "Icinga Command Line Interface", "author" : [ "Copyright (C) 2010 by Daniel Friesel Ederf@finalrewind.orgE" ], "dynamic_config" : 1, "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440", "license" : [ "unrestricted" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : "2" }, "name" : "icli", "prereqs" : { "build" : { "requires" : { "Test::Command" : 0, "Test::Compile" : 0, "Test::More" : 0, "Test::Pod" : 0 } }, "configure" : { "requires" : { "Module::Build" : "0.38" } }, "runtime" : { "requires" : { "Carp" : 0, "Date::Format" : 0, "Getopt::Long" : 0, "List::MoreUtils" : 0, "Term::ANSIColor" : 0, "Term::Size" : 0, "autodie" : 0, "perl" : "v5.10.0" } } }, "release_status" : "stable", "version" : "0.42" } icli-0.42/Changelog000444001750001750 213411762111172 13350 0ustar00derfderf000000000000icli 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.42/META.yml000444001750001750 117311762111172 13011 0ustar00derfderf000000000000--- abstract: 'Icinga Command Line Interface' author: - 'Copyright (C) 2010 by Daniel Friesel Ederf@finalrewind.orgE' build_requires: Test::Command: 0 Test::Compile: 0 Test::More: 0 Test::Pod: 0 configure_requires: Module::Build: 0.38 dynamic_config: 1 generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440' license: unrestricted meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 name: icli requires: Carp: 0 Date::Format: 0 Getopt::Long: 0 List::MoreUtils: 0 Term::ANSIColor: 0 Term::Size: 0 autodie: 0 perl: v5.10.0 version: 0.42 icli-0.42/Build.PL000444001750001750 125311762111172 13033 0ustar00derfderf000000000000#!/usr/bin/env perl use strict; use warnings; use Module::Build; my $build = Module::Build->subclass( code => q( sub ACTION_testauthor { shift->generic_task(type => 'author') } ) )->new( build_requires => { 'Test::More' => 0, 'Test::Compile' => 0, 'Test::Pod' => 0, 'Test::Command' => 0, }, dist_name => 'icli', dist_version_from => 'bin/icli', license => 'unrestricted', requires => { 'perl' => '5.10.0', 'autodie' => 0, 'Carp' => 0, 'Date::Format' => 0, 'Getopt::Long' => 0, 'List::MoreUtils' => 0, 'Term::ANSIColor' => 0, 'Term::Size' => 0, }, script_files => 'bin/', test_types => { author => '.at', }, ); $build->create_build_script(); icli-0.42/COPYING000444001750001750 16511762111172 12553 0ustar00derfderf000000000000All files in this distribution are licensed under the following terms: 0. You just DO WHAT THE FUCK YOU WANT TO icli-0.42/MANIFEST000444001750001750 136611762111172 12675 0ustar00derfderf000000000000bin/icli Build.PL Changelog COPYING MANIFEST This list of files README t/00-compile.t t/10-pod-coverage.t t/50-icli.at t/in/objects.cache t/in/status.dat t/in/status.dat.weird.1 t/in/status.dat.weird.2 t/out/filter_.A.o t/out/filter_.o t/out/filter_.o.A.D t/out/filter_A t/out/filter_c t/out/filter_D t/out/filter_S t/out/filter_u t/out/filter_w t/out/h_filter_.o t/out/h_filter_d t/out/h_filter_S t/out/h_filter_S.x.A t/out/h_filter_x t/out/host_steel_steel t/out/hosts_group_local t/out/hosts_group_reduce t/out/hosts_short t/out/list_hosts t/out/list_hosts_nc t/out/list_hosts_v t/out/list_services t/out/list_services_nc t/out/list_services_single t/out/list_services_v t/out/services_group_local t/out/services_short t/out/standard META.yml META.json icli-0.42/README000444001750001750 72411762111172 12401 0ustar00derfderf000000000000icli - Icinga Command Line Interface Requires: * A local icinga daemon + access to some of its files * perl v5.10 or newer with the following modules: * Date::Format * 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 http://derf.homelinux.org/projects/icinga-cli icli-0.42/t000700001750001750 011762111172 11632 5ustar00derfderf000000000000icli-0.42/t/10-pod-coverage.t000555001750001750 16711762111172 14746 0ustar00derfderf000000000000#!/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.42/t/00-compile.t000555001750001750 17211762111172 14016 0ustar00derfderf000000000000#!/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.42/t/50-icli.at000444001750001750 1100411762111172 13505 0ustar00derfderf000000000000#!/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.42/t/out000700001750001750 011762111172 12441 5ustar00derfderf000000000000icli-0.42/t/out/h_filter_.o000444001750001750 30611762111172 14702 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.42/t/out/h_filter_x000444001750001750 14311762111172 14634 0ustar00derfderf000000000000aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.42/t/out/filter_S000444001750001750 42711762111172 14265 0ustar00derfderf000000000000 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.42/t/out/list_hosts_v000444001750001750 62611762111172 15237 0ustar00derfderf000000000000alpha  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.42/t/out/list_services_nc000444001750001750 424211762111172 16073 0ustar00derfderf000000000000 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.42/t/out/hosts_group_local000444001750001750 30611762111172 16240 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.42/t/out/h_filter_d000444001750001750 14311762111172 14610 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms icli-0.42/t/out/list_services_single000444001750001750 221111762111172 16746 0ustar00derfderf000000000000Disk: 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.42/t/out/filter_.o000444001750001750 42711762111172 14377 0ustar00derfderf000000000000 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.42/t/out/h_filter_S000444001750001750 30611762111172 14570 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.42/t/out/filter_u000444001750001750 14511762111172 14324 0ustar00derfderf000000000000 aneurysm UNREACHABLE Processes  UNKNOWN PROCS OK: 118 processes icli-0.42/t/out/host_steel_steel000444001750001750 240011762111172 16074 0ustar00derfderf000000000000 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.42/t/out/filter_A000444001750001750 011762111172 14166 0ustar00derfderf000000000000icli-0.42/t/out/filter_D000444001750001750 236211762111172 14266 0ustar00derfderf000000000000 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.42/t/out/services_short000444001750001750 42711762111172 15560 0ustar00derfderf000000000000 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.42/t/out/list_services_v000444001750001750 564211762111172 15745 0ustar00derfderf000000000000 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.42/t/out/hosts_group_reduce000444001750001750 45211762111172 16417 0ustar00derfderf000000000000steel.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.42/t/out/h_filter_S.x.A000444001750001750 14311762111172 15214 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms icli-0.42/t/out/hosts_short000444001750001750 30611762111172 15071 0ustar00derfderf000000000000alpha  DOWN  PING OK - Packet loss = 0%, RTA = 0.73 ms aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms icli-0.42/t/out/standard000444001750001750 476211762111172 14344 0ustar00derfderf000000000000 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.42/t/out/list_hosts_nc000444001750001750 53611762111172 15372 0ustar00derfderf000000000000alpha 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.42/t/out/filter_c000444001750001750 16111762111172 14300 0ustar00derfderf000000000000 aneurysm UNREACHABLE Load CRITICAL OK - load average: 0.17, 0.13, 0.09 icli-0.42/t/out/filter_.o.A.D000444001750001750 14311762111172 14733 0ustar00derfderf000000000000 steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.42/t/out/filter_.A.o000444001750001750 42711762111172 14556 0ustar00derfderf000000000000 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.42/t/out/list_hosts000444001750001750 60211762111172 14704 0ustar00derfderf000000000000alpha  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.42/t/out/services_group_local000444001750001750 236211762111172 16747 0ustar00derfderf000000000000 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.42/t/out/filter_w000444001750001750 14311762111172 14324 0ustar00derfderf000000000000 steel.derf0.net Users  WARNING USERS OK - 0 users currently logged in icli-0.42/t/out/list_services000444001750001750 476211762111172 15422 0ustar00derfderf000000000000 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.42/t/in000700001750001750 011762111172 12240 5ustar00derfderf000000000000icli-0.42/t/in/status.dat.weird.2000444001750001750 12512111762111172 15737 0ustar00derfderf000000000000######################################## # 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.42/t/in/status.dat000444001750001750 12511711762111172 14473 0ustar00derfderf000000000000######################################## # 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.42/t/in/status.dat.weird.1000444001750001750 3011762111172 15625 0ustar00derfderf000000000000bork { something=ae } icli-0.42/t/in/objects.cache000444001750001750 15005711762111172 15075 0ustar00derfderf000000000000######################################## # 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.42/bin000700001750001750 011762111172 12137 5ustar00derfderf000000000000icli-0.42/bin/icli000555001750001750 6176111762111172 13207 0ustar00derfderf000000000000#!/usr/bin/env perl ## Copyright © 2010-2012 by Daniel Friesel ## License: WTFPL ## 0. You just DO WHAT THE FUCK YOU WANT TO. use autodie; use strict; use warnings; use 5.010; use Carp qw(croak); use Date::Format; use Getopt::Long qw/:config bundling/; use List::MoreUtils qw(any firstval); use Term::ANSIColor; use Term::Size; our $VERSION = '0.42'; my ( $cache, $config, $data, $extra ); my $config_file = '/var/cache/icinga/objects.cache'; my $status_file = '/var/lib/icinga/status.dat'; my $rw_file = '/var/lib/icinga/rw/icinga.cmd'; my $context; my $colours = 1; my $list_type = 's'; my $verbosity = 1; my $recheck = 0; my $force_recheck = 0; my $acknowledge = 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 @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 time2str( '%Y-%m-%d %H:%M:%S', $unix ); } sub pretty_duration { my ($since) = @_; my $now = time(); my $dif = $now - $since; return sprintf( '%dd %dh %dm %ds', int( $dif / ( 24 * 3600 ) ), int( ( $dif / 3600 ) % 24 ), int( ( $dif / 60 ) % 60 ), $dif % 60, ); } 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 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; 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 '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 'o' and $x->{'current_state'} == 0 ) or ( $f eq '!o' and $x->{'current_state'} != 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') { # TODO } when ('servicecomment') { # TODO } 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})]; } when ( [ qw[ timeperiod command contactgroup contact host service servicedependency ] ] ) { # skipped for now } default { warn("Unknown field in $status_file: $context\n"); } } $cache = undef; } } sub read_objects { my ( $file, $ref ) = @_; open( my $fh, '<', $file ); while ( my $line = <$fh> ) { chomp($line); read_objects_line( $line, $ref ); } close($fh); } sub enhance_status { 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 service_state { my ( $checked, $digit ) = @_; 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 ( $checked, $digit ) = @_; 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; printf( '%-27.27s', $d->{'host_name'} ); if ( $v >= 3 ) { printf( ' %s %-10.10s', pretty_date( $d->{'entry_time'} ), $d->{'author'}, ); } if ( $v >= 2 ) { printf( ' %-30.30s', $d->{'comment'} ); } printf( ' %s %s', pretty_date( $d->{'start_time'} ), pretty_date( $d->{'end_time'} ), ); if ( $v >= 2 ) { print( $d->{'fixed'} ? ' Fixed' : ' Flexi' ); } 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->{'has_been_checked'}, $x->{'current_state'} ), 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->{'has_been_checked'}, $x->{'current_state'} ), 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'} ), ); } } 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->{'has_been_checked'}, $s->{'current_state'} ) ); 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->{'has_been_checked'}, $h->{'current_state'} ) ); 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 dispatch_command { my $str = join( ';', @_ ); open( my $cmd_fh, '>', $rw_file ); printf $cmd_fh ( '[%d] %s', time(), $str, ); close($cmd_fh); } sub recheck_host_all { my ($host) = @_; dispatch_command( 'SCHEDULE_HOST_SVC_CHECKS', $host, time() ); say "Scheduled check of * on '$host'"; } sub recheck_service { my ( $host, $service ) = @_; dispatch_command( 'SCHEDULE_SVC_CHECK', $host, $service, time() ); say "Scheduled check of '$service' on '$host'"; } sub force_recheck_service { my ( $host, $service ) = @_; dispatch_command( 'SCHEDULE_FORCED_SVC_CHECK', $host, $service, time() ); say "Scheduled forced check of '$service' on '$host'"; } sub acknowledge_service { my ( $host, $service ) = @_; dispatch_command( 'ACKNOWLEDGE_SVC_PROBLEM', $host, $service, 2, 1, 1, 'cli', $acknowledge ); say "Acknowledged $host/$service: $acknowledge"; } sub action_on_host { my ($h) = @_; if ($recheck) { recheck_host_all($h); } } sub action_on_service { my ( $h, $s ) = @_; if ( not have_service( $h, $s ) ) { return; } if ($recheck) { recheck_service( $h, $s ); } if ($force_recheck) { force_recheck_service( $h, $s ); } if ($acknowledge) { acknowledge_service( $h, $s ); } } GetOptions( 'a|acknowledge=s' => sub { $acknowledge = $_[1]; $list_type = q{} }, '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 ) }, 'r|recheck' => sub { $recheck = 1; $list_type = q{} }, 's|service=s' => sub { push( @for_services, split( /,/, $_[1] ) ) }, 'u|force-recheck' => sub { $force_recheck = 1; $list_type = q{} }, '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 ); read_objects( $config_file, \$config ); enhance_status(); 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->{services} }; } 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; } if ( $list_type ~~ [qw[s h]] ) { foreach my $host (@list_hosts) { display_host( $host, ( @list_hosts > 1 ) ); } } elsif ( $list_type eq 'q' ) { display_queue(); } elsif ( $list_type eq 'd' ) { foreach my $downtime ( @{ $data->{hostdowntimes} } ) { display_downtime($downtime); } } elsif ( $recheck or $acknowledge ) { 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<-z> I] [B<-h> I] [B<-g> I] [B<-s> I] [B<-c> I] [B<-C>] [B<-f> I] [B<-F> I] [B<-r>|B<-u>|B<-lh>|B<-ls>|B<-lq>|B<-ld>] [I/I I<...>] =head1 VERSION version 0.42 =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<-c>|B<--config> I Read config from I instead of the default F =item B<-C>|B<--no-colours> Disable colours in output =item B<-f>|B<--status-file> I Read the status from I instead of the default F =item B<-F>|B<--rw-file> I Use I as external commands file. Default: F =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<-r>|B<--recheck> Schedule an immediate recheck of all selected services =item B<-u>|B<--force-recheck> Schedule a forced, immediate recheck of all selected services =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 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 * Date::Format =item * Term::Size =back =head1 BUGS AND LIMITATIONS This software is in early development stages. So there will probably be quite a lot. =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.