Commit Graph

14 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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