diff options
Diffstat (limited to 't')
-rw-r--r-- | t/50-icli.t | 72 | ||||
-rw-r--r-- | t/in/objects.cache | 1945 | ||||
-rw-r--r-- | t/in/status.dat | 1832 | ||||
-rw-r--r-- | t/out/host_steel_steel | 18 | ||||
-rw-r--r-- | t/out/hosts_group_local | 2 | ||||
-rw-r--r-- | t/out/hosts_short | 2 | ||||
-rw-r--r-- | t/out/list_hosts | 4 | ||||
-rw-r--r-- | t/out/list_hosts_nc | 4 | ||||
l--------- | t/out/list_services | 1 | ||||
-rw-r--r-- | t/out/list_services_nc | 35 | ||||
-rw-r--r-- | t/out/services_group_local | 17 | ||||
-rw-r--r-- | t/out/services_short | 7 | ||||
-rw-r--r-- | t/out/standard | 35 |
13 files changed, 3974 insertions, 0 deletions
diff --git a/t/50-icli.t b/t/50-icli.t new file mode 100644 index 0000000..e75ff1e --- /dev/null +++ b/t/50-icli.t @@ -0,0 +1,72 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.010; + +use Test::Command tests => (12*3); + +my $icli = 'bin/icli -f t/in/status.dat -c t/in/objects.cache'; + +my $EMPTY = q{}; + +my $cmd = Test::Command->new(cmd => $icli); + +$cmd->exit_is_num(0); +$cmd->stdout_is_file('t/out/standard'); +$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 -s"); +$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 -ls -s"); +$cmd->exit_is_num(0); +$cmd->stdout_is_file('t/out/services_short'); +$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"); diff --git a/t/in/objects.cache b/t/in/objects.cache new file mode 100644 index 0000000..09bf774 --- /dev/null +++ b/t/in/objects.cache @@ -0,0 +1,1945 @@ +######################################## +# 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 + } diff --git a/t/in/status.dat b/t/in/status.dat new file mode 100644 index 0000000..8f391c5 --- /dev/null +++ b/t/in/status.dat @@ -0,0 +1,1832 @@ +######################################## +# 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=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=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=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=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 <derf@chaosdorf.de>: 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 + } diff --git a/t/out/host_steel_steel b/t/out/host_steel_steel new file mode 100644 index 0000000..a1276ee --- /dev/null +++ b/t/out/host_steel_steel @@ -0,0 +1,18 @@ + +steel-vpn + SMTP [30;42m OK [0m SMTP OK - 0.080 sec. response time + +steel.derf0.net + Disk: lv-home [30;42m OK [0m DISK OK - free space: /home 20207 MB (95% inode=99%): + Disk: lv-root [30;42m OK [0m DISK OK - free space: / 5330 MB (85% inode=90%): + Disk: vda1 [30;42m OK [0m DISK OK - free space: /boot 190 MB (88% inode=99%): + HTTP [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time + Load [30;42m OK [0m OK - load average: 0.00, 0.00, 0.00 + Mail Queue [30;42m OK [0m OK: mailq reports queue is empty + No open relay [30;42m OK [0m NORELAY OK: <** 554 5.7.1 <derf@chaosdorf.de>: Relay access denied + Not Blacklisted [30;42m OK [0m CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 + Processes [30;42m OK [0m PROCS OK: 82 processes + SMTP [30;42m OK [0m SMTP OK - 0.122 sec. response time + SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) + SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) + Users [30;43m WARNING[0m USERS OK - 0 users currently logged in diff --git a/t/out/hosts_group_local b/t/out/hosts_group_local new file mode 100644 index 0000000..7c08a69 --- /dev/null +++ b/t/out/hosts_group_local @@ -0,0 +1,2 @@ +alpha [37;41m DOWN [0m PING OK - Packet loss = 0%, RTA = 0.73 ms +aneurysm [37;44mUNREACHABLE[0m PING OK - Packet loss = 0%, RTA = 0.10 ms diff --git a/t/out/hosts_short b/t/out/hosts_short new file mode 100644 index 0000000..7c08a69 --- /dev/null +++ b/t/out/hosts_short @@ -0,0 +1,2 @@ +alpha [37;41m DOWN [0m PING OK - Packet loss = 0%, RTA = 0.73 ms +aneurysm [37;44mUNREACHABLE[0m PING OK - Packet loss = 0%, RTA = 0.10 ms diff --git a/t/out/list_hosts b/t/out/list_hosts new file mode 100644 index 0000000..2e44d30 --- /dev/null +++ b/t/out/list_hosts @@ -0,0 +1,4 @@ +alpha [37;41m DOWN [0m PING OK - Packet loss = 0%, RTA = 0.73 ms +aneurysm [37;44mUNREACHABLE[0m PING OK - Packet loss = 0%, RTA = 0.10 ms +steel-vpn [30;42m OK [0m PING OK - Packet loss = 0%, RTA = 18.01 ms +steel.derf0.net [30;42m OK [0m PING OK - Packet loss = 0%, RTA = 16.75 ms diff --git a/t/out/list_hosts_nc b/t/out/list_hosts_nc new file mode 100644 index 0000000..ecd73ce --- /dev/null +++ b/t/out/list_hosts_nc @@ -0,0 +1,4 @@ +alpha DOWN PING OK - Packet loss = 0%, RTA = 0.73 ms +aneurysm UNREACHABLE PING OK - Packet loss = 0%, RTA = 0.10 ms +steel-vpn OK PING OK - Packet loss = 0%, RTA = 18.01 ms +steel.derf0.net OK PING OK - Packet loss = 0%, RTA = 16.75 ms diff --git a/t/out/list_services b/t/out/list_services new file mode 120000 index 0000000..aa0bc07 --- /dev/null +++ b/t/out/list_services @@ -0,0 +1 @@ +standard
\ No newline at end of file diff --git a/t/out/list_services_nc b/t/out/list_services_nc new file mode 100644 index 0000000..ca7056b --- /dev/null +++ b/t/out/list_services_nc @@ -0,0 +1,35 @@ + +alpha + HTTP OK HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time + +aneurysm + 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 OK /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 <derf@chaosdorf.de>: 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 diff --git a/t/out/services_group_local b/t/out/services_group_local new file mode 100644 index 0000000..bdfaa65 --- /dev/null +++ b/t/out/services_group_local @@ -0,0 +1,17 @@ + +alpha + HTTP [30;42m OK [0m HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time + +aneurysm + Disk: / [30;42m OK [0m DISK OK - free space: / 4846 MB (75% inode=90%): + Disk: /boot [30;42m OK [0m DISK OK - free space: /boot 119 MB (53% inode=99%): + Disk: /data [30;42m OK [0m DISK OK - free space: /data 60091 MB (48% inode=99%): + Disk: /home [30;42m OK [0m DISK OK - free space: /home 58378 MB (59% inode=98%): + HTTP [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time + HTTPS [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time + Load [37;41mCRITICAL[0m OK - load average: 0.17, 0.13, 0.09 + Processes [37;44m UNKNOWN[0m PROCS OK: 118 processes + SMTP [30;42m OK [0m SMTP OK - 0.038 sec. response time + SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) + SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) + System Backup [30;42m OK [0m /dev/mapper/misc-backup 109G 40G 69G 37% /backup diff --git a/t/out/services_short b/t/out/services_short new file mode 100644 index 0000000..f6396c5 --- /dev/null +++ b/t/out/services_short @@ -0,0 +1,7 @@ + +aneurysm + Load [37;41mCRITICAL[0m OK - load average: 0.17, 0.13, 0.09 + Processes [37;44m UNKNOWN[0m PROCS OK: 118 processes + +steel.derf0.net + Users [30;43m WARNING[0m USERS OK - 0 users currently logged in diff --git a/t/out/standard b/t/out/standard new file mode 100644 index 0000000..c1f0b30 --- /dev/null +++ b/t/out/standard @@ -0,0 +1,35 @@ + +alpha + HTTP [30;42m OK [0m HTTP OK: HTTP/1.0 200 OK - 2333 bytes in 0.019 second response time + +aneurysm + Disk: / [30;42m OK [0m DISK OK - free space: / 4846 MB (75% inode=90%): + Disk: /boot [30;42m OK [0m DISK OK - free space: /boot 119 MB (53% inode=99%): + Disk: /data [30;42m OK [0m DISK OK - free space: /data 60091 MB (48% inode=99%): + Disk: /home [30;42m OK [0m DISK OK - free space: /home 58378 MB (59% inode=98%): + HTTP [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.001 second response time + HTTPS [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 7467 bytes in 0.018 second response time + Load [37;41mCRITICAL[0m OK - load average: 0.17, 0.13, 0.09 + Processes [37;44m UNKNOWN[0m PROCS OK: 118 processes + SMTP [30;42m OK [0m SMTP OK - 0.038 sec. response time + SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) + SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) + System Backup [30;42m OK [0m /dev/mapper/misc-backup 109G 40G 69G 37% /backup + +steel-vpn + SMTP [30;42m OK [0m SMTP OK - 0.080 sec. response time + +steel.derf0.net + Disk: lv-home [30;42m OK [0m DISK OK - free space: /home 20207 MB (95% inode=99%): + Disk: lv-root [30;42m OK [0m DISK OK - free space: / 5330 MB (85% inode=90%): + Disk: vda1 [30;42m OK [0m DISK OK - free space: /boot 190 MB (88% inode=99%): + HTTP [30;42m OK [0m HTTP OK: HTTP/1.1 200 OK - 668 bytes in 0.040 second response time + Load [30;42m OK [0m OK - load average: 0.00, 0.00, 0.00 + Mail Queue [30;42m OK [0m OK: mailq reports queue is empty + No open relay [30;42m OK [0m NORELAY OK: <** 554 5.7.1 <derf@chaosdorf.de>: Relay access denied + Not Blacklisted [30;42m OK [0m CHECK_RBL OK - steel.derf0.net BLACKLISTED on 0 servers of 43 + Processes [30;42m OK [0m PROCS OK: 82 processes + SMTP [30;42m OK [0m SMTP OK - 0.122 sec. response time + SSH [30;42m OK [0m SSH OK - OpenSSH_5.5p1 Debian-4 (protocol 2.0) + SSH password login d [30;42m OK [0m Password login disabled (server accepts publickey) + Users [30;43m WARNING[0m USERS OK - 0 users currently logged in |