|
The output of the command is below. I included the objects.cache file. As I understand it, this is created at run time from what nagios reads from the config files and saves. Therefore, if I left something out, it should be more obvious here. If you need the actual files, I can tar and zip 'em, though. I make heavy use of config_dir and have one file per configuration item. Dale [EMAIL PROTECTED] nagios]# nagios -s /etc/nagios/nagios.cfg Nagios 2.10 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 10-21-2007 License: GPL Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 8 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 15 Total scheduled services: 15 Service inter-check delay method: SMART Average service check interval: 600.00 sec Inter-check delay: 12.00 sec Interleave factor method: SMART Average services per host: 1.88 Service interleave factor: 2 Max service check spread: 3 min First scheduled check: Mon Feb 18 07:00:00 2008 Last scheduled check: Mon Feb 18 07:00:00 2008 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. ---------------------------------------------------------------- Marc Powell wrote: -----Original Message----- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED]] On Behalf Of Dale J. Chatham Sent: Sunday, February 17, 2008 9:49 AM To: [email protected] Subject: [Nagios-users] Service checks scheduled far in future |
########################################
# NAGIOS OBJECT CACHE FILE
#
# THIS FILE IS AUTOMATICALLY GENERATED
# BY NAGIOS. DO NOT MODIFY THIS FILE!
#
# Created: Sun Feb 17 09:55:30 2008
########################################
define timeperiod {
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
monday 07:00-17:00
tuesday 07:00-17:00
wednesday 07:00-17:00
thursday 07:00-17:00
friday 07:00-17:00
}
define timeperiod {
timeperiod_name none
alias No Time Is A Good Time
}
define timeperiod {
timeperiod_name nonworkhours
alias Non Work Hours
sunday 00:00-24:00
monday 00:00-07:00,17:00-24:00
tuesday 00:00-07:00,17:00-24:00
wednesday 00:00-07:00,17:00-24:00
thursday 00:00-07:00,17:00-24:00
friday 00:00-07:00,17:00-24:00
saturday 00:00-24:00
}
define timeperiod {
timeperiod_name workhours
alias "Normal" Working Hours
monday 07:00-17:00
tuesday 07:00-17:00
wednesday 07:00-17:00
thursday 07:00-17:00
friday 07:00-17:00
}
define command {
command_name check-fast-alive
command_line /usr/lib64/nagios/plugins/check_fping -H $HOSTADDRESS$
}
define command {
command_name check-host-alive
command_line /usr/lib64/nagios/plugins/check_ping -H $HOSTADDRESS$
-w 5000,100% -c 5000,100% -p 1
}
define command {
command_name check-imap
command_line /usr/lib64/nagios/plugins/check_imap -H $HOSTADDRESS$
}
define command {
command_name check-netapp-cpuload
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -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-dskreconstructingcount
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.4.1.789.1.6.4.3.0
}
define command {
command_name check-netapp-dskreconstructingparitycount
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.4.1.789.1.6.4.4.0
}
define command {
command_name check-netapp-failedfans
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.4.1.789.1.2.4.3.0
}
define command {
command_name check-netapp-failedpwr
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.4.1.789.1.2.4.5.0
}
define command {
command_name check-netapp-globalstatusmsg
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.4.1.789.1.2.2.25.0
}
define command {
command_name check-netapp-numdisks
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -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-sysdescr
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.2.1.1.1.0
}
define command {
command_name check-netapp-syslocation
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.2.1.1.6.0
}
define command {
command_name check-netapp-sysname
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.2.1.1.5.0
}
define command {
command_name check-netapp-uptime
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
}
define command {
command_name check-netapp-voldf
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o $ARG1$ -t 30 -w $ARG2$ -c $ARG3$
}
define command {
command_name check-netapp-volstate1
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o
.1.3.6.1.4.1.789.1.5.8.1.5.1,.1.3.6.1.4.1.789.1.5.8.1.5.2,.1.3.6.1.4.1.789.1.5.8.1.5.3,.1.3.6.1.4.1.789.1.5.8.1.5.4
-u 'Vol1','Vol2','Vol3','Vol4' -l ""
}
define command {
command_name check-netapp-volstate2
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C verboten -o
.1.3.6.1.4.1.789.1.5.8.1.5.5,.1.3.6.1.4.1.789.1.5.8.1.5.6,.1.3.6.1.4.1.789.1.5.8.1.5.7,.1.3.6.1.4.1.789.1.5.8.1.5.8,.1.3.6.1.4.1.789.1.5.8.1.5.9
-u 'Vol5','Vol6','Vol7','Vol8','Vol9' -l ""
}
define command {
command_name check-nfs
command_line /usr/lib64/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C
nfs -c2,3
}
define command {
command_name check-printer-alive
command_line /usr/lib64/nagios/plugins/check_ping -H $HOSTADDRESS$
-w 5000,100% -c 5000,100% -p 1
}
define command {
command_name check-router-alive
command_line /usr/lib64/nagios/plugins/check_ping -H $HOSTADDRESS$
-w 5000,100% -c 5000,100% -p 1
}
define command {
command_name check-rpc
command_line /usr/lib64/nagios/plugins/check_rpc -H $HOSTADDRESS$ -C
$ARG1$
}
define command {
command_name check-switch-alive
command_line /usr/lib64/nagios/plugins/check_ping $HOSTADDRESS$ -w
5000,100% -c 5000,100% -p 1
}
define command {
command_name check_disk
command_line /usr/lib64/nagios/plugins/check_disk -w 85% -c 95% -p
$ARG1$
}
define command {
command_name check_dns
command_line /usr/lib64/nagios/plugins/check_dns -H www.yahoo.com -s
$HOSTADDRESS$
}
define command {
command_name check_flexlm
command_line /usr/lib64/nagios/plugins/check_flexlm -F [EMAIL
PROTECTED]
}
define command {
command_name check_ftp
command_line /usr/lib64/nagios/plugins/check_ftp -H $HOSTADDRESS$
}
define command {
command_name check_hpjd
command_line /usr/lib64/nagios/plugins/check_hpjd -H $HOSTADDRESS$
-C public
}
define command {
command_name check_http
command_line /usr/lib64/nagios/plugins/check_http -H $HOSTADDRESS$
-I $HOSTADDRESS$
}
define command {
command_name check_http2
command_line /usr/lib64/nagios/plugins/check_http -H $ARG1$ -I
$HOSTADDRESS$ -w $ARG2$ -c $ARG3$
}
define command {
command_name check_ifoperstatus_ifdescr
command_line /usr/lib64/nagios/plugins/check_ifoperstatus -H
$HOSTADDRESS$ -C public -d $ARG1$
}
define command {
command_name check_ifoperstatus_ifindex
command_line /usr/lib64/nagios/plugins/check_ifoperstatus -H
$HOSTADDRESS$ -C public -k $ARG1$
}
define command {
command_name check_ifstatus
command_line /usr/lib64/nagios/plugins/check_ifstatus -H
$HOSTADDRESS$ -C public
}
define command {
command_name check_lmstat
command_line /usr/lib64/nagios/plugins/check_lmstat -f [EMAIL
PROTECTED] -F $ARG3$ -w $ARG4$ -c $ARG5$
}
define command {
command_name check_load
command_line /usr/lib64/nagios/plugins/check_load $ARG1$ $ARG2$
$ARG3$ $ARG4$ $ARG5$ $ARG6$
}
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}
define command {
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
define command {
command_name check_local_procs
command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
}
define command {
command_name check_local_users
command_line $USER1$/check_users -w $ARG1$ -c $ARG2$
}
define command {
command_name check_mrtg
command_line /usr/lib64/nagios/plugins/check_mrtg $ARG1$ 10 AVG
$ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
}
define command {
command_name check_netware_15load
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v "LOAD15" -w 70 -c 90
}
define command {
command_name check_netware_1load
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v "LOAD1" -w 70 -c 90
}
define command {
command_name check_netware_5load
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v "LOAD5" -w 70 -c 90
}
define command {
command_name check_netware_abend
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v "ABENDS" -w 10 -c 30
}
define command {
command_name check_netware_logins
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v "LOGINS" -w $ARG1$ -c $ARG2$
}
define command {
command_name check_nmap
command_line /usr/lib64/nagios/plugins/check_nmap -H $HOSTADDRESS$
-t 30 -p $ARG1$
}
define command {
command_name check_nmap_opt_range
command_line /usr/lib64/nagios/plugins/check_nmap -H $HOSTADDRESS$
-t 60 -p $ARG1$ -o $ARG2$ -r$ARG3$
}
define command {
command_name check_nmap_optional
command_line /usr/lib64/nagios/plugins/check_nmap -H $HOSTADDRESS$
-t 60 -p $ARG1$ -o $ARG2$
}
define command {
command_name check_nmap_range
command_line /usr/lib64/nagios/plugins/check_nmap -H $HOSTADDRESS$
-t 60 -p $ARG1$ -r $ARG2$
}
define command {
command_name check_nntp
command_line /usr/lib64/nagios/plugins/check_nntp -H $HOSTADDRESS$
}
define command {
command_name check_nrpe
command_line /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADDRESS$
-c $ARG1$ -t 20
}
define command {
command_name check_ntp
command_line /usr/lib64/nagios/plugins/check_ntp -H $HOSTADDRESS$
}
define command {
command_name check_ntp_ntpq
command_line /usr/lib64/nagios/plugins/check_ntp -H $HOSTADDRESS$ -j
10 -k 15
}
define command {
command_name check_nwstat_conns
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v CONNS -w $ARG1$ -c $ARG2$
}
define command {
command_name check_nwstat_csprocs
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v CSPROCS -w $ARG1$ -c $ARG2$
}
define command {
command_name check_nwstat_dsdb
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v DSDB
}
define command {
command_name check_nwstat_ltch
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v LTCH -w $ARG1$ -c $ARG2$
}
define command {
command_name check_nwstat_puprb
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v PUPRB -w $ARG1$ -c $ARG2$
}
define command {
command_name check_nwstat_vol_k
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v VKF$ARG1$ -w $ARG2$ -c $ARG3$
}
define command {
command_name check_nwstat_vol_p
command_line /usr/lib64/nagios/plugins/check_nwstat -H $HOSTADDRESS$
-v VPF$ARG1$ -w $ARG2$ -c $ARG3$
}
define command {
command_name check_pgsql
command_line /usr/lib64/nagios/plugins/check_pgsql -H $HOSTADDRESS$
}
define command {
command_name check_ping
command_line /usr/lib64/nagios/plugins/check_ping -H $HOSTADDRESS$
-w 10:20% -c 60:100%
}
define command {
command_name check_pop
command_line /usr/lib64/nagios/plugins/check_pop -H $HOSTADDRESS$
}
define command {
command_name check_procs
command_line /usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c
$ARG2$
}
define command {
command_name check_procs_httpd
command_line /usr/lib64/nagios/plugins/check_procs -w 5:$ARG1$ -c
1:$ARG2$ -C httpd
}
define command {
command_name check_procs_vsz
command_line /usr/lib64/nagios/plugins/check_procs -w 8096 -c 16182
-C httpd --metric VSZ
}
define command {
command_name check_procs_zombie
command_line /usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c
$ARG2$ -s Z
}
define command {
command_name check_quake
command_line /usr/lib64/nagios/plugins/check_game qs $HOSTADDRESS$
}
define command {
command_name check_quotaNetApp
command_line /usr/lib64/nagios/plugins/check_quotaNetApp.pl -H
$HOSTADDRESS$ verboten 90 95
}
define command {
command_name check_radius
command_line /usr/lib64/nagios/plugins/check_radius $ARG1$ $ARG2$
$HOSTADDRESS$ 1812 $ARG3$
}
define command {
command_name check_real
command_line /usr/lib64/nagios/plugins/check_real $HOSTADDRESS$ -p
$ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5
}
define command {
command_name check_real_url
command_line /usr/lib64/nagios/plugins/check_real $HOSTADDRESS$ -p
$ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5 -u $ARG4$
}
define command {
command_name check_smtp
command_line /usr/lib64/nagios/plugins/check_smtp -H $HOSTADDRESS$
}
define command {
command_name check_snmp_bgpstate
command_line /usr/lib64/nagios/plugins/check_bgpstate -H
$HOSTADDRESS$ -C public
}
define command {
command_name check_squid
command_line /usr/lib64/nagios/plugins/check_http -H $HOSTADDRESS$
-p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK'
}
define command {
command_name check_ssh
command_line /usr/lib64/nagios/plugins/check_ssh -H $HOSTADDRESS$
}
define command {
command_name check_swap
command_line /usr/lib64/nagios/plugins/check_swap -w 75% -c 90% -p
$ARG1$
}
define command {
command_name check_tcp
command_line /usr/lib64/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p
$ARG1$
}
define command {
command_name check_telnet
command_line /usr/lib64/nagios/plugins/check_tcp -H $HOSTADDRESS$ -p
23
}
define command {
command_name check_udp
command_line /usr/lib64/nagios/plugins/check_udp -H $HOSTADDRESS$ -p
$ARG1$
}
define command {
command_name check_unreal
command_line /usr/lib64/nagios/plugins/check_game uns $HOSTADDRESS$
-p $ARG1$ -pf 8
}
define command {
command_name check_ups
command_line /usr/lib64/nagios/plugins/check_ups -H $HOSTADDRESS$ -u
$ARG1$
}
define command {
command_name check_users
command_line /usr/lib64/nagios/plugins/check_users -w $ARG1$ -c
$ARG2$
}
define command {
command_name host-notify-by-email
command_line /usr/bin/printf "%b" "Notification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$\n\nThis notification has been brought to you by Enigma
Nagios." | /bin/mail -s "SERVICE $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$
$SERVICESTATE$" $CONTACTEMAIL$
}
define command {
command_name host-notify-by-epager
command_line /bin/echo '$HOSTALIAS$ is $HOSTSTATE$!' | /bin/mail -s
'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTPAGER$
}
define command {
command_name host-notify-by-smsclient
command_line /usr/bin/sms_client -q $CONTACTPAGER$ "Host $HOSTALIAS$
is $HOSTSTATE$
}
define command {
command_name notify-by-email
command_line /bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$
alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$
}
define command {
command_name notify-by-epager
command_line /bin/echo "$OUTPUT$" | /bin/mail -s
'$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$
}
define command {
command_name notify-by-smsclient
command_line /usr/bin/sms_client -q $CONTACTPAGER$
"$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$"
}
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/log/nagios/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/log/nagios/service-perfdata.out
}
define command {
command_name restart_synchronycity
command_line ssh lic1 /usr/local/bin/sudo -u licadmin
/flexlm/synchronicity/restart_folder.sh
}
define command {
command_name service-notify-by-email
command_line /usr/bin/printf "%b" "Notification Type:
$NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$\n\nThis notification has been brought to you by Enigma
Nagios." | /bin/mail -s "SERVICE $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$
$SERVICESTATE$" $CONTACTEMAIL$
}
define command {
command_name snmp_cpustats
command_line /usr/lib64/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/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o 1.3.6.1.4.1.2021.9.1.7.$ARG1$,1.3.6.1.4.1.2021.9.1.9.$ARG1$ -w
$ARG2$:,:$ARG3$ -c $ARG4$:,:$ARG5$ -u 'kB free (','% used)' -l 'disk space'
}
define command {
command_name snmp_disk2
command_line /usr/lib64/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/lib64/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$ -w :$ARG5$,:$ARG6$,:$ARG7$ -l load
}
define command {
command_name snmp_mem
command_line /usr/lib64/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/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.101,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.101
-w $ARG2$ -c $ARG3$
}
define command {
command_name snmp_mem3
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.101,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.101
-w $ARG2$ -c $ARG3$
}
define command {
command_name snmp_procname
command_line /usr/lib64/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/lib64/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/lib64/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/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.102,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.102
-w $ARG2$ -c $ARG3$
}
define command {
command_name snmp_swap3
command_line /usr/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.102,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.102
-w $ARG2$ -c $ARG3$
}
define command {
command_name snmp_tcpopen
command_line /usr/lib64/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/lib64/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/lib64/nagios/plugins/check_snmp -H $HOSTADDRESS$
-C $ARG1$ -o host.hrSystem.hrSystemNumUsers -w :$ARG2$ -c :$ARG3$ -l users
}
define command {
command_name ssh_disk
command_line /usr/lib64/nagios/plugins/check_by_ssh -H $HOSTADDRESS$
-C '/usr/lib64/nagios/plugins/check_disk -w 85% -c 95% -p $ARG1$'
}
define command {
command_name traffic_average
command_line /usr/lib64/nagios/plugins/check_mrtgtraf $ARG1$ 10 AVG
$ARG2$ $ARG3$ $ARG4$ $ARG5$
}
define contactgroup {
contactgroup_name chatham-admins
alias Chatham Administrators
members dale
}
define hostgroup {
hostgroup_name all-hosts
alias ALL Hosts
members www,hop01,hop03,callisto,hop02,elmo,dmz,jove
}
define hostgroup {
hostgroup_name dns-servers
alias DNS Servers
members jove
}
define hostgroup {
hostgroup_name http-servers
alias HTTP Servers
members elmo,www,jove
}
define hostgroup {
hostgroup_name smtp-servers
alias SMTP Servers
members dmz,elmo
}
define contact {
contact_name dale
alias Dale Chatham
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands service-notify-by-email
host_notification_commands host-notify-by-email
email [EMAIL PROTECTED]
pager [EMAIL PROTECTED]
}
define host {
host_name callisto
alias callisto
address 192.168.0.3
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r,f
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name dmz
alias dmz
address 192.168.255.1
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name elmo
alias elmo
address 192.168.0.1
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name hop01
alias Hop 1
address 10.198.12.1
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name hop02
alias Hop 2
address 172.28.2.145
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name hop03
alias Hop 3
address 66.169.96.237
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name jove
alias jove
address 192.168.0.17
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define host {
host_name www
alias www
address 192.168.255.1
check_period 24x7
check_command check-host-alive
contact_groups chatham-admins
notification_period 24x7
check_interval 0
max_check_attempts 5
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
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 30
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name callisto
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name dmz
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name dmz
service_description SMTP
check_period 24x7
check_command check_smtp
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name elmo
service_description HTTP
check_period 24x7
check_command check_http
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name elmo
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name elmo
service_description SMTP
check_period 24x7
check_command check_smtp
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name hop01
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name hop02
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name hop03
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name jove
service_description DNS
check_period 24x7
check_command check_dns
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name jove
service_description HTTP
check_period 24x7
check_command check_http
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name jove
service_description LOAD
check_period 24x7
check_command snmp_load!public!20!20!20!50!50!50
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name jove
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name www
service_description HTTP
check_period 24x7
check_command check_http
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 3
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
define service {
host_name www
service_description PING
check_period 24x7
check_command check_ping
contact_groups chatham-admins
notification_period 24x7
normal_check_interval 10
retry_check_interval 5
max_check_attempts 3
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
freshness_threshold 0
check_freshness 0
notification_options w,c,r
notifications_enabled 1
notification_interval 600
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
