summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2008-03-26 14:41:38 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2008-03-26 14:41:38 (GMT)
commit054c5911e10e65b933950adf683ab26fde00acb4 (patch)
tree388a3626aaaa9a426535b472e45e148333ad1e90
parentb17b2421987bb8a7606948333e75f990b35852b8 (diff)
downloadmonitoring-plugins-054c5911e10e65b933950adf683ab26fde00acb4.tar.gz
Removed command.cfg (Marc Powell)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/new_threshold_syntax@1963 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--NEWS1
-rw-r--r--THANKS.in1
-rw-r--r--command.cfg.in275
-rw-r--r--configure.in1
-rw-r--r--nagios-plugins.spec.in4
5 files changed, 3 insertions, 279 deletions
diff --git a/NEWS b/NEWS
index 57bf838..e5daa6e 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@ This file documents the major additions and syntax changes between releases.
16 Reverted back to using pst3 for Solaris systems. Fixed issues re: -m64 needed to compile on 64bit systems 16 Reverted back to using pst3 for Solaris systems. Fixed issues re: -m64 needed to compile on 64bit systems
17 If applicable, Gettext linked dynamically instead of statically 17 If applicable, Gettext linked dynamically instead of statically
18 check_dig can now pass arguments dig by using -A/--dig-arguments (#1874041/#1889453) 18 check_dig can now pass arguments dig by using -A/--dig-arguments (#1874041/#1889453)
19 Removed command.cfg (Marc Powell)
19 20
201.4.11 13th December 2007 211.4.11 13th December 2007
21 Fixed check_http regression in 1.4.10 where following redirects to 22 Fixed check_http regression in 1.4.10 where following redirects to
diff --git a/THANKS.in b/THANKS.in
index 2def3b1..b072283 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -233,3 +233,4 @@ Alessandro Ren
233Harald Jenny 233Harald Jenny
234Matthias Urlichs 234Matthias Urlichs
235Jan Wagner 235Jan Wagner
236Marc Powell
diff --git a/command.cfg.in b/command.cfg.in
deleted file mode 100644
index 65b5f4e..0000000
--- a/command.cfg.in
+++ /dev/null
@@ -1,275 +0,0 @@
1###############################################################################
2# COMMAND CONFIGURATION
3#
4# $Id$
5#
6# SYNTAX:
7# command[<command_name>]=<command_line>
8#
9# <command_name> = A short name used to identify the command
10# <command_line> = The actual command line. The command line doesn't have to
11# be surrounded in quotes, but may contain quotes as needed within
12# the command line. Take care to use single quotes at the
13# outer edges of commands or you will have command line
14# expansion problems when the command is executed by the shell.
15# Any valid shell command can be used. Multiple commands can
16# be separated with semicolons, piping is allowed. The
17# command line can contain macros, but not are macros are valid
18# at all time (notifications, service checks, etc). See the
19# HTML documentaion for more informationon on using macros in
20# commands.
21#
22# Note: Service check, service notification, host check, host notification,
23# service event handler, and host event handler functions are all defined
24# here.
25#
26# Note: Use the convertcfg program in the contrib directory of the Nagios
27# distribution to convert this file into a object file format.
28#
29###############################################################################
30
31# Service notification command - send email with problem summary
32
33command[notify-by-email]=/bin/printf "$OUTPUT$" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$
34
35# Service notification command - send email to alphanumeric pager
36# gateway The notify-by-epager command assumes that each contact has a
37# pager email gateway, and that the address has been entered into the
38# appropriate contact field instead of an actual pager number.
39# (i.e. 'pagejoe@nowhere.com' routes mail to Joe's alphanumeric pager)
40
41command[notify-by-epager]=/bin/echo "$OUTPUT$" | /bin/mail -s '$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$
42
43# Host notification commands (one for email, one for alphanumeric
44# pager with email gateway)
45
46command[host-notify-by-email]=/bin/echo -e "***** Nagios *****\n\nHost "$HOSTALIAS$" is $HOSTSTATE$!\n\nDate/Time: $DATETIME$\n" | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTEMAIL$
47
48command[host-notify-by-epager]=/bin/echo '$HOSTALIAS$ is $HOSTSTATE$!' | /bin/mail -s 'Host $HOSTNAME$ is $HOSTSTATE$!' $CONTACTPAGER$
49
50
51## Send notifications to a pager using modem with Qpage (www.qpage.com)
52
53command[notify-by-qpage]=/usr/bin/printf "Service: %s\nHost: %s\nAddress: %s\nState: %s\nInfo: %s\nDate: %s" '$SERVICEDESC$' '$HOSTNAME$' '$HOSTADDRESS$' '$SERVICESTATE$' '$OUTPUT$' '$DATETIME' | /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$
54
55command[host-notify-by-qpage]=/usr/bin/printf "Host: %s is %s\nInfo: %s\nDate: %s" '$HOSTALIAS$' '$HOSTSTATES$' '$OUTPUT$' '$DATETIME' | /usr/local/bin/qpage -l 0 -p $CONTACTPAGER$
56
57## Send notifications using SMSclient (www.smsclient.org)
58command[notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$"
59command[host-notify-by-smsclient]=/usr/bin/sms_client -q $CONTACTPAGER$ "Host $HOSTALIAS$ is $HOSTSTATE$; $OUTPUT$; $DATETIME$"
60
61
62
63
64# These are some example service check commands. See the HTML
65# documentation on the plugins for examples of how to configure
66# command definitions.
67
68command[check_tcp]=@libexecdir@/check_tcp -H $HOSTADDRESS$ -p $ARG1$
69command[check_udp]=@libexecdir@/check_udp -H $HOSTADDRESS$ -p $ARG1$
70command[check_ftp]=@libexecdir@/check_ftp -H $HOSTADDRESS$
71command[check_pop]=@libexecdir@/check_pop -H $HOSTADDRESS$
72command[check_smtp]=@libexecdir@/check_smtp -H $HOSTADDRESS$
73command[check_nntp]=@libexecdir@/check_nntp -H $HOSTADDRESS$
74command[check_telnet]=@libexecdir@/check_tcp -H $HOSTADDRESS$ -p 23
75command[check_users]=@libexecdir@/check_users -w $ARG1$ -c $ARG2$
76command[check_ntp]=@libexecdir@/check_ntp -H $HOSTADDRESS$
77command[check_ntp_ntpq]=@libexecdir@/check_ntp -H $HOSTADDRESS$ -j 10 -k 15
78command[check_flexlm]=@libexecdir@/check_flexlm -F $ARG1$
79command[check_hpjd]=@libexecdir@/check_hpjd -H $HOSTADDRESS$ -C public
80command[check_mrtg]=@libexecdir@/check_mrtg $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
81command[traffic_average]=@libexecdir@/check_mrtgtraf $ARG1$ 10 AVG $ARG2$ $ARG3$ $ARG4$ $ARG5$
82command[check_load]=@libexecdir@/check_load $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
83
84command[check_disk]=@libexecdir@/check_disk -w 85% -c 95% -p $ARG1$
85command[check_dns]=@libexecdir@/check_dns -H www.yahoo.com -s $HOSTADDRESS$
86command[check_http]=@libexecdir@/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$
87command[check_http2]=@libexecdir@/check_http -H $ARG1$ -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$
88command[check_pgsql]=@libexecdir@/check_pgsql -H $HOSTADDRESS$
89command[check_ping]=@libexecdir@/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100%
90command[check_procs]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$
91command[check_procs_zombie]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$ -s Z
92command[check_procs_httpd]=@libexecdir@/check_procs -w 5:$ARG1$ -c 1:$ARG2$ -C httpd
93command[check_procs_vsz]=@libexecdir@/check_procs -w 8096 -c 16182 -C httpd --metric VSZ
94command[check_ups]=@libexecdir@/check_ups -H $HOSTADDRESS$ -u $ARG1$
95
96# An example of using check_by_ssh as an active service check
97command[ssh_disk]=@libexecdir@/check_by_ssh -H $HOSTADDRESS$ -C '@libexecdir@/check_disk -w 85% -c 95% -p $ARG1$'
98
99#
100# UCD_SNMP equivalents for some of the commands above
101#
102
103command[snmp_load]=@libexecdir@/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
104
105command[snmp_cpustats]=@libexecdir@/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 '%'
106
107command[snmp_procname]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.2021.2.1.5.$ARG2$ -w $ARG3$:$ARG4$ -c $ARG5$:$ARG6$
108
109command[snmp_disk]=@libexecdir@/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'
110
111command[snmp_mem]=@libexecdir@/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$:
112
113command[snmp_swap]=@libexecdir@/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$:
114
115#
116# Slightly more generic SNMP OIDs
117# note: using partial textual OIDs here - use numeric oids if you don't have MIBDIRS defined per Net-SNMP (net-snmp.org)
118
119command[snmp_procs]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrSystem.hrSystemProcesses -w :$ARG2$ -c :$ARG3$ -l processes
120
121command[snmp_users]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrSystem.hrSystemNumUsers -w :$ARG2$ -c :$ARG3$ -l users
122
123command[snmp_mem2]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.101,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.101 -w $ARG2$ -c $ARG3$
124
125command[snmp_swap2]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.102,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.102 -w $ARG2$ -c $ARG3$
126
127command[snmp_mem3]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.101,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.101 -w $ARG2$ -c $ARG3$
128
129command[snmp_swap3]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.102,host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.102 -w $ARG2$ -c $ARG3$
130
131command[snmp_disk2]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$ARG2$ -w $ARG3$ -c $ARG4$
132
133command[snmp_tcpopen]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o tcp.tcpCurrEstab.0 -w $ARG2$ -c $ARG3$
134
135command[snmp_tcpstats]=@libexecdir@/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'
136
137
138# Some snmp based network device checks (requires Net::SNMP perl module)
139
140# check all admin-up interfaces
141command[check_ifstatus]=@libexecdir@/check_ifstatus -H $HOSTADDRESS$ -C public
142
143# check particular interface by snmp ifIndex key
144command[check_ifoperstatus_ifindex]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$
145
146# check particular interface by snmp ifDescr value (verify uniqueness before using)
147command[check_ifoperstatus_ifdescr]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$
148
149# verify all you BGP session on a device are running (only returns warning due to some hardcoded option - to be fixed soon)
150command[check_snmp_bgpstate]=@libexecdir@/check_bgpstate -H $HOSTADDRESS$ -C public
151
152#
153# SNMP NetApp checks (Jason Truong)
154#
155#
156#command[check_netapp_uptime]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
157#
158#command[check_netapp_cpuload]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
159#
160#command[check_netapp_numdisks]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C public -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 ""
161#
162
163#
164# SNMP Compaq Insight Agent (oids courtesy of vol)
165#
166# the following 4 return the following codes: other=1, ok=2, degraded=3, failed=4
167#
168#command[check_compaq_thermalCondition]=@libexec@/check_snmp -H $HOSTADDRESS$ -C public -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 "
169#
170#
171
172
173
174# This command checks to see if a host is "alive" by pinging it. The
175# check must result in a 100% packet loss or 5 second (5000ms) round
176# trip average to produce an error.
177
178# This command checks to see if a host is "alive" by pinging it.
179command[check-host-alive]=@libexecdir@/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
180
181# This command checks to see if a printer is "alive" by pinging it.
182command[check-printer-alive]=@libexecdir@/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
183
184# This command checks to see if a switch is "alive" by pinging it.
185command[check-switch-alive]=@libexecdir@/check_ping $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
186
187# This command checks to see if a router is "alive" by pinging it.
188command[check-router-alive]=@libexecdir@/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1
189
190# Check if a host is alive by doing a fast ping instead of a regular ping
191command[check-fast-alive]=@libexecdir@/check_fping -H $HOSTADDRESS$
192
193# Check if the IMAP service is alive (default port=143)
194command[check-imap]=@libexecdir@/check_imap -H $HOSTADDRESS$
195
196# Check RPC services
197command[check-rpc]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C $ARG1$
198
199# Check if the NFS server is running (version 2 and version 3)
200command[check-nfs]=@libexecdir@/check_rpc -H $HOSTADDRESS$ -C nfs -c2,3
201
202# Check game servers
203command[check_quake]=@libexecdir@/check_game qs $HOSTADDRESS$
204command[check_unreal]=@libexecdir@/check_game uns $HOSTADDRESS$ -p $ARG1$ -pf 8
205
206# Check a port that should be open
207command[check_nmap]=@libexecdir@/check_nmap -H $HOSTADDRESS$ -t 30 -p $ARG1$
208
209# Check a port that should be open and another that *could* be open,
210# but no warning is given if optional port is closed.
211
212command[check_nmap_optional]=@libexecdir@/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -o $ARG2$
213
214# Specify range to nmap
215command[check_nmap_range]=@libexecdir@/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -r $ARG2$
216
217# Specify both optional and range
218command[check_nmap_opt_range]=@libexecdir@/check_nmap -H $HOSTADDRESS$ -t 60 -p $ARG1$ -o $ARG2$ -r$ARG3$
219
220# Check Radius
221command[check_radius]=@libexecdir@/check_radius $ARG1$ $ARG2$ $HOSTADDRESS$ 1812 $ARG3$
222
223
224# Check HTTP proxy
225# This is a command for checking squid or other proxy servers which uses check
226# http to ensure an HTTP 200 comes back ..... i.e. squid actually
227# serves the page and not an error message.
228# Using check_http will allow verification of authenticated proxies
229#
230# Note:: This used to call "check_reply" which was pretty close to check_tcp
231# The functionality of check_reply has been merged into check_tcp
232
233command[check_squid]=@libexecdir@/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK'
234
235
236## Check RealAudio url
237command[check_real_url]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5 -u $ARG4$
238
239## Check RealAudio server response
240command[check_real]=@libexecdir@/check_real $HOSTADDRESS$ -p $ARG1$ -wt $ARG2$ -ct $ARG3$ -to 5
241
242# NetWare checks via check_nwstat ( see "check_nwstat -h" for more options)
243# how many current logins
244command[check_netware_logins]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOGINS" -w $ARG1$ -c $ARG2$
245# how many current connections
246command[check_nwstat_conns]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v CONNS -w $ARG1$ -c $ARG2$
247# 1 minute avg cpu load
248command[check_netware_1load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD1" -w 70 -c 90
249# 5 minute avg cpu load
250command[check_netware_5load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD5" -w 70 -c 90
251# 15 minute avg cpu load
252command[check_netware_15load]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "LOAD15" -w 70 -c 90
253# Disk volume (% free)
254command[check_nwstat_vol_p]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2$ -c $ARG3$
255# Disk volume (KB free)
256command[check_nwstat_vol_k]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v VKF$ARG1$ -w $ARG2$ -c $ARG3$
257# % Long term cache hits
258command[check_nwstat_ltch]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v LTCH -w $ARG1$ -c $ARG2$
259# % (of max) used packet receive buffers
260command[check_nwstat_puprb]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v PUPRB -w $ARG1$ -c $ARG2$
261# Check to see if the DS database is open
262command[check_nwstat_dsdb]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v DSDB
263
264
265
266# Netware 5 abends
267command[check_netware_abend]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v "ABENDS" -w 10 -c 30
268# Netware 5 number of current service procs
269command[check_nwstat_csprocs]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v CSPROCS -w $ARG1$ -c $ARG2$
270
271
272# Still have to write sample entries for the following:
273#
274# check_ldap
275# check_overcr
diff --git a/configure.in b/configure.in
index 63ee56c..f48c672 100644
--- a/configure.in
+++ b/configure.in
@@ -1589,7 +1589,6 @@ AC_OUTPUT(
1589 plugins-scripts/utils.pm 1589 plugins-scripts/utils.pm
1590 plugins-scripts/utils.sh 1590 plugins-scripts/utils.sh
1591 perlmods/Makefile 1591 perlmods/Makefile
1592 command.cfg
1593 test.pl 1592 test.pl
1594 pkg/solaris/pkginfo 1593 pkg/solaris/pkginfo
1595 po/Makefile.in 1594 po/Makefile.in
diff --git a/nagios-plugins.spec.in b/nagios-plugins.spec.in
index 523d7c3..149693a 100644
--- a/nagios-plugins.spec.in
+++ b/nagios-plugins.spec.in
@@ -51,7 +51,6 @@ make %{?_smp_mflags}
51rm -rf $RPM_BUILD_ROOT 51rm -rf $RPM_BUILD_ROOT
52make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install 52make AM_INSTALL_PROGRAM_FLAGS="" DESTDIR=${RPM_BUILD_ROOT} install
53install -d ${RPM_BUILD_ROOT}/etc/nagios 53install -d ${RPM_BUILD_ROOT}/etc/nagios
54install -m 664 command.cfg ${RPM_BUILD_ROOT}/etc/nagios
55%find_lang %{name} 54%find_lang %{name}
56 55
57 56
@@ -61,9 +60,8 @@ rm -rf $RPM_BUILD_ROOT
61 60
62%files -f %{name}.lang 61%files -f %{name}.lang
63%defattr(-,root,root) 62%defattr(-,root,root)
64%config(missingok,noreplace) /etc/nagios/command.cfg
65%doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS 63%doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS
66%doc ChangeLog command.cfg 64%doc ChangeLog
67%defattr(775,root,root) 65%defattr(775,root,root)
68%dir %{_exec_prefix}/lib/nagios/plugins 66%dir %{_exec_prefix}/lib/nagios/plugins
69%{_datadir}/locale/de/LC_MESSAGES/nagios-plugins.mo 67%{_datadir}/locale/de/LC_MESSAGES/nagios-plugins.mo