Commit Graph

41 Commits

Author SHA256 Message Date
Dominique Leuenberger
d1c3053021 Accepting request 1194088 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1194088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=14
2024-08-16 10:23:41 +00:00
Lars Vogdt
417003304a - check_iostat: report as critical and as "stuck" if read and
write are at 0 and util is at 100 percent

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=40
2024-08-15 09:46:23 +00:00
Ana Guerrero
0956590c02 Accepting request 1149735 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1149735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=13
2024-02-23 15:46:14 +00:00
Michael Vetter
7ce96685f5 Accepting request 1149727 from home:pgajdos:m
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1149727
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=38
2024-02-23 08:57:05 +00:00
Dominique Leuenberger
46fd9253c8 Accepting request 889342 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/889342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=12
2021-04-29 20:46:57 +00:00
Lars Vogdt
957a8b0672 - reload the apparmor profile in postun to make the changes effective
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=36
2021-04-22 14:26:21 +00:00
Lars Vogdt
257ff21d36 - include abstractions/bash in apparmor profile - otherwise
the 'which iostat' command fails

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=35
2021-04-22 12:30:34 +00:00
Dominique Leuenberger
289fd4a33d Accepting request 824333 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/824333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=11
2020-08-04 18:25:35 +00:00
Ruediger Oertel
7ed92bc2ee - update apparmor profile again to allow reading
/sys/devices/**/stat

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=33
2020-07-28 12:07:55 +00:00
Dominique Leuenberger
97e8d7b643 Accepting request 820972 from server:monitoring
-  update AppArmor profiles to include a comment why the check
   needs to read nsswitch.conf and passwd

OBS-URL: https://build.opensuse.org/request/show/820972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=10
2020-07-16 10:16:47 +00:00
8d326ca04b OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=31 2020-07-14 19:50:08 +00:00
2c395551ed OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=30 2020-07-14 19:48:04 +00:00
Lars Vogdt
0ef023c731 include a comment why the check needs to read nsswitch.conf and passwd
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=29
2020-07-07 15:29:46 +00:00
Dominique Leuenberger
d026fc27c5 Accepting request 810954 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/810954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=9
2020-06-03 18:34:46 +00:00
Lars Vogdt
9ec369151a Accepting request 810470 from home:cboltz:branches:server:monitoring
- update AppArmor profile to allow reading /etc/nsswitch.conf and /etc/passwd

OBS-URL: https://build.opensuse.org/request/show/810470
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=27
2020-06-02 20:36:05 +00:00
Dominique Leuenberger
c01d7b5735 Accepting request 786621 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/786621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=8
2020-03-20 22:58:33 +00:00
Ruediger Oertel
886371e9ba - update apparmor profile usr.lib.nagios.plugins.check_iostat
to allow reading / and /proc/$pid/mountinfo

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=25
2020-03-12 23:44:13 +00:00
Ruediger Oertel
1f718b7799 fix last change
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=24
2020-03-10 13:42:07 +00:00
Dominique Leuenberger
b0cc8afdae Accepting request 782144 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/782144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=7
2020-03-06 20:29:11 +00:00
Ruediger Oertel
2be02b9d41 - check_iostat: add reasons why state is warning or critical
to the output

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=22
2020-02-28 14:41:50 +00:00
Dominique Leuenberger
6f96279e62 Accepting request 757911 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/757911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=6
2019-12-21 11:29:55 +00:00
Ruediger Oertel
2f4e862ed2 - check_iostat: sanitize dev name to properly match iostat output
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=20
2019-12-11 17:11:36 +00:00
Ruediger Oertel
0cb710c31c - check_iostat: exit with OK if running on tmpfs
- check_iostat: fix apparmor profile to allow stat call

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=19
2019-12-05 15:35:07 +00:00
Ruediger Oertel
bb1beac553 - check_iostat: allow to just specify a directory
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=18
2019-12-05 13:41:57 +00:00
Dominique Leuenberger
e8d5ef7570 Accepting request 694435 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/694435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=5
2019-04-17 08:07:53 +00:00
Lars Vogdt
5bd64f92b0 Accepting request 694066 from home:cboltz:branches:server:monitoring
- update AppArmor profile for usrMerge (bash) (boo#1132350)

OBS-URL: https://build.opensuse.org/request/show/694066
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=16
2019-04-15 13:53:55 +00:00
Dominique Leuenberger
07460d5b67 Accepting request 621119 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/621119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=4
2018-07-06 08:48:36 +00:00
Ruediger Oertel
d7a583cfc0 - check_iostat: fix to work with iostat on sle15
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=14
2018-04-10 09:09:24 +00:00
Dominique Leuenberger
bf50496515 Accepting request 544408 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/544408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=3
2017-11-23 08:44:11 +00:00
Ruediger Oertel
315c48ab46 - check_iostat: get field numbers from iostat dynamically
by parsing header line (r/s and w/s fields move between versions)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=12
2017-11-15 11:53:02 +00:00
Ruediger Oertel
77bb1e171a - check_iostat: pass warning and critical level to perfdata
- use iostat fields r/s and w/s for tps calculation

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=11
2017-11-14 16:28:21 +00:00
Ruediger Oertel
6e8dcaed67 check_iostat pass warn and crit levels to performance data
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=10
2017-11-14 16:13:21 +00:00
Dominique Leuenberger
83ca7b9211 Accepting request 492303 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/492303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=2
2017-05-02 06:54:58 +00:00
Ruediger Oertel
e45c8ecb6f ...
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=8
2017-04-24 10:57:53 +00:00
Ruediger Oertel
f96c0e60ff - use -x for iostat and add utilization monitoring
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=7
2017-04-24 10:33:47 +00:00
Dominique Leuenberger
a2bfa65904 Accepting request 341694 from server:monitoring
New package for openSUSE:Factory: check the IO of your systems

OBS-URL: https://build.opensuse.org/request/show/341694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-sar-perf?expand=0&rev=1
2016-02-11 11:37:05 +00:00
Lars Vogdt
ca4f72b406 - switch to BSD-2-Clause as the script is more likely released
under this license

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=5
2015-10-30 15:02:49 +00:00
Lars Vogdt
06b322efa3 fix build on RHEL-7
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=4
2015-08-01 19:27:59 +00:00
Lars Vogdt
0aadf20c17 - add apparmor profile for check_iostat
- recommend apparmor-profiles (needed for apparmor profile, but as 
  the check itself runs without apparmor, we use a week dependency)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=3
2015-08-01 19:17:32 +00:00
Lars Vogdt
84ad4ad9cb - Renamed package to monitoring-plugins-sar-perf
- check_iostat: use 5 seconds instead of 2 to get more useful data 

- check_iostat: add warning and critical levels for iowait 

- check_iostat: actually check current io stats, not since boot 

- more additions to check_iostat: can use device-mapper name 

- rewrite check_iostat in perl, also output iowait value 

- add requires sysstat
- check_iostat: call iostat with "-k" to really display kb
  instead of blocks as unit

- added check_iostat

- also print the used arguments as output to STDOUT, so the user 
  knows what is mesured (monitoring-plugins-sar-perf-stdout.patch)

- added monitoring-plugins-sar-perf-output.patch :
  do not print DEV name for disk in performance output

- initial version (git commit  4878d0cc66e928bd1075) defined as 0.1

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=2
2014-07-30 21:35:13 +00:00
Lars Vogdt
af43822f8a osc copypac from project:server:monitoring package:nagios-plugins-sar-perf revision:10
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=1
2014-07-30 19:20:37 +00:00