James Campbell
0d2e78fa7c
Add agent and cluster LLD macros to item keys
...
* In order to suport calculated items and to select the right agent, add
the {#agent} and {#cluster} discovery macros to item keys.
* Add more tags to items
2024-07-17 12:33:07 -04:00
James Campbell
695ad60b43
Fix verbose flag, and some queries
...
* Make the verbose flag do something (sets stderr logging to DEBUG)
* Coalesce potentially NULL values to 0 in db stats
* Cast the stats reset time difference to float since the python json
library can't serialize a Decimal type.
2024-07-17 12:26:03 -04:00
James Campbell
8edda91f2a
Fix positional parameters
2024-06-29 17:24:49 -04:00
James Campbell
000875f5aa
Pass agent and cluster names to discovery
2024-06-29 12:59:45 -04:00
7bad418850
Fix logging
2024-06-07 03:11:07 -04:00
4afa78713f
Fix template and typo
2024-06-07 02:39:44 -04:00
c1747d58dc
Debug agent
2024-06-07 02:10:38 -04:00
7a4e62a94e
Fix args
2024-06-06 22:44:34 -04:00
20c897d37a
Fix Gentoo init script
2024-06-06 00:51:04 -04:00
9b527e172d
Make writing the pid file optional
2024-06-06 00:44:05 -04:00
f528d92030
Modify userparam file for Gentoo
2024-06-06 00:27:43 -04:00
467e97f4e7
Add more commandline arguments, update Gentoo files
2024-06-06 00:23:46 -04:00
b0a5abc05d
Fix typo in ebuild
2024-06-03 01:16:54 -04:00
7ceceafb62
Add gitignore file
2024-06-03 01:11:06 -04:00
972916463b
Improve Gentoo ebuild
2024-06-03 01:10:45 -04:00
320c6ecc73
Add initial Gentooo packaging
2024-06-02 12:20:01 -04:00
7d7cbf4221
Add autotools files and init scripts
2024-06-01 23:46:30 -04:00
f50e01ce6e
Update userparameter to select a config
2024-05-28 01:37:42 -04:00
9779faa7ff
Add initial Zabbix template
2024-05-28 01:34:51 -04:00
e4b6e981a5
Add multi-db support and lots of comments
2024-05-23 00:35:44 -04:00
7c3fe0ba40
Add more retrics
2024-05-18 23:04:22 -04:00
1e72d34f5f
Add reload capability
2024-05-18 14:09:43 -04:00
f4033a9639
Don't overwrite existing configs
2024-05-17 01:01:52 -04:00
7665ce08d6
Pass args from Zabbix explicitly
...
* Using $0 psases the entire command, so just pass all 9 possible
positioinal values.
* Allow empty arguments.
* Update sample config:
** Use a socket by default.
** Return a set with database discovery to be able to assign a macro.
2024-05-17 00:58:37 -04:00
318cdd5633
Simplify agent args and correct parsing
2024-05-17 00:19:55 -04:00
02e50d6167
Fix client args
2024-05-16 23:12:37 -04:00
88eda107a0
Add simple Makefile
2024-05-16 15:20:23 -04:00
3a937ca3bd
Move all includes back to global, modify agent arguments
2024-05-16 15:09:09 -04:00
3abbc1d83b
Initial implementation
2024-05-16 11:57:31 -04:00