]> git.uio.no Git - check_openmanage.git/blob - check_openmanage.spec
jau
[check_openmanage.git] / check_openmanage.spec
1 Summary:   Nagios plugin to check hardware health on Dell servers
2 Name:      check_openmanage
3 Version:   3.4.9
4 Release:   1%{?dist}
5 License:   GPL
6 Packager:  Trond Hasle Amundsen <t.h.amundsen@usit.uio.no>
7 Group:     Applications/System
8 BuildRoot: %{_tmppath}/%{name}-%{version}-root
9 URL:       http://folk.uio.no/trondham/software/%{name}.html
10 Source0:   http://folk.uio.no/trondham/software/files/%{name}-%{version}.tar.gz
11 Requires: perl
12
13 %description
14 check_openmanage is a plugin for Nagios which checks the hardware
15 health of Dell servers running OpenManage Server Administrator
16 (OMSA). The plugin can be used remotely with SNMP or locally with
17 NRPE, check_by_ssh or similar, whichever suits your needs and
18 particular taste. The plugin checks the health of the storage
19 subsystem, power supplies, memory modules, temperature probes etc.,
20 and gives an alert if any of the components are faulty or operate
21 outside normal parameters.
22
23 %prep
24 %setup -q
25
26 %build
27 gzip %{name}.3pm
28 mkdir -p %{buildroot}/%{_libdir}/nagios/plugins/contrib
29 mkdir -p %{buildroot}/%{_mandir}/man3
30
31 %install
32 install -d -m 0755 %{buildroot}/%{_libdir}/nagios/plugins/contrib
33 install -m 0755 %{name} %{buildroot}/%{_libdir}/nagios/plugins/contrib
34 install -m 0755 %{name}.3pm.gz %{buildroot}/%{_mandir}/man3
35 pushd %{buildroot}/%{_libdir}/nagios/plugins/contrib
36 ln -s %{name} %{name}_alertlog
37 ln -s %{name} %{name}_batteries
38 ln -s %{name} %{name}_cpu
39 ln -s %{name} %{name}_esmlog
40 ln -s %{name} %{name}_fans
41 ln -s %{name} %{name}_intrusion
42 ln -s %{name} %{name}_memory
43 ln -s %{name} %{name}_power
44 ln -s %{name} %{name}_pwrmonitor
45 ln -s %{name} %{name}_storage
46 ln -s %{name} %{name}_temperature
47 ln -s %{name} %{name}_esmhealth
48 popd
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(-, root, root, -)
55 %{_libdir}/nagios/plugins/contrib/%{name}*
56 %attr(0755, root, root) %{_mandir}/man3/%{name}.3pm.gz
57
58 %changelog
59 * Fri Aug  7 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.9-1
60 - Version 3.4.9
61
62 * Fri Jul 31 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.8-1
63 - Version 3.4.8
64
65 * Fri Jul 24 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.7-1
66 - Version 3.4.7
67
68 * Tue Jul  7 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.6-1
69 - Version 3.4.6
70
71 * Mon Jun 22 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.5-1
72 - Version 3.4.5
73
74 * Mon Jun 22 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.4-1
75 - Version 3.4.4
76
77 * Thu Jun 11 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.3-1
78 - Version 3.4.3
79
80 * Wed Jun  3 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.2-1
81 - Version 3.4.2
82
83 * Mon May 27 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.1-1
84 - Version 3.4.1
85
86 * Mon May 25 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.4.0-1
87 - Version 3.4.0
88
89 * Tue May  5 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.3.2-1
90 - Version 3.3.2
91
92 * Tue Apr 28 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.3.1-1
93 - Version 3.3.1
94
95 * Tue Apr  7 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.3.0-1
96 - Version 3.3.0
97
98 * Sun Mar 29 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.7-1
99 - Version 3.2.7
100
101 * Thu Mar  5 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.6-1
102 - Version 3.2.6
103
104 * Tue Feb 24 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.5-1
105 - Version 3.2.5
106 - take 64bit (other libdir) into consideration
107
108 * Tue Feb 17 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.4-1
109 - Version 3.2.4
110
111 * Mon Feb  9 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.3-1
112 - Version 3.2.3
113
114 * Tue Feb  3 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.2-1
115 - Version 3.2.2
116
117 * Tue Feb  3 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.1-1
118 - Version 3.2.1
119
120 * Tue Jan 27 2009 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.2.0-1
121 - Version 3.2.0
122
123 * Sat Dec 20 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.0.2-1
124 - Version 3.0.2
125
126 * Thu Dec  4 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 3.0.0-1
127 - Version 3.0.0
128
129 * Wed Nov 19 2008 Trond H. Amundsen <t.h.amundsen@usit.uio.no> - 2.1.0-0
130 - first RPM release