1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-03 03:24:15 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Jean Paul Galea
f566a75dcd Rewrite ykval-munin-ksmlatency plugin.
- same as 1e4da5dac6,
	but for ksm latency plugin.
2015-09-08 16:47:16 +02:00
Jean Paul Galea
b8e98e6049 Add shortname failure checks for munin plugins. 2015-09-08 14:47:34 +02:00
Jean Paul Galea
21b795b852 Rename function 2015-09-08 14:42:11 +02:00
Jean Paul Galea
d6d4e3e58a Use single quotes where possible. 2015-09-08 14:39:49 +02:00
Jean Paul Galea
adf9a7f833 Use echo in all munin php plugins. 2015-09-08 14:34:55 +02:00
Jean Paul Galea
ceedda9322 Modify ykval-munin-ksmlatency.
- same as f2604e751a,
	except this is for KSM URLs.
2015-09-08 14:28:32 +02:00
Jean Paul Galea
de5e76b5e4 Add FIXME marker. 2015-09-08 14:22:09 +02:00
Jean Paul Galea
7940d1e6e7 Rename variable.
- $ksms => $urls

- $ksm => $url

- mainly to be closer to vallatency plugin.
2015-09-08 12:46:24 +02:00
Jean Paul Galea
110afa8526 Rename variable. 2015-09-08 12:43:50 +02:00
Jean Paul Galea
4e49b4b7af Use bracket guards for substitution. 2015-09-08 12:41:18 +02:00
Jean Paul Galea
2272f33659 Refactor include paths.
- use PATH_SEPARATOR everywhere,
	instead of a mix of PATH_SEPARATOR and hard coded colons.

- always include /usr/share/yubikey-val first,
	then /etc/yubico/val.

- should not have any visible affects,
	since no file names are common between the two directories.

- use array+implode to make it easier to add/remove paths,
	and to avoid hardcoded the path separator.
2015-09-08 10:57:26 +02:00
Jean Paul Galea
69a3c4417c Refactor ykval-munin-ksmlatency plugin.
- depend on libcurl instead of curl binary.

- due to this commit,
	requests sent to KSM URLs will contain a User-Agent header.
2015-09-08 09:19:39 +02:00
Jean Paul Galea
ed6fb6cbb3 Cosmetic changes.
- refactor whitespace for munin plugins written in php.

- change spaces into tabs and fix brackets mostly.
2015-09-07 16:20:58 +02:00
Jean Paul Galea
b417759932 Update copyright year. 2015-07-20 20:01:16 +00:00
Jean Paul Galea
e76c5002f2 Drop php closing tags. 2015-07-15 15:14:25 +02:00
Dain Nilsson
ee1f040b00 Updated copyright headers. 2013-02-04 17:39:36 +01:00
Dain Nilsson
976146a646 Use yubikey-val instead of ykval in paths, configuration in /etc/yubico/val 2013-01-28 13:12:46 +01:00
Klas Lindfors
ee36db3be1 newer munin uses variables in the plugin instead of the filename to determine graph name, make them consistent. 2012-08-21 08:23:43 +02:00
Fredrik Thulin
2c9b57a0a0 Detect timeouts and errors in curl (such as resolver failures). 2012-05-22 12:15:31 +02:00
Simon Josefsson
7c94240386 Chmod. 2012-05-21 08:49:27 +02:00
Simon Josefsson
e9d86a6125 Simplify more. 2010-11-15 10:49:10 +00:00
Simon Josefsson
26e4c45800 Simplify. 2010-11-15 10:48:52 +00:00
Simon Josefsson
8b51b69600 Reduce max-time. 2010-06-22 20:18:38 +00:00
Simon Josefsson
6f381febb4 Fix auto markers. 2010-06-22 16:11:57 +00:00
Simon Josefsson
0d9a014add Add auto markers. 2010-06-22 16:10:30 +00:00
Simon Josefsson
9846078544 Fix typo. 2010-06-22 16:01:39 +00:00
Simon Josefsson
5df3b578dd Support autoconf. 2010-06-22 15:59:25 +00:00
Simon Josefsson
132479d5f0 Add munin checker. 2010-06-22 15:55:52 +00:00