Commit Graph

22 Commits

Author SHA1 Message Date
b1c20da7a1 Use try/except for numeric state conversion instead of str.isnumeric() 2023-01-03 12:16:42 -05:00
3e9d362805 Bump version to 0.2.0 2022-12-30 23:49:05 -05:00
256529373d Add support for text/regex based attributes 2022-12-30 23:49:05 -05:00
a1b8025c7e Add version argument 2022-12-26 19:05:01 -05:00
b2524c8799 Make count and append_const actions use set_if in icinga conf 2022-12-26 17:45:38 -05:00
a459b3cdbe Allow verbose, don't allow version in icinga2 conf 2022-11-30 15:33:21 -05:00
ca5c29b57c Remove reference to battery percentage in help text 2022-11-30 13:07:19 -05:00
5bbb06cdba Fix disallowed characters for performance data 2022-11-29 19:07:15 -05:00
3cba565be7 Add a docstring for the script 2022-11-29 18:26:02 -05:00
645bc06a8e Make help a bit clearer 2022-11-29 18:00:21 -05:00
035d20cfc3 Add link to Home Assistant REST API docs in token help text 2022-11-29 17:57:05 -05:00
4dd2a0c5b5 Make help strings lowercase, for consistency 2022-11-29 17:55:59 -05:00
f886e9afeb Automatically generate Icinga2 CheckCommand conf 2022-11-29 17:55:26 -05:00
1b8653a6d1 Add cli arg to use friendly name, when available 2022-11-29 17:14:26 -05:00
b3fd15789a Add cli arg to return the value of an attribute instead of the state 2022-11-26 19:56:46 -05:00
8d88430577 Add cli arg for filtering by arbitrary attributes 2022-11-26 19:56:44 -05:00
efd40f2a51 Add cli arg for specifying device class to filter by 2022-11-26 19:49:16 -05:00
5eb9c52207 Add cli args for specifying performance data min/max 2022-11-26 19:49:16 -05:00
1c183fb6b4 Group arg definitions more cleanly 2022-11-26 19:36:49 -05:00
174ada7375 Require warning/critical args 2022-11-26 19:36:49 -05:00
f037ed5c24 Convert Resource class to dataclass 2022-11-26 19:36:49 -05:00
b9163ccfe6 Rename to avoid similarity to an existing project 2022-09-29 22:54:45 -04:00