1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-12-27 19:43:54 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Tomas Edwardsson
cbcaa14997 Add metrics without updates for known types
Closes #13
2014-06-21 16:51:15 +00:00
Pall Sigurdsson
25b04e822e check_package_updates - minor refactor
Few very minor readability tricks

* replacing the typical "if x not in list: list[x] = ..."  pattern with defaultdict
* replace string.split('\n') with splitlines()
2013-09-13 11:51:16 +00:00
Pall Sigurdsson
f3909a08f6 check_package_updates - fix inconsistent tab/space 2013-09-13 11:43:04 +00:00
Tomas Edwardsson
5af347c3df Fix failure on a fully patched system 2013-07-16 22:09:23 +00:00
Tomas Edwardsson
5a8cad9783 Known types always have a metric, even if 0 2013-07-16 19:43:00 +00:00
Tomas Edwardsson
7143d69552 Re-renamed to check_package_updates 2013-07-16 14:34:04 +00:00